public abstract class Render
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected RenderBlocks |
renderBlocks |
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 entity,
double d0,
double d1,
double d2,
float f,
float f1)
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 abstract ResourceLocation |
getEntityTexture(Entity entity)
Returns the location of an entity's texture.
|
FontRenderer |
getFontRendererFromRenderManager()
Returns the font renderer from the set render manager
|
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(IconRegister par1IconRegister) |
protected RenderManager renderManager
protected RenderBlocks renderBlocks
protected float shadowSize
protected float shadowOpaque
public abstract void doRender(Entity entity, double d0, double d1, double d2, float f, float f1)
protected abstract ResourceLocation getEntityTexture(Entity entity)
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(IconRegister par1IconRegister)