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