public class EntityRenderer extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
anaglyphEnable |
static int |
anaglyphField
Anaglyph field (0=R, 1=GB)
|
int |
debugViewDirection
Debug view direction (0=OFF, 1=Front, 2=Right, 3=Back, 4=Left, 5=TiltLeft, 6=TiltRight)
|
ItemRenderer |
itemRenderer |
int |
lightmapTexture
The texture id of the blocklight/skylight texture used for lighting effects
|
Constructor and Description |
---|
EntityRenderer(Minecraft par1Minecraft) |
Modifier and Type | Method and Description |
---|---|
void |
disableLightmap(double par1)
Disable secondary texture unit used by lightmap
|
void |
enableLightmap(double par1)
Enable lightmap in secondary texture unit
|
void |
getMouseOver(float par1)
Finds what block or object the mouse is over at the specified partial tick time.
|
static int |
performanceToFps(int par0)
Converts performance value (0-2) to FPS (35-200)
|
void |
renderWorld(float par1,
long par2) |
void |
setupOverlayRendering()
Setup orthogonal projection for rendering GUI screen overlays
|
void |
updateCameraAndRender(float par1)
Will update any inputs that effect the camera angle (mouse) and then render the world and GUI
|
void |
updateRenderer()
Updates the entity renderer
|
public static boolean anaglyphEnable
public static int anaglyphField
public ItemRenderer itemRenderer
public int lightmapTexture
public int debugViewDirection
public EntityRenderer(Minecraft par1Minecraft)
public void updateRenderer()
public void getMouseOver(float par1)
public void disableLightmap(double par1)
public void enableLightmap(double par1)
public void updateCameraAndRender(float par1)
public void renderWorld(float par1, long par2)
public void setupOverlayRendering()
public static int performanceToFps(int par0)