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) |
void |
renderItem(EntityLiving par1EntityLiving,
ItemStack par2ItemStack,
int par3,
IItemRenderer.ItemRenderType type)
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,
int par5,
int par6,
float par7)
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 void renderItem(EntityLiving par1EntityLiving, ItemStack par2ItemStack, int par3, IItemRenderer.ItemRenderType type)
public static void renderItemIn2D(Tessellator par0Tessellator, float par1, float par2, float par3, float par4, int par5, int par6, float par7)
public void renderItemInFirstPerson(float par1)
public void renderOverlays(float par1)
public void updateEquippedItem()
public void resetEquippedProgress()
public void resetEquippedProgress2()