public abstract class RendererLivingEntity extends Render
Modifier and Type | Field and Description |
---|---|
protected ModelBase |
mainModel |
static float |
NAME_TAG_RANGE |
static float |
NAME_TAG_RANGE_SNEAK |
protected ModelBase |
renderPassModel
The model to be used during the render passes.
|
field_147909_c, renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
RendererLivingEntity(ModelBase par1ModelBase,
float par2) |
Modifier and Type | Method and Description |
---|---|
void |
doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
void |
doRender(EntityLivingBase par1EntityLivingBase,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
protected boolean |
func_110813_b(EntityLivingBase par1EntityLivingBase) |
protected void |
func_82408_c(EntityLivingBase par1EntityLivingBase,
int par2,
float par3) |
protected void |
func_96449_a(EntityLivingBase par1EntityLivingBase,
double par2,
double par4,
double par6,
java.lang.String par8Str,
float par9,
double par10) |
protected int |
getColorMultiplier(EntityLivingBase par1EntityLivingBase,
float par2,
float par3)
Returns an ARGB int color back.
|
protected float |
getDeathMaxRotation(EntityLivingBase par1EntityLivingBase) |
protected float |
handleRotationFloat(EntityLivingBase par1EntityLivingBase,
float par2)
Defines what float the third param in setRotationAngles of ModelBase is
|
protected int |
inheritRenderPass(EntityLivingBase par1EntityLivingBase,
int par2,
float par3) |
protected void |
passSpecialRender(EntityLivingBase par1EntityLivingBase,
double par2,
double par4,
double par6)
Passes the specialRender and renders it
|
protected void |
preRenderCallback(EntityLivingBase par1EntityLivingBase,
float par2)
Allows the render to do any OpenGL state modifications necessary before the model is rendered.
|
protected void |
renderArrowsStuckInEntity(EntityLivingBase par1EntityLivingBase,
float par2)
renders arrows the Entity has been attacked with, attached to it
|
protected void |
renderEquippedItems(EntityLivingBase par1EntityLivingBase,
float par2) |
protected void |
renderLivingAt(EntityLivingBase par1EntityLivingBase,
double par2,
double par4,
double par6)
Sets a simple glTranslate on a LivingEntity.
|
protected void |
renderModel(EntityLivingBase par1EntityLivingBase,
float par2,
float par3,
float par4,
float par5,
float par6,
float par7)
Renders the model in RenderLiving
|
protected float |
renderSwingProgress(EntityLivingBase par1EntityLivingBase,
float par2) |
protected void |
rotateCorpse(EntityLivingBase par1EntityLivingBase,
float par2,
float par3,
float par4) |
void |
setRenderPassModel(ModelBase par1ModelBase)
Sets the model to be used in the current render pass (the first render pass is done after the primary model is
rendered) Args: model
|
protected int |
shouldRenderPass(EntityLivingBase par1EntityLivingBase,
int par2,
float par3)
Queries whether should render the specified pass or not.
|
bindEntityTexture, bindTexture, doRenderShadowAndFire, func_147906_a, getEntityTexture, getFontRendererFromRenderManager, isStaticEntity, renderAABB, renderOffsetAABB, setRenderManager, updateIcons
protected ModelBase mainModel
protected ModelBase renderPassModel
public static float NAME_TAG_RANGE
public static float NAME_TAG_RANGE_SNEAK
public RendererLivingEntity(ModelBase par1ModelBase, float par2)
public void setRenderPassModel(ModelBase par1ModelBase)
public void doRender(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, float par8, float par9)
protected void renderModel(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4, float par5, float par6, float par7)
protected void renderLivingAt(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6)
protected void rotateCorpse(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4)
protected float renderSwingProgress(EntityLivingBase par1EntityLivingBase, float par2)
protected float handleRotationFloat(EntityLivingBase par1EntityLivingBase, float par2)
protected void renderEquippedItems(EntityLivingBase par1EntityLivingBase, float par2)
protected void renderArrowsStuckInEntity(EntityLivingBase par1EntityLivingBase, float par2)
protected int inheritRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3)
protected int shouldRenderPass(EntityLivingBase par1EntityLivingBase, int par2, float par3)
protected void func_82408_c(EntityLivingBase par1EntityLivingBase, int par2, float par3)
protected float getDeathMaxRotation(EntityLivingBase par1EntityLivingBase)
protected int getColorMultiplier(EntityLivingBase par1EntityLivingBase, float par2, float par3)
protected void preRenderCallback(EntityLivingBase par1EntityLivingBase, float par2)
protected void passSpecialRender(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6)
protected boolean func_110813_b(EntityLivingBase par1EntityLivingBase)
protected void func_96449_a(EntityLivingBase par1EntityLivingBase, double par2, double par4, double par6, java.lang.String par8Str, float par9, double par10)
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)