public class RenderSlime extends RenderLiving
mainModel, NAME_TAG_RANGE, NAME_TAG_RANGE_SNEAK, renderPassModel
renderBlocks, renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderSlime(ModelBase par1ModelBase,
ModelBase par2ModelBase,
float par3) |
Modifier and Type | Method and Description |
---|---|
protected ResourceLocation |
getEntityTexture(Entity par1Entity)
Returns the location of an entity's texture.
|
protected ResourceLocation |
getSlimeTextures(EntitySlime par1EntitySlime) |
protected void |
preRenderCallback(EntityLivingBase par1EntityLivingBase,
float par2)
Allows the render to do any OpenGL state modifications necessary before the model is rendered.
|
protected void |
scaleSlime(EntitySlime par1EntitySlime,
float par2)
sets the scale for the slime based on getSlimeSize in EntitySlime
|
protected int |
shouldRenderPass(EntityLivingBase par1EntityLivingBase,
int par2,
float par3)
Queries whether should render the specified pass or not.
|
protected int |
shouldSlimeRenderPass(EntitySlime par1EntitySlime,
int par2,
float par3)
Determines whether Slime Render should pass or not.
|
doRender, doRenderLiving, func_110813_b, func_110827_b, func_130007_b, renderPlayer
doRenderLiving, func_82408_c, func_96449_a, getColorMultiplier, getDeathMaxRotation, handleRotationFloat, inheritRenderPass, passSpecialRender, renderArrowsStuckInEntity, renderEquippedItems, renderLivingAt, renderLivingLabel, renderModel, renderSwingProgress, rotateCorpse, setRenderPassModel
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager, updateIcons
protected int shouldSlimeRenderPass(EntitySlime par1EntitySlime, int par2, float par3)
protected void scaleSlime(EntitySlime par1EntitySlime, float par2)
protected ResourceLocation getSlimeTextures(EntitySlime par1EntitySlime)
protected void preRenderCallback(EntityLivingBase par1EntityLivingBase, float par2)
preRenderCallback
in class RendererLivingEntity
protected int shouldRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3)
shouldRenderPass
in class RendererLivingEntity
protected ResourceLocation getEntityTexture(Entity par1Entity)
getEntityTexture
in class Render