Package net.minecraft.src
Class RenderManager
java.lang.Object
net.minecraft.src.RenderManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic RenderManagerThe static instance of RenderManager.Rendermanager's variable for the playerReference to the GameSettings object.floatfloatstatic doublestatic doublestatic doubledoubledoubledoubleReference to the World object. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddEntityRenderer(Class entityClass, Render entityRenderer) voidcacheActiveRenderInfo(World par1World, TextureManager par2TextureManager, FontRenderer par3FontRenderer, EntityLivingBase par4EntityLivingBase, EntityLivingBase par5EntityLivingBase, GameSettings par6GameSettings, float par7) Caches the current frame's active render info, including the current World, RenderEngine, GameSettings and FontRenderer settings, as well as interpolated player position, pitch and yaw.doublegetDistanceToCamera(double par1, double par3, double par5) getEntityClassRenderObject(Class par1Class) getEntityRenderObject(Entity par1Entity) Returns the font renderervoidrenderEntity(Entity par1Entity, float par2) Will render the specified entity at the specified partial tick time.voidrenderEntityWithPosYaw(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) Renders the specified entity with the passed in position, yaw, and partialTickTime.voidWorld sets this RenderManager's worldObj to the world providedvoidupdateIcons(IconRegister par1IconRegister)
-
Field Details
-
instance
The static instance of RenderManager. -
renderPosX
public static double renderPosX -
renderPosY
public static double renderPosY -
renderPosZ
public static double renderPosZ -
renderEngine
-
itemRenderer
-
worldObj
Reference to the World object. -
livingPlayer
Rendermanager's variable for the player -
field_96451_i
-
playerViewY
public float playerViewY -
playerViewX
public float playerViewX -
options
Reference to the GameSettings object. -
viewerPosX
public double viewerPosX -
viewerPosY
public double viewerPosY -
viewerPosZ
public double viewerPosZ -
field_85095_o
public static boolean field_85095_o
-
-
Method Details
-
getEntityClassRenderObject
-
getEntityRenderObject
-
cacheActiveRenderInfo
public void cacheActiveRenderInfo(World par1World, TextureManager par2TextureManager, FontRenderer par3FontRenderer, EntityLivingBase par4EntityLivingBase, EntityLivingBase par5EntityLivingBase, GameSettings par6GameSettings, float par7) Caches the current frame's active render info, including the current World, RenderEngine, GameSettings and FontRenderer settings, as well as interpolated player position, pitch and yaw. -
renderEntity
Will render the specified entity at the specified partial tick time. Args: entity, partialTickTime -
renderEntityWithPosYaw
public void renderEntityWithPosYaw(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) Renders the specified entity with the passed in position, yaw, and partialTickTime. Args: entity, x, y, z, yaw, partialTickTime -
set
World sets this RenderManager's worldObj to the world provided -
getDistanceToCamera
public double getDistanceToCamera(double par1, double par3, double par5) -
getFontRenderer
Returns the font renderer -
updateIcons
-
addEntityRenderer
-