@Environment(value=CLIENT) public class ZombieVillagerEntityRenderer extends BipedEntityRenderer<ZombieVillagerEntity,ZombieVillagerEntityModel<ZombieVillagerEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
ZombieVillagerEntityRenderer(EntityRenderDispatcher dispatcher,
ReloadableResourceManager reloadableResourceManager) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(ZombieVillagerEntity zombieVillagerEntity) |
protected boolean |
isShaking(ZombieVillagerEntity zombieVillagerEntity)
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, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
public ZombieVillagerEntityRenderer(EntityRenderDispatcher dispatcher, ReloadableResourceManager reloadableResourceManager)
public Identifier getTexture(ZombieVillagerEntity zombieVillagerEntity)
getTexture
in interface FeatureRendererContext<ZombieVillagerEntity,ZombieVillagerEntityModel<ZombieVillagerEntity>>
getTexture
in class BipedEntityRenderer<ZombieVillagerEntity,ZombieVillagerEntityModel<ZombieVillagerEntity>>
protected boolean isShaking(ZombieVillagerEntity zombieVillagerEntity)
LivingEntityRenderer
isShaking
in class LivingEntityRenderer<ZombieVillagerEntity,ZombieVillagerEntityModel<ZombieVillagerEntity>>