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 p_78483_1_)
Disable secondary texture unit used by lightmap
|
void |
enableLightmap(double p_78463_1_)
Enable lightmap in secondary texture unit
|
void |
func_152430_c(float p_152430_1_) |
MapItemRenderer |
getMapItemRenderer() |
void |
getMouseOver(float p_78473_1_)
Finds what block or object the mouse is over at the specified partial tick time.
|
ShaderGroup |
getShaderGroup() |
boolean |
isShaderActive() |
void |
onResourceManagerReload(IResourceManager p_110549_1_) |
protected void |
renderRainSnow(float p_78474_1_)
Render rain and snow
|
void |
renderWorld(float p_78471_1_,
long p_78471_2_) |
void |
setupOverlayRendering()
Setup orthogonal projection for rendering GUI screen overlays
|
void |
updateCameraAndRender(float p_78480_1_)
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 p_110549_1_)
onResourceManagerReload in interface IResourceManagerReloadListenerpublic void updateRenderer()
public ShaderGroup getShaderGroup()
public void updateShaderGroupSize(int p_147704_1_,
int p_147704_2_)
public void getMouseOver(float p_78473_1_)
public void disableLightmap(double p_78483_1_)
public void enableLightmap(double p_78463_1_)
public void updateCameraAndRender(float p_78480_1_)
public void func_152430_c(float p_152430_1_)
public void renderWorld(float p_78471_1_,
long p_78471_2_)
protected void renderRainSnow(float p_78474_1_)
public void setupOverlayRendering()
public MapItemRenderer getMapItemRenderer()