@Environment(value=CLIENT) public class PigEntityRenderer extends MobEntityRenderer<PigEntity,PigEntityModel<PigEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
PigEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(PigEntity pigEntity) |
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 Identifier TEXTURE
public PigEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(PigEntity pigEntity)
getTexture
in interface FeatureRendererContext<PigEntity,PigEntityModel<PigEntity>>
getTexture
in class EntityRenderer<PigEntity>