@Environment(value=CLIENT) public class FoxEntityRenderer extends MobEntityRenderer<FoxEntity,FoxEntityModel<FoxEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
SLEEPING_SNOW_TEXTURE |
private static Identifier |
SLEEPING_TEXTURE |
private static Identifier |
SNOW_TEXTURE |
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
FoxEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(FoxEntity foxEntity) |
protected void |
setupTransforms(FoxEntity foxEntity,
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, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
private static final Identifier SLEEPING_TEXTURE
private static final Identifier SNOW_TEXTURE
private static final Identifier SLEEPING_SNOW_TEXTURE
public FoxEntityRenderer(EntityRenderDispatcher dispatcher)
protected void setupTransforms(FoxEntity foxEntity, MatrixStack matrixStack, float float2, float float3, float float4)
setupTransforms
in class LivingEntityRenderer<FoxEntity,FoxEntityModel<FoxEntity>>
public Identifier getTexture(FoxEntity foxEntity)
getTexture
in interface FeatureRendererContext<FoxEntity,FoxEntityModel<FoxEntity>>
getTexture
in class EntityRenderer<FoxEntity>