Class LeashFeatureRenderer
java.lang.Object
net.minecraft.client.renderer.feature.LeashFeatureRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddVertexPair(VertexConsumer builder, Matrix4f pose, float dx, float dy, float dz, float fudge, float dxOff, float dzOff, int k, boolean backwards, EntityRenderState.LeashState state) private static voidrenderLeash(Matrix4f pose, MultiBufferSource bufferSource, EntityRenderState.LeashState leashState) voidrenderSolid(SubmitNodeCollection nodeCollection, MultiBufferSource.BufferSource bufferSource)
-
Field Details
-
LEASH_RENDER_STEPS
private static final int LEASH_RENDER_STEPS- See Also:
-
LEASH_WIDTH
private static final float LEASH_WIDTH- See Also:
-
-
Constructor Details
-
LeashFeatureRenderer
public LeashFeatureRenderer()
-
-
Method Details
-
renderSolid
public void renderSolid(SubmitNodeCollection nodeCollection, MultiBufferSource.BufferSource bufferSource) -
renderLeash
private static void renderLeash(Matrix4f pose, MultiBufferSource bufferSource, EntityRenderState.LeashState leashState) -
addVertexPair
private static void addVertexPair(VertexConsumer builder, Matrix4f pose, float dx, float dy, float dz, float fudge, float dxOff, float dzOff, int k, boolean backwards, EntityRenderState.LeashState state)
-