Class RenderVillager
- java.lang.Object
-
- net.minecraft.client.renderer.entity.Render<T>
-
- net.minecraft.client.renderer.entity.RendererLivingEntity<T>
-
- net.minecraft.client.renderer.entity.RenderLiving<EntityVillager>
-
- net.minecraft.client.renderer.entity.RenderVillager
-
public class RenderVillager extends RenderLiving<EntityVillager>
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.renderer.entity.RendererLivingEntity
brightnessBuffer, layerRenderers, mainModel, renderOutlines
-
Fields inherited from class net.minecraft.client.renderer.entity.Render
renderManager, shadowOpaque, shadowSize
-
-
Constructor Summary
Constructors Constructor Description RenderVillager(RenderManager renderManagerIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceLocation
getEntityTexture(EntityVillager entityvillager)
+ Returns the location of an entity's texture.ModelVillager
getMainModel()
protected void
preRenderCallback(EntityVillager entityvillager, float var2)
+ Allows the render to do any OpenGL state modifications necessary before the model is rendered.-
Methods inherited from class net.minecraft.client.renderer.entity.RenderLiving
canRenderName, doRender, func_177105_a, renderLeash, shouldRender
-
Methods inherited from class net.minecraft.client.renderer.entity.RendererLivingEntity
addLayer, getColorMultiplier, getDeathMaxRotation, getSwingProgress, handleRotationFloat, interpolateRotation, removeLayer, renderLayers, renderLivingAt, renderModel, renderName, rotateCorpse, setBrightness, setDoRenderBrightness, setRenderOutlines, setScoreTeamColor, transformHeldFull3DItemLayer, unsetBrightness, unsetScoreTeamColor
-
Methods inherited from class net.minecraft.client.renderer.entity.Render
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, renderLivingLabel, renderOffsetAABB, renderOffsetLivingLabel
-
-
-
-
Constructor Detail
-
RenderVillager
public RenderVillager(RenderManager renderManagerIn)
-
-
Method Detail
-
getMainModel
public ModelVillager getMainModel()
- Overrides:
getMainModel
in classRendererLivingEntity<EntityVillager>
-
getEntityTexture
protected ResourceLocation getEntityTexture(EntityVillager entityvillager)
+ Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.- Specified by:
getEntityTexture
in classRender<EntityVillager>
-
preRenderCallback
protected void preRenderCallback(EntityVillager entityvillager, float var2)
+ Allows the render to do any OpenGL state modifications necessary before the model is rendered. Args: entityLiving, partialTickTime- Overrides:
preRenderCallback
in classRendererLivingEntity<EntityVillager>
-
-