public abstract class Render
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected RenderBlocks |
field_147909_c |
protected RenderManager |
renderManager |
protected float |
shadowOpaque
Determines the darkness of the object's shadow.
|
protected float |
shadowSize |
Constructor and Description |
---|
Render() |
Modifier and Type | Method and Description |
---|---|
protected void |
bindEntityTexture(Entity par1Entity) |
protected void |
bindTexture(ResourceLocation par1ResourceLocation) |
abstract void |
doRender(Entity var1,
double var2,
double var4,
double var6,
float var8,
float var9)
Actually renders the given argument.
|
void |
doRenderShadowAndFire(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Renders the entity's shadow and fire (if its on fire).
|
protected void |
func_147906_a(Entity p_147906_1_,
java.lang.String p_147906_2_,
double p_147906_3_,
double p_147906_5_,
double p_147906_7_,
int p_147906_9_) |
protected abstract ResourceLocation |
getEntityTexture(Entity var1)
Returns the location of an entity's texture.
|
FontRenderer |
getFontRendererFromRenderManager()
Returns the font renderer from the set render manager
|
boolean |
isStaticEntity() |
static void |
renderAABB(AxisAlignedBB par0AxisAlignedBB)
Adds to the tesselator a box using the aabb for the bounds.
|
static void |
renderOffsetAABB(AxisAlignedBB par0AxisAlignedBB,
double par1,
double par3,
double par5)
Renders a white box with the bounds of the AABB translated by the offset.
|
void |
setRenderManager(RenderManager par1RenderManager)
Sets the RenderManager.
|
void |
updateIcons(IIconRegister par1IconRegister) |
protected RenderManager renderManager
protected RenderBlocks field_147909_c
protected float shadowSize
protected float shadowOpaque
public abstract void doRender(Entity var1, double var2, double var4, double var6, float var8, float var9)
protected abstract ResourceLocation getEntityTexture(Entity var1)
public boolean isStaticEntity()
protected void bindEntityTexture(Entity par1Entity)
protected void bindTexture(ResourceLocation par1ResourceLocation)
public static void renderOffsetAABB(AxisAlignedBB par0AxisAlignedBB, double par1, double par3, double par5)
public static void renderAABB(AxisAlignedBB par0AxisAlignedBB)
public void setRenderManager(RenderManager par1RenderManager)
public void doRenderShadowAndFire(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
public FontRenderer getFontRendererFromRenderManager()
public void updateIcons(IIconRegister par1IconRegister)
protected void func_147906_a(Entity p_147906_1_, java.lang.String p_147906_2_, double p_147906_3_, double p_147906_5_, double p_147906_7_, int p_147906_9_)