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