public class RenderManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.lang.Class<? extends Entity>,Render<? extends Entity>> |
entityRenderMap |
GameSettings |
options |
float |
playerViewX |
float |
playerViewY |
Entity |
pointedEntity |
TextureManager |
renderEngine |
Entity |
renderViewEntity |
double |
viewerPosX |
double |
viewerPosY |
double |
viewerPosZ |
World |
worldObj |
Constructor and Description |
---|
RenderManager(TextureManager renderEngineIn,
RenderItem itemRendererIn) |
Modifier and Type | Method and Description |
---|---|
void |
cacheActiveRenderInfo(World worldIn,
FontRenderer textRendererIn,
Entity livingPlayerIn,
Entity pointedEntityIn,
GameSettings optionsIn,
float partialTicks) |
void |
doRenderEntity(Entity entityIn,
double x,
double y,
double z,
float yaw,
float partialTicks,
boolean p_188391_10_) |
double |
getDistanceToCamera(double x,
double y,
double z) |
<T extends Entity> |
getEntityClassRenderObject(java.lang.Class<? extends Entity> entityClass) |
<T extends Entity> |
getEntityRenderObject(T entityIn) |
FontRenderer |
getFontRenderer() |
java.util.Map<java.lang.String,RenderPlayer> |
getSkinMap() |
boolean |
isDebugBoundingBox() |
boolean |
isRenderMultipass(Entity p_188390_1_) |
boolean |
isRenderShadow() |
void |
renderEntityStatic(Entity p_188388_1_,
float p_188388_2_,
boolean p_188388_3_) |
void |
renderMultipass(Entity p_188389_1_,
float p_188389_2_) |
void |
set(World worldIn) |
void |
setDebugBoundingBox(boolean debugBoundingBoxIn) |
void |
setPlayerViewY(float playerViewYIn) |
void |
setRenderOutlines(boolean renderOutlinesIn) |
void |
setRenderPosition(double renderPosXIn,
double renderPosYIn,
double renderPosZIn) |
void |
setRenderShadow(boolean renderShadowIn) |
boolean |
shouldRender(Entity entityIn,
ICamera camera,
double camX,
double camY,
double camZ) |
public java.util.Map<java.lang.Class<? extends Entity>,Render<? extends Entity>> entityRenderMap
public TextureManager renderEngine
public World worldObj
public Entity renderViewEntity
public Entity pointedEntity
public float playerViewY
public float playerViewX
public GameSettings options
public double viewerPosX
public double viewerPosY
public double viewerPosZ
public RenderManager(TextureManager renderEngineIn, RenderItem itemRendererIn)
public java.util.Map<java.lang.String,RenderPlayer> getSkinMap()
public void setRenderPosition(double renderPosXIn, double renderPosYIn, double renderPosZIn)
public <T extends Entity> Render<T> getEntityClassRenderObject(java.lang.Class<? extends Entity> entityClass)
@Nullable public <T extends Entity> Render<T> getEntityRenderObject(T entityIn)
public void cacheActiveRenderInfo(World worldIn, FontRenderer textRendererIn, Entity livingPlayerIn, Entity pointedEntityIn, GameSettings optionsIn, float partialTicks)
public void setPlayerViewY(float playerViewYIn)
public boolean isRenderShadow()
public void setRenderShadow(boolean renderShadowIn)
public void setDebugBoundingBox(boolean debugBoundingBoxIn)
public boolean isDebugBoundingBox()
public boolean isRenderMultipass(Entity p_188390_1_)
public boolean shouldRender(Entity entityIn, ICamera camera, double camX, double camY, double camZ)
public void renderEntityStatic(Entity p_188388_1_, float p_188388_2_, boolean p_188388_3_)
public void doRenderEntity(Entity entityIn, double x, double y, double z, float yaw, float partialTicks, boolean p_188391_10_)
public void renderMultipass(Entity p_188389_1_, float p_188389_2_)
public void set(@Nullable World worldIn)
public double getDistanceToCamera(double x, double y, double z)
public FontRenderer getFontRenderer()
public void setRenderOutlines(boolean renderOutlinesIn)