public class RenderVillager extends RenderLiving<EntityVillager>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
butcherVillagerTextures |
private static ResourceLocation |
farmerVillagerTextures |
private static ResourceLocation |
librarianVillagerTextures |
private static ResourceLocation |
priestVillagerTextures |
private static ResourceLocation |
smithVillagerTextures |
private static ResourceLocation |
villagerTextures |
brightnessBuffer, layerRenderers, mainModel, renderOutlines
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderVillager(RenderManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
protected ResourceLocation |
getEntityTexture(EntityVillager entity)
Returns the location of an entity's texture.
|
ModelVillager |
getMainModel() |
protected void |
preRenderCallback(EntityVillager entitylivingbaseIn,
float partialTickTime)
Allows the render to do any OpenGL state modifications necessary before the model is rendered.
|
canRenderName, doRender, func_177105_a, renderLeash, shouldRender
addLayer, getColorMultiplier, getDeathMaxRotation, getSwingProgress, handleRotationFloat, interpolateRotation, removeLayer, renderLayers, renderLivingAt, renderModel, renderName, rotateCorpse, setBrightness, setDoRenderBrightness, setRenderOutlines, setScoreTeamColor, transformHeldFull3DItemLayer, unsetBrightness, unsetScoreTeamColor
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, renderLivingLabel, renderOffsetAABB, renderOffsetLivingLabel
private static final ResourceLocation villagerTextures
private static final ResourceLocation farmerVillagerTextures
private static final ResourceLocation librarianVillagerTextures
private static final ResourceLocation priestVillagerTextures
private static final ResourceLocation smithVillagerTextures
private static final ResourceLocation butcherVillagerTextures
public RenderVillager(RenderManager renderManagerIn)
public ModelVillager getMainModel()
getMainModel
in class RendererLivingEntity<EntityVillager>
protected ResourceLocation getEntityTexture(EntityVillager entity)
getEntityTexture
in class Render<EntityVillager>
protected void preRenderCallback(EntityVillager entitylivingbaseIn, float partialTickTime)
preRenderCallback
in class RendererLivingEntity<EntityVillager>