net.minecraft.client.particle

public class BillboardParticleCommand

implements Submittable

net.minecraft.client.renderer.state.level.QuadParticleRenderState
net.minecraft.class_11944
net.minecraft.client.particle.BillboardParticleCommand

Field summary

Modifier and TypeField
private static final int
INITIAL_PARTICLE_CAPACITY
field_62649
INITIAL_BUFFER_MAX_LENGTH
private static final int
FLOATS_PER_PARTICLE
field_62650
BUFFER_FLOAT_FIELDS
private static final int
INTS_PER_PARTICLE
field_62651
BUFFER_INT_FIELDS
private final Map<BillboardParticle$RenderType, BillboardParticleCommand$Vertices>
particles
field_62652
bufferByType
private int
particleCount
field_62946
particles

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
add(SingleQuadParticle$Layer layer, float x, float y, float z, float xRot, float yRot, float zRot, float wRot, float scale, float u0, float u1, float v0, float v1, int color, int lightCoords)
method_74323(class_3940$class_11941 arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, int arg13, int arg14)
render(BillboardParticle$RenderType renderType, float x, float y, float z, float rotationX, float rotationY, float rotationZ, float rotationW, float size, float minU, float maxU, float minV, float maxV, int color, int light)
public void
clear()
method_74316()
onFrameEnd()
public boolean
isEmpty()
method_1_1186()
isEmpty()
public void
buildLayer(SingleQuadParticle$Layer layer, VertexConsumer bufferBuilder)
method_1_5173(class_3940$class_11941 arg0, class_4588 arg1)
render(BillboardParticle$RenderType renderType, VertexConsumer vertexConsumer)
public Set<BillboardParticle$RenderType>
layers()
method_1_5174()
getRenderTypes()
protected void
renderRotatedQuad(VertexConsumer builder, float x, float y, float z, float xRot, float yRot, float zRot, float wRot, float scale, float u0, float u1, float v0, float v1, int color, int lightCoords)
method_74321(class_4588 arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, int arg13, int arg14)
drawFace(VertexConsumer vertexConsumer, float x, float y, float z, float rotationX, float rotationY, float rotationZ, float rotationW, float size, float minU, float maxU, float minV, float maxV, int color, int light)
private void
renderVertex(VertexConsumer builder, org.joml.Quaternionf rotation, float x, float y, float z, float nx, float ny, float scale, float u, float v, int color, int lightCoords)
method_74322(class_4588 arg0, org.joml.Quaternionf arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, int arg10, int arg11)
renderVertex(VertexConsumer vertexConsumer, org.joml.Quaternionf rotation, float x, float y, float z, float localX, float localY, float size, float maxU, float maxV, int color, int light)
public void
submit(SubmitNodeCollector submitNodeCollector, CameraRenderState camera)
method_1_299(class_11659 arg0, class_12075 arg1)
submit(OrderedRenderCommandQueue arg0, CameraRenderState arg1)
private void
lambda$buildLayer$0(VertexConsumer arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, int arg13, int arg14)
method_74753(class_4588 arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, int arg13, int arg14)
method_74753(VertexConsumer arg0, float x, float y, float z, float rotationX, float rotationY, float rotationZ, float rotationW, float size, float minU, float maxU, float minV, float maxV, int color, int light)
private static BillboardParticleCommand$Vertices
lambda$add$0(SingleQuadParticle$Layer arg0)
method_74754(class_3940$class_11941 arg0)
method_74754(BillboardParticle$RenderType layer)