Package com.ldtteam.structurize.client
Class ChunkOffsetBufferBuilderWrapper
java.lang.Object
com.ldtteam.structurize.client.ChunkOffsetBufferBuilderWrapper
- All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer,net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
public class ChunkOffsetBufferBuilderWrapper
extends Object
implements com.mojang.blaze3d.vertex.VertexConsumer
Delegating offseted bufferBuilder, delegated method @Overriden in BufferBuilder class to provide fast delegation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.blaze3d.vertex.VertexConsumeraddVertex(float x, float y, float z) voidaddVertex(float x, float y, float z, int p_350371_, float p_350977_, float p_350674_, int p_350816_, int p_350690_, float p_350640_, float p_350490_, float p_350810_) com.mojang.blaze3d.vertex.VertexConsumersetColor(int p_350530_) com.mojang.blaze3d.vertex.VertexConsumersetColor(int p_350581_, int p_350952_, int p_350275_, int p_350985_) com.mojang.blaze3d.vertex.VertexConsumersetLight(int p_350848_) com.mojang.blaze3d.vertex.VertexConsumersetNormal(float p_351000_, float p_350982_, float p_350974_) voidsetOffset(com.mojang.blaze3d.vertex.BufferBuilder delegate, int offsetX, int offsetY, int offsetZ) com.mojang.blaze3d.vertex.VertexConsumersetOverlay(int p_350297_) com.mojang.blaze3d.vertex.VertexConsumersetUv(float p_350574_, float p_350773_) com.mojang.blaze3d.vertex.VertexConsumersetUv1(int p_350396_, int p_350722_) com.mojang.blaze3d.vertex.VertexConsumersetUv2(int p_351058_, int p_350320_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
applyBakedLighting, applyBakedNormals, misc, putBulkDataMethods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
addVertex, addVertex, addVertex, addVertex, putBulkData, putBulkData, setColor, setNormal, setWhiteAlpha
-
Constructor Details
-
ChunkOffsetBufferBuilderWrapper
public ChunkOffsetBufferBuilderWrapper()
-
-
Method Details
-
setOffset
public void setOffset(com.mojang.blaze3d.vertex.BufferBuilder delegate, int offsetX, int offsetY, int offsetZ) -
addVertex
public com.mojang.blaze3d.vertex.VertexConsumer addVertex(float x, float y, float z) - Specified by:
addVertexin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setColor
public com.mojang.blaze3d.vertex.VertexConsumer setColor(int p_350581_, int p_350952_, int p_350275_, int p_350985_) - Specified by:
setColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setNormal
public com.mojang.blaze3d.vertex.VertexConsumer setNormal(float p_351000_, float p_350982_, float p_350974_) - Specified by:
setNormalin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv
public com.mojang.blaze3d.vertex.VertexConsumer setUv(float p_350574_, float p_350773_) - Specified by:
setUvin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv1
public com.mojang.blaze3d.vertex.VertexConsumer setUv1(int p_350396_, int p_350722_) - Specified by:
setUv1in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setUv2
public com.mojang.blaze3d.vertex.VertexConsumer setUv2(int p_351058_, int p_350320_) - Specified by:
setUv2in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setColor
public com.mojang.blaze3d.vertex.VertexConsumer setColor(int p_350530_) - Specified by:
setColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setOverlay
public com.mojang.blaze3d.vertex.VertexConsumer setOverlay(int p_350297_) - Specified by:
setOverlayin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
setLight
public com.mojang.blaze3d.vertex.VertexConsumer setLight(int p_350848_) - Specified by:
setLightin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
addVertex
public void addVertex(float x, float y, float z, int p_350371_, float p_350977_, float p_350674_, int p_350816_, int p_350690_, float p_350640_, float p_350490_, float p_350810_) - Specified by:
addVertexin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-