@Environment(value=CLIENT) public class HoglinEntityRenderer extends MobEntityRenderer<HoglinEntity,HoglinEntityModel<HoglinEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
HoglinEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(HoglinEntity hoglinEntity) |
protected boolean |
isShaking(HoglinEntity hoglinEntity)
Returns if this entity is shaking in the way a zombie villager,
zombie, husk, or piglin undergoing conversion shakes.
|
hasLabel, method_23186, method_23187, render, shouldRender
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isVisible, scale, setupTransforms
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, renderLabelIfPresent
private static final Identifier TEXTURE
public HoglinEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(HoglinEntity hoglinEntity)
getTexture
in interface FeatureRendererContext<HoglinEntity,HoglinEntityModel<HoglinEntity>>
getTexture
in class EntityRenderer<HoglinEntity>
protected boolean isShaking(HoglinEntity hoglinEntity)
LivingEntityRenderer
isShaking
in class LivingEntityRenderer<HoglinEntity,HoglinEntityModel<HoglinEntity>>