@Environment(value=CLIENT) public class RabbitEntityRenderer extends MobEntityRenderer<RabbitEntity,RabbitEntityModel<RabbitEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
BLACK_TEXTURE |
private static Identifier |
BROWN_TEXTURE |
private static Identifier |
CAERBANNOG_TEXTURE |
private static Identifier |
GOLD_TEXTURE |
private static Identifier |
SALT_TEXTURE |
private static Identifier |
TOAST_TEXTURE |
private static Identifier |
WHITE_SPOTTED_TEXTURE |
private static Identifier |
WHITE_TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
RabbitEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(RabbitEntity rabbitEntity) |
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 BROWN_TEXTURE
private static final Identifier WHITE_TEXTURE
private static final Identifier BLACK_TEXTURE
private static final Identifier GOLD_TEXTURE
private static final Identifier SALT_TEXTURE
private static final Identifier WHITE_SPOTTED_TEXTURE
private static final Identifier TOAST_TEXTURE
private static final Identifier CAERBANNOG_TEXTURE
public RabbitEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(RabbitEntity rabbitEntity)
getTexture
in interface FeatureRendererContext<RabbitEntity,RabbitEntityModel<RabbitEntity>>
getTexture
in class EntityRenderer<RabbitEntity>