@Environment(value=CLIENT) public class MooshroomEntityRenderer extends MobEntityRenderer<MooshroomEntity,CowEntityModel<MooshroomEntity>>
Modifier and Type | Field and Description |
---|---|
private static Map<MooshroomEntity.Type,Identifier> |
TEXTURES |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
MooshroomEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(MooshroomEntity mooshroomEntity) |
hasLabel, method_23186, method_23187, render, shouldRender
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, setupTransforms
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Map<MooshroomEntity.Type,Identifier> TEXTURES
public MooshroomEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(MooshroomEntity mooshroomEntity)
getTexture
in interface FeatureRendererContext<MooshroomEntity,CowEntityModel<MooshroomEntity>>
getTexture
in class EntityRenderer<MooshroomEntity>