public class RenderVillager extends RenderLiving<EntityVillager>
| Modifier and Type | Field and Description |
|---|---|
private static ResourceLocation |
BUTCHER_VILLAGER_TEXTURES |
private static ResourceLocation |
FARMER_VILLAGER_TEXTURES |
private static ResourceLocation |
LIBRARIAN_VILLAGER_TEXTURES |
private static ResourceLocation |
PRIEST_VILLAGER_TEXTURES |
private static ResourceLocation |
SMITH_VILLAGER_TEXTURES |
private static ResourceLocation |
VILLAGER_TEXTURES |
brightnessBuffer, layerRenderers, mainModel, NAME_TAG_RANGE, NAME_TAG_RANGE_SNEAK, renderMarkerrenderManager, renderOutlines, shadowOpaque, shadowSize| Constructor and Description |
|---|
RenderVillager(RenderManager renderManagerIn) |
| Modifier and Type | Method and Description |
|---|---|
protected ResourceLocation |
getEntityTexture(EntityVillager entity) |
ModelVillager |
getMainModel() |
protected void |
preRenderCallback(EntityVillager entitylivingbaseIn,
float partialTickTime) |
canRenderName, doRender, renderLeash, setLightmap, shouldRenderaddLayer, applyRotations, getColorMultiplier, getDeathMaxRotation, getSwingProgress, handleRotationFloat, interpolateRotation, isVisible, prepareScale, renderLayers, renderLivingAt, renderModel, renderName, setBrightness, setDoRenderBrightness, setScoreTeamColor, transformHeldFull3DItemLayer, unsetBrightness, unsetScoreTeamColorbindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, getTeamColor, isMultipass, renderEntityName, renderLivingLabel, renderMultipass, renderOffsetAABB, setRenderOutlinesprivate static final ResourceLocation VILLAGER_TEXTURES
private static final ResourceLocation FARMER_VILLAGER_TEXTURES
private static final ResourceLocation LIBRARIAN_VILLAGER_TEXTURES
private static final ResourceLocation PRIEST_VILLAGER_TEXTURES
private static final ResourceLocation SMITH_VILLAGER_TEXTURES
private static final ResourceLocation BUTCHER_VILLAGER_TEXTURES
public RenderVillager(RenderManager renderManagerIn)
public ModelVillager getMainModel()
getMainModel in class RenderLivingBase<EntityVillager>protected ResourceLocation getEntityTexture(EntityVillager entity)
getEntityTexture in class Render<EntityVillager>protected void preRenderCallback(EntityVillager entitylivingbaseIn, float partialTickTime)
preRenderCallback in class RenderLivingBase<EntityVillager>