@Environment(value=CLIENT) public class ParrotEntityRenderer extends MobEntityRenderer<ParrotEntity,ParrotEntityModel>
Modifier and Type | Field and Description |
---|---|
static Identifier[] |
TEXTURES |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
ParrotEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
float |
getAnimationProgress(ParrotEntity parrotEntity,
float float2)
This value is passed to other methods when calculating angles for animation.
|
Identifier |
getTexture(ParrotEntity parrotEntity) |
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
public static final Identifier[] TEXTURES
public ParrotEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(ParrotEntity parrotEntity)
getTexture
in interface FeatureRendererContext<ParrotEntity,ParrotEntityModel>
getTexture
in class EntityRenderer<ParrotEntity>
public float getAnimationProgress(ParrotEntity parrotEntity, float float2)
LivingEntityRenderer
getAnimationProgress
in class LivingEntityRenderer<ParrotEntity,ParrotEntityModel>