Class RenderManager

java.lang.Object
net.minecraft.src.RenderManager

public class RenderManager extends Object
  • Field Details

    • instance

      public static RenderManager instance
      The static instance of RenderManager.
    • renderPosX

      public static double renderPosX
    • renderPosY

      public static double renderPosY
    • renderPosZ

      public static double renderPosZ
    • renderEngine

      public TextureManager renderEngine
    • itemRenderer

      public ItemRenderer itemRenderer
    • worldObj

      public World worldObj
      Reference to the World object.
    • livingPlayer

      public EntityLivingBase livingPlayer
      Rendermanager's variable for the player
    • field_96451_i

      public EntityLivingBase field_96451_i
    • playerViewY

      public float playerViewY
    • playerViewX

      public float playerViewX
    • options

      public GameSettings 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

      public Render getEntityClassRenderObject(Class par1Class)
    • getEntityRenderObject

      public Render getEntityRenderObject(Entity par1Entity)
    • 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

      public void renderEntity(Entity par1Entity, float par2)
      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

      public void set(World par1World)
      World sets this RenderManager's worldObj to the world provided
    • getDistanceToCamera

      public double getDistanceToCamera(double par1, double par3, double par5)
    • getFontRenderer

      public FontRenderer getFontRenderer()
      Returns the font renderer
    • updateIcons

      public void updateIcons(IconRegister par1IconRegister)
    • addEntityRenderer

      public static void addEntityRenderer(Class entityClass, Render entityRenderer)