public class ItemRenderer extends Object
Modifier and Type | Field and Description |
---|---|
MapItemRenderer |
mapItemRenderer |
Constructor and Description |
---|
ItemRenderer(Minecraft par1Minecraft) |
Modifier and Type | Method and Description |
---|---|
void |
renderItem(EntityLiving par1EntityLiving,
ItemStack par2ItemStack,
int par3)
Renders the item stack for being in an entity's hand Args: itemStack
|
static void |
renderItemIn2D(Tessellator par0Tessellator,
float par1,
float par2,
float par3,
float par4,
float par5)
Renders an item held in hand as a 2D texture with thickness
|
void |
renderItemInFirstPerson(float par1)
Renders the active item in the player's hand when in first person mode.
|
void |
renderOverlays(float par1)
Renders all the overlays that are in first person mode.
|
void |
resetEquippedProgress()
Resets equippedProgress
|
void |
resetEquippedProgress2()
Resets equippedProgress
|
void |
updateEquippedItem() |
public final MapItemRenderer mapItemRenderer
public ItemRenderer(Minecraft par1Minecraft)
public void renderItem(EntityLiving par1EntityLiving, ItemStack par2ItemStack, int par3)
public static void renderItemIn2D(Tessellator par0Tessellator, float par1, float par2, float par3, float par4, float par5)
public void renderItemInFirstPerson(float par1)
public void renderOverlays(float par1)
public void updateEquippedItem()
public void resetEquippedProgress()
public void resetEquippedProgress2()