YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.renderer.entity.RenderItem Class Reference
Inheritance diagram for net.minecraft.client.renderer.entity.RenderItem:
net.minecraft.client.renderer.entity.Render

Public Member Functions

 RenderItem ()
 
void doRenderItem (EntityItem par1EntityItem, double par2, double par4, double par6, float par8, float par9)
 
void renderItemIntoGUI (FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5)
 
void renderItemAndEffectIntoGUI (FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5)
 
void renderItemOverlayIntoGUI (FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5)
 
void renderItemOverlayIntoGUI (FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5, String par6Str)
 
void renderIcon (int par1, int par2, Icon par3Icon, int par4, int par5)
 
void doRender (Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
 
boolean shouldSpreadItems ()
 
boolean shouldBob ()
 
byte getMiniBlockCount (ItemStack stack)
 
byte getMiniItemCount (ItemStack stack)
 
- Public Member Functions inherited from net.minecraft.client.renderer.entity.Render
void setRenderManager (RenderManager par1RenderManager)
 
void doRenderShadowAndFire (Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
 
FontRenderer getFontRendererFromRenderManager ()
 
void updateIcons (IconRegister par1IconRegister)
 

Public Attributes

boolean renderWithColor = true
 
float zLevel = 0.0F
 

Static Public Attributes

static boolean renderInFrame = false
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.client.renderer.entity.Render
static void renderOffsetAABB (AxisAlignedBB par0AxisAlignedBB, double par1, double par3, double par5)
 
static void renderAABB (AxisAlignedBB par0AxisAlignedBB)
 
- Protected Member Functions inherited from net.minecraft.client.renderer.entity.Render
void loadTexture (String par1Str)
 
boolean loadDownloadableImageTexture (String par1Str, String par2Str)
 
- Protected Attributes inherited from net.minecraft.client.renderer.entity.Render
RenderManager renderManager
 
RenderBlocks renderBlocks = new RenderBlocks()
 
float shadowSize = 0.0F
 
float shadowOpaque = 1.0F
 

Constructor & Destructor Documentation

net.minecraft.client.renderer.entity.RenderItem.RenderItem ( )

Member Function Documentation

void net.minecraft.client.renderer.entity.RenderItem.doRender ( Entity  par1Entity,
double  par2,
double  par4,
double  par6,
float  par8,
float  par9 
)
virtual

Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic (Render<T extends Entity) and this method has signature public void doRender(T entity, double d, double d1, double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.

Implements net.minecraft.client.renderer.entity.Render.

void net.minecraft.client.renderer.entity.RenderItem.doRenderItem ( EntityItem  par1EntityItem,
double  par2,
double  par4,
double  par6,
float  par8,
float  par9 
)

Renders the item

byte net.minecraft.client.renderer.entity.RenderItem.getMiniBlockCount ( ItemStack  stack)
byte net.minecraft.client.renderer.entity.RenderItem.getMiniItemCount ( ItemStack  stack)

Allows for a subclass to override how many rendered items appear in a "mini item 3d stack"

Parameters
stack
Returns
void net.minecraft.client.renderer.entity.RenderItem.renderIcon ( int  par1,
int  par2,
Icon  par3Icon,
int  par4,
int  par5 
)
void net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI ( FontRenderer  par1FontRenderer,
RenderEngine  par2RenderEngine,
ItemStack  par3ItemStack,
int  par4,
int  par5 
)

Render the item's icon or block into the GUI, including the glint effect.

void net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI ( FontRenderer  par1FontRenderer,
RenderEngine  par2RenderEngine,
ItemStack  par3ItemStack,
int  par4,
int  par5 
)

Renders the item's icon or block into the UI at the specified position.

void net.minecraft.client.renderer.entity.RenderItem.renderItemOverlayIntoGUI ( FontRenderer  par1FontRenderer,
RenderEngine  par2RenderEngine,
ItemStack  par3ItemStack,
int  par4,
int  par5 
)

Renders the item's overlay information. Examples being stack count or damage on top of the item's image at the specified position.

void net.minecraft.client.renderer.entity.RenderItem.renderItemOverlayIntoGUI ( FontRenderer  par1FontRenderer,
RenderEngine  par2RenderEngine,
ItemStack  par3ItemStack,
int  par4,
int  par5,
String  par6Str 
)
boolean net.minecraft.client.renderer.entity.RenderItem.shouldBob ( )

Items should have a bob effect

Returns
boolean net.minecraft.client.renderer.entity.RenderItem.shouldSpreadItems ( )

Items should spread out when rendered in 3d?

Returns

Member Data Documentation

boolean net.minecraft.client.renderer.entity.RenderItem.renderInFrame = false
static
boolean net.minecraft.client.renderer.entity.RenderItem.renderWithColor = true
float net.minecraft.client.renderer.entity.RenderItem.zLevel = 0.0F

Defines the zLevel of rendering of item on GUI.


The documentation for this class was generated from the following file: