@Environment(value=CLIENT) public class TurtleEntityRenderer extends MobEntityRenderer<TurtleEntity,TurtleEntityModel<TurtleEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
TurtleEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(TurtleEntity turtleEntity) |
void |
render(TurtleEntity turtleEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
hasLabel, method_23186, method_23187, shouldRender
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, setupTransforms
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
public TurtleEntityRenderer(EntityRenderDispatcher dispatcher)
public void render(TurtleEntity turtleEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class MobEntityRenderer<TurtleEntity,TurtleEntityModel<TurtleEntity>>
public Identifier getTexture(TurtleEntity turtleEntity)
getTexture
in interface FeatureRendererContext<TurtleEntity,TurtleEntityModel<TurtleEntity>>
getTexture
in class EntityRenderer<TurtleEntity>