@Environment(value=CLIENT) public class VillagerEntityRenderer extends MobEntityRenderer<VillagerEntity,VillagerResemblingModel<VillagerEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
VillagerEntityRenderer(EntityRenderDispatcher dispatcher,
ReloadableResourceManager reloadableResourceManager) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(VillagerEntity villagerEntity) |
protected void |
scale(VillagerEntity villagerEntity,
MatrixStack matrixStack,
float float2) |
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 Identifier TEXTURE
public VillagerEntityRenderer(EntityRenderDispatcher dispatcher, ReloadableResourceManager reloadableResourceManager)
public Identifier getTexture(VillagerEntity villagerEntity)
getTexture
in interface FeatureRendererContext<VillagerEntity,VillagerResemblingModel<VillagerEntity>>
getTexture
in class EntityRenderer<VillagerEntity>
protected void scale(VillagerEntity villagerEntity, MatrixStack matrixStack, float float2)
scale
in class LivingEntityRenderer<VillagerEntity,VillagerResemblingModel<VillagerEntity>>