Package net.createmod.catnip.render
Class ShadedBlockSbbBuilder
java.lang.Object
net.createmod.catnip.render.ShadedBlockSbbBuilder
- All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer
@Deprecated(forRemoval=true)
public class ShadedBlockSbbBuilder
extends Object
implements com.mojang.blaze3d.vertex.VertexConsumer
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.mojang.blaze3d.vertex.BufferBuilderDeprecated, for removal: This API element is subject to removal in a future version.protected static final com.mojang.blaze3d.vertex.ByteBufferBuilderDeprecated, for removal: This API element is subject to removal in a future version.protected booleanDeprecated, for removal: This API element is subject to removal in a future version.protected booleanDeprecated, for removal: This API element is subject to removal in a future version.protected final it.unimi.dsi.fastutil.ints.IntListDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.blaze3d.vertex.VertexConsumeraddVertex(float x, float y, float z) Deprecated, for removal: This API element is subject to removal in a future version.voidbegin()Deprecated, for removal: This API element is subject to removal in a future version.static ShadedBlockSbbBuildercreate()Deprecated, for removal: This API element is subject to removal in a future version.static ShadedBlockSbbBuilderDeprecated, for removal: This API element is subject to removal in a future version.end()Deprecated, for removal: This API element is subject to removal in a future version.protected voidprepareForGeometry(net.minecraft.client.renderer.block.model.BakedQuad quad) Deprecated, for removal: This API element is subject to removal in a future version.voidputBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad quad, float[] brightnesses, float red, float green, float blue, float alpha, int[] lights, int overlay, boolean readExistingColor) Deprecated, for removal: This API element is subject to removal in a future version.voidputBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad quad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay) Deprecated, for removal: This API element is subject to removal in a future version.com.mojang.blaze3d.vertex.VertexConsumersetColor(int red, int green, int blue, int alpha) Deprecated, for removal: This API element is subject to removal in a future version.com.mojang.blaze3d.vertex.VertexConsumersetNormal(float x, float y, float z) Deprecated, for removal: This API element is subject to removal in a future version.com.mojang.blaze3d.vertex.VertexConsumersetUv(float u, float v) Deprecated, for removal: This API element is subject to removal in a future version.com.mojang.blaze3d.vertex.VertexConsumersetUv1(int u, int v) Deprecated, for removal: This API element is subject to removal in a future version.com.mojang.blaze3d.vertex.VertexConsumersetUv2(int u, int v) Deprecated, for removal: This API element is subject to removal in a future version.com.mojang.blaze3d.vertex.BufferBuilderunwrap(boolean shade) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
addVertex, addVertex, addVertex, addVertex, addVertex, setColor, setColor, setLight, setNormal, setOverlay, setWhiteAlpha
-
Field Details
-
BYTE_BUFFER_BUILDER
protected static final com.mojang.blaze3d.vertex.ByteBufferBuilder BYTE_BUFFER_BUILDERDeprecated, for removal: This API element is subject to removal in a future version. -
bufferBuilder
protected com.mojang.blaze3d.vertex.BufferBuilder bufferBuilderDeprecated, for removal: This API element is subject to removal in a future version. -
shadeSwapVertices
protected final it.unimi.dsi.fastutil.ints.IntList shadeSwapVerticesDeprecated, for removal: This API element is subject to removal in a future version. -
currentShade
protected boolean currentShadeDeprecated, for removal: This API element is subject to removal in a future version. -
invertFakeNormal
protected boolean invertFakeNormalDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
ShadedBlockSbbBuilder
public ShadedBlockSbbBuilder()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
create
Deprecated, for removal: This API element is subject to removal in a future version. -
createForPonder
Deprecated, for removal: This API element is subject to removal in a future version. -
begin
public void begin()Deprecated, for removal: This API element is subject to removal in a future version. -
end
Deprecated, for removal: This API element is subject to removal in a future version. -
unwrap
public com.mojang.blaze3d.vertex.BufferBuilder unwrap(boolean shade) Deprecated, for removal: This API element is subject to removal in a future version. -
prepareForGeometry
protected void prepareForGeometry(net.minecraft.client.renderer.block.model.BakedQuad quad) Deprecated, for removal: This API element is subject to removal in a future version. -
putBulkData
public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad quad, float red, float green, float blue, float alpha, int packedLight, int packedOverlay) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
putBulkDatain interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
putBulkData
public void putBulkData(com.mojang.blaze3d.vertex.PoseStack.Pose pose, net.minecraft.client.renderer.block.model.BakedQuad quad, float[] brightnesses, float red, float green, float blue, float alpha, int[] lights, int overlay, boolean readExistingColor) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
putBulkDatain interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
addVertex
public com.mojang.blaze3d.vertex.VertexConsumer addVertex(float x, float y, float z) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addVertexin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setColor
public com.mojang.blaze3d.vertex.VertexConsumer setColor(int red, int green, int blue, int alpha) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv
public com.mojang.blaze3d.vertex.VertexConsumer setUv(float u, float v) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setUvin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv1
public com.mojang.blaze3d.vertex.VertexConsumer setUv1(int u, int v) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setUv1in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv2
public com.mojang.blaze3d.vertex.VertexConsumer setUv2(int u, int v) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setUv2in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setNormal
public com.mojang.blaze3d.vertex.VertexConsumer setNormal(float x, float y, float z) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setNormalin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-