@Environment(value=CLIENT) public class ChickenEntityRenderer extends MobEntityRenderer<ChickenEntity,ChickenEntityModel<ChickenEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
ChickenEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
protected float |
getAnimationProgress(ChickenEntity chickenEntity,
float float2)
This value is passed to other methods when calculating angles for animation.
|
Identifier |
getTexture(ChickenEntity chickenEntity) |
hasLabel, method_23186, method_23187, render, shouldRender
addFeature, getAnimationCounter, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, setupTransforms
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
public ChickenEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(ChickenEntity chickenEntity)
getTexture
in interface FeatureRendererContext<ChickenEntity,ChickenEntityModel<ChickenEntity>>
getTexture
in class EntityRenderer<ChickenEntity>
protected float getAnimationProgress(ChickenEntity chickenEntity, float float2)
LivingEntityRenderer
getAnimationProgress
in class LivingEntityRenderer<ChickenEntity,ChickenEntityModel<ChickenEntity>>