public class EntityRenderer extends java.lang.Object implements IResourceManagerReloadListener
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 |
static int |
shaderCount |
ShaderGroup |
theShaderGroup |
Constructor and Description |
---|
EntityRenderer(Minecraft p_i45076_1_,
IResourceManager p_i45076_2_) |
Modifier and Type | Method and Description |
---|---|
void |
activateNextShader() |
void |
deactivateShader() |
void |
disableLightmap(double par1)
Disable secondary texture unit used by lightmap
|
void |
enableLightmap(double par1)
Enable lightmap in secondary texture unit
|
MapItemRenderer |
getMapItemRenderer() |
void |
getMouseOver(float par1)
Finds what block or object the mouse is over at the specified partial tick time.
|
ShaderGroup |
getShaderGroup() |
boolean |
isShaderActive() |
void |
onResourceManagerReload(IResourceManager par1ResourceManager) |
protected void |
renderRainSnow(float par1)
Render rain and snow
|
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
|
void |
updateShaderGroupSize(int p_147704_1_,
int p_147704_2_) |
public static boolean anaglyphEnable
public static int anaglyphField
public final ItemRenderer itemRenderer
public ShaderGroup theShaderGroup
public static final int shaderCount
public int debugViewDirection
public EntityRenderer(Minecraft p_i45076_1_, IResourceManager p_i45076_2_)
public boolean isShaderActive()
public void deactivateShader()
public void activateNextShader()
public void onResourceManagerReload(IResourceManager par1ResourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
public void updateRenderer()
public ShaderGroup getShaderGroup()
public void updateShaderGroupSize(int p_147704_1_, int p_147704_2_)
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)
protected void renderRainSnow(float par1)
public void setupOverlayRendering()
public MapItemRenderer getMapItemRenderer()