public class EntityRenderer extends java.lang.Object implements IResourceManagerReloadListener
Modifier and Type | Field and Description |
---|---|
static boolean |
anaglyphEnable |
static int |
anaglyphField |
ItemRenderer |
itemRenderer |
static int |
SHADER_COUNT |
Constructor and Description |
---|
EntityRenderer(Minecraft mcIn,
IResourceManager resourceManagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
disableLightmap() |
void |
enableLightmap() |
MapItemRenderer |
getMapItemRenderer() |
void |
getMouseOver(float partialTicks) |
ShaderGroup |
getShaderGroup() |
boolean |
isShaderActive() |
void |
loadEntityShader(Entity entityIn) |
void |
loadShader(ResourceLocation resourceLocationIn) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
protected void |
renderRainSnow(float partialTicks) |
void |
renderStreamIndicator(float partialTicks) |
void |
renderWorld(float partialTicks,
long finishTimeNano) |
void |
setupOverlayRendering() |
void |
stopUseShader() |
void |
switchUseShader() |
void |
updateCameraAndRender(float partialTicks,
long nanoTime) |
void |
updateRenderer() |
void |
updateShaderGroupSize(int width,
int height) |
public static boolean anaglyphEnable
public static int anaglyphField
public final ItemRenderer itemRenderer
public static final int SHADER_COUNT
public EntityRenderer(Minecraft mcIn, IResourceManager resourceManagerIn)
public boolean isShaderActive()
public void stopUseShader()
public void switchUseShader()
public void loadEntityShader(Entity entityIn)
public void loadShader(ResourceLocation resourceLocationIn)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
public void updateRenderer()
public ShaderGroup getShaderGroup()
public void updateShaderGroupSize(int width, int height)
public void getMouseOver(float partialTicks)
public void disableLightmap()
public void enableLightmap()
public void updateCameraAndRender(float partialTicks, long nanoTime)
public void renderStreamIndicator(float partialTicks)
public void renderWorld(float partialTicks, long finishTimeNano)
protected void renderRainSnow(float partialTicks)
public void setupOverlayRendering()
public MapItemRenderer getMapItemRenderer()