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 |
displayItemActivation(ItemStack p_190565_1_) |
static void |
drawNameplate(FontRenderer fontRendererIn,
java.lang.String str,
float x,
float y,
float z,
int verticalShift,
float viewerYaw,
float viewerPitch,
boolean isThirdPersonFrontal,
boolean isSneaking) |
void |
enableLightmap() |
void |
func_191514_d(boolean p_191514_1_) |
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 |
resetData() |
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(@Nullable 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 void func_191514_d(boolean p_191514_1_)
public void resetData()
public MapItemRenderer getMapItemRenderer()
public static void drawNameplate(FontRenderer fontRendererIn, java.lang.String str, float x, float y, float z, int verticalShift, float viewerYaw, float viewerPitch, boolean isThirdPersonFrontal, boolean isSneaking)
public void displayItemActivation(ItemStack p_190565_1_)