Uses of Class
net.minecraft.src.ItemStack

Packages that use ItemStack
cpw.mods.fml.common   
cpw.mods.fml.common.modloader   
cpw.mods.fml.common.registry   
net.minecraft.src   
net.minecraftforge.client   
net.minecraftforge.client.event   
net.minecraftforge.common   
net.minecraftforge.event   
net.minecraftforge.event.entity.player   
net.minecraftforge.liquids   
net.minecraftforge.oredict   
 

Uses of ItemStack in cpw.mods.fml.common
 

Methods in cpw.mods.fml.common with parameters of type ItemStack
 int IDispenseHandler.dispense(double x, double y, double z, int xVelocity, int zVelocity, World world, ItemStack item, Random random, double entX, double entY, double entZ)
          Deprecated. 
 int IDispenserHandler.dispense(int x, int y, int z, int xVelocity, int zVelocity, World world, ItemStack item, Random random, double entX, double entY, double entZ)
          Called to dispense an entity
 int IFuelHandler.getBurnTime(ItemStack fuel)
           
 void ICraftingHandler.onCrafting(EntityPlayer player, ItemStack item, IInventory craftMatrix)
          The object array contains these three arguments
 void ICraftingHandler.onSmelting(EntityPlayer player, ItemStack item)
          The object array contains these two arguments
 

Uses of ItemStack in cpw.mods.fml.common.modloader
 

Methods in cpw.mods.fml.common.modloader with parameters of type ItemStack
 int ModLoaderDispenseHelper.dispense(int x, int y, int z, int xVelocity, int zVelocity, World world, ItemStack item, Random random, double entX, double entY, double entZ)
           
 int ModLoaderFuelHelper.getBurnTime(ItemStack fuel)
           
 void ModLoaderCraftingHelper.onCrafting(EntityPlayer player, ItemStack item, IInventory craftMatrix)
           
 void BaseModProxy.onItemPickup(EntityPlayer player, ItemStack item)
           
 void ModLoaderCraftingHelper.onSmelting(EntityPlayer player, ItemStack item)
           
 void BaseModProxy.takenFromCrafting(EntityPlayer player, ItemStack item, IInventory craftMatrix)
           
 void BaseModProxy.takenFromFurnace(EntityPlayer player, ItemStack item)
           
 

Uses of ItemStack in cpw.mods.fml.common.registry
 

Methods in cpw.mods.fml.common.registry with parameters of type ItemStack
static void GameRegistry.addRecipe(ItemStack output, Object... params)
           
static void GameRegistry.addShapelessRecipe(ItemStack output, Object... params)
           
static void GameRegistry.addSmelting(int input, ItemStack output, float xp)
           
static int GameRegistry.getFuelValue(ItemStack itemStack)
           
static void GameRegistry.onItemCrafted(EntityPlayer player, ItemStack item, IInventory craftMatrix)
           
static void GameRegistry.onItemSmelted(EntityPlayer player, ItemStack item)
           
static int GameRegistry.tryDispense(World world, int x, int y, int z, int xVelocity, int zVelocity, ItemStack item, Random random, double entX, double entY, double entZ)
          Callback hook for dispenser activities - if you add a block and want mods to be able to extend their dispenser related activities to it call this
 

Uses of ItemStack in net.minecraft.src
 

Fields in net.minecraft.src declared as ItemStack
 ItemStack[] InventoryPlayer.armorInventory
          An array of 4 item stacks containing the currently worn armor pieces.
 ItemStack EntityItem.item
          The item stack of this EntityItem.
 ItemStack Packet21PickupSpawn.itemID
           
 ItemStack[] Packet104WindowItems.itemStack
          Stack of items
 ItemStack Packet102WindowClick.itemStack
          Item stack for inventory
 ItemStack Packet107CreativeSetSlot.itemStack
           
 ItemStack WeightedRandomChestContent.itemStack
           
 ItemStack[] InventoryPlayer.mainInventory
          An array of 36 item stacks indicating the main player inventory (including the visible bar).
 ItemStack Packet103SetSlot.myItemStack
          Item stack
 ItemStack[] ShapedRecipes.recipeItems
          Is a array of ItemStack that composes the recipe.
 ItemStack TileEntityRecordPlayer.record
          ID of record which is in Jukebox
 ItemStack Achievement.theItemStack
          Holds the ItemStack that will be used to draw the achievement into the GUI.
 

Methods in net.minecraft.src that return ItemStack
static ItemStack EnchantmentHelper.addRandomEnchantment(Random par0Random, ItemStack par1ItemStack, int par2)
          Adds a random enchantment to the specified item.
 ItemStack InventoryPlayer.armorItemInSlot(int par1)
          returns a player armor item (as itemstack) contained in specified armor slot.
 ItemStack ItemStack.copy()
          Returns a new stack with the same properties.
static ItemStack ItemStack.copyItemStack(ItemStack par0ItemStack)
          Creates a copy of a ItemStack, a null parameters will return a null.
 ItemStack SlotCrafting.decrStackSize(int par1)
          Decrease the size of the stack in slot (first int arg) by the amount of the second int arg.
 ItemStack SlotMerchantResult.decrStackSize(int par1)
          Decrease the size of the stack in slot (first int arg) by the amount of the second int arg.
 ItemStack Slot.decrStackSize(int par1)
          Decrease the size of the stack in slot (first int arg) by the amount of the second int arg.
 ItemStack SlotFurnace.decrStackSize(int par1)
          Decrease the size of the stack in slot (first int arg) by the amount of the second int arg.
 ItemStack TileEntityBrewingStand.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack InventoryMerchant.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack TileEntityDispenser.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack InventoryCrafting.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack EntityMinecart.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack TileEntityChest.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack TileEntityBeacon.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack TileEntityFurnace.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack InventoryCraftResult.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack IInventory.decrStackSize(int var1, int var2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack InventoryBasic.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack InventoryPlayer.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack InventoryLargeChest.decrStackSize(int par1, int par2)
          Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
 ItemStack BehaviorDefaultDispenseItem.dispense(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispenses the specified ItemStack from a dispenser.
 ItemStack IBehaviorDispenseItem.dispense(IBlockSource var1, ItemStack var2)
          Dispenses the specified ItemStack from a dispenser.
 ItemStack BehaviorPotionDispense.dispense(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispenses the specified ItemStack from a dispenser.
 ItemStack BehaviorBucketEmptyDispense.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorProjectileDispense.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorMobEggDispense.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorBucketFullDispense.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorDispenseBoat.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorDispenseFireball.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorDispenseMinecart.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack CraftingManager.findMatchingRecipe(InventoryCrafting par1InventoryCrafting, World par2World)
           
 ItemStack EntityMinecart.getCartItem()
          This function returns an ItemStack that represents this cart.
 ItemStack Item.getContainerItemStack(ItemStack itemStack)
          ItemStack sensitive version of getContainerItem.
 ItemStack RecipesMapCloning.getCraftingResult(InventoryCrafting par1InventoryCrafting)
          Returns an Item that is the result of this recipe
 ItemStack ShapelessRecipes.getCraftingResult(InventoryCrafting par1InventoryCrafting)
          Returns an Item that is the result of this recipe
 ItemStack ShapedRecipes.getCraftingResult(InventoryCrafting par1InventoryCrafting)
          Returns an Item that is the result of this recipe
 ItemStack RecipesArmorDyes.getCraftingResult(InventoryCrafting par1InventoryCrafting)
          Returns an Item that is the result of this recipe
 ItemStack RecipesMapExtending.getCraftingResult(InventoryCrafting par1InventoryCrafting)
          Returns an Item that is the result of this recipe
 ItemStack IRecipe.getCraftingResult(InventoryCrafting var1)
          Returns an Item that is the result of this recipe
 ItemStack EntityLiving.getCurrentArmor(int par1)
           
 ItemStack EntityPlayer.getCurrentArmor(int par1)
           
 ItemStack EntityPlayer.getCurrentEquippedItem()
          Returns the currently being used item by the player.
 ItemStack InventoryPlayer.getCurrentItem()
          Returns the item stack currently held by the player.
 ItemStack EntityLiving.getCurrentItemOrArmor(int par1)
          0 = item, 1-n is armor
 ItemStack EntityPlayer.getCurrentItemOrArmor(int par1)
          0 = item, 1-n is armor
 ItemStack EntityItemFrame.getDisplayedItem()
           
 ItemStack EntityPlayerSP.getHeldItem()
          Returns the item that this EntityLiving is holding, if any.
 ItemStack EntityLiving.getHeldItem()
          Returns the item that this EntityLiving is holding, if any.
 ItemStack EntityPlayer.getHeldItem()
          Returns the item that this EntityLiving is holding, if any.
 ItemStack CreativeTabs.getIconItemStack()
          Get the ItemStack that will be rendered to the tab.
 ItemStack EntityPlayer.getItemInUse()
           
 ItemStack Packet5PlayerInventory.getItemSlot()
           
 ItemStack Packet15Place.getItemStack()
           
 ItemStack InventoryPlayer.getItemStack()
           
 ItemStack MerchantRecipe.getItemToBuy()
          Gets the itemToBuy.
 ItemStack MerchantRecipe.getItemToSell()
          Gets itemToSell.
 ItemStack[] EntityLiving.getLastActiveItems()
           
 ItemStack[] Entity.getLastActiveItems()
           
 ItemStack[] EntityPlayer.getLastActiveItems()
           
 ItemStack Block.getPickBlock(MovingObjectPosition target, World world, int x, int y, int z)
          Called when a user uses the creative pick block button on this block
 ItemStack Entity.getPickedResult(MovingObjectPosition target)
          Called when a user uses the creative pick block button on this entity.
static ItemStack BlockFlowerPot.getPlantForMeta(int par0)
          Return the item associated with the specified flower pot metadata value.
 ItemStack RecipesMapCloning.getRecipeOutput()
           
 ItemStack ShapelessRecipes.getRecipeOutput()
           
 ItemStack ShapedRecipes.getRecipeOutput()
           
 ItemStack RecipesArmorDyes.getRecipeOutput()
           
 ItemStack IRecipe.getRecipeOutput()
           
 ItemStack MerchantRecipe.getSecondItemToBuy()
          Gets secondItemToBuy.
 ItemStack FurnaceRecipes.getSmeltingResult(int par1)
          Deprecated. 
 ItemStack FurnaceRecipes.getSmeltingResult(ItemStack item)
          Used to get the resulting ItemStack form a source ItemStack
 ItemStack Slot.getStack()
          Helper fnct to get the stack in the slot.
 ItemStack InventoryCrafting.getStackInRowAndColumn(int par1, int par2)
          Returns the itemstack in the slot specified (Top left is 0, 0).
 ItemStack TileEntityBrewingStand.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack InventoryMerchant.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack TileEntityDispenser.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack InventoryCrafting.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack EntityMinecart.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack TileEntityChest.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack TileEntityBeacon.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack TileEntityFurnace.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack InventoryCraftResult.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack IInventory.getStackInSlot(int var1)
          Returns the stack in slot i
 ItemStack InventoryBasic.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack InventoryPlayer.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack InventoryLargeChest.getStackInSlot(int par1)
          Returns the stack in slot i
 ItemStack TileEntityBrewingStand.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack InventoryMerchant.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack TileEntityDispenser.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack InventoryCrafting.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack EntityMinecart.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack TileEntityChest.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack TileEntityBeacon.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack TileEntityFurnace.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack InventoryCraftResult.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack IInventory.getStackInSlotOnClosing(int var1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack InventoryBasic.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack InventoryPlayer.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack InventoryLargeChest.getStackInSlotOnClosing(int par1)
          When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
 ItemStack DataWatcher.getWatchableObjectItemStack(int par1)
          Get a watchable object as an ItemStack.
static ItemStack ItemStack.loadItemStackFromNBT(NBTTagCompound par0NBTTagCompound)
           
 ItemStack ItemFood.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemBucketMilk.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemPotion.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemSoup.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemBow.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack Item.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemStack.onFoodEaten(World par1World, EntityPlayer par2EntityPlayer)
           
 ItemStack ItemGlassBottle.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemLilyPad.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemSword.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemFood.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemBoat.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemFishingRod.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemCarrotOnAStick.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEditableBook.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemBucketMilk.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemWritableBook.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemPotion.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEmptyMap.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEnderEye.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemBow.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemExpBottle.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemSnowball.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack Item.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEgg.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemBucket.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEnderPearl.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
static ItemStack Packet.readItemStack(DataInputStream par0DataInputStream)
          Reads a ItemStack from the InputStream
 ItemStack Container.slotClick(int par1, int par2, int par3, EntityPlayer par4EntityPlayer)
           
 ItemStack ItemStack.splitStack(int par1)
          Remove the argument from the stack size.
 ItemStack ContainerEnchantment.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerPlayer.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerRepair.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerChest.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack Container.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerMerchant.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerBrewingStand.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerDispenser.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerBeacon.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerFurnace.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ContainerWorkbench.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
          Called when a player shift-clicks on a slot.
 ItemStack ItemStack.useItemRightClick(World par1World, EntityPlayer par2EntityPlayer)
          Called whenever this item stack is equipped and right clicked.
 ItemStack PlayerControllerMP.windowClick(int par1, int par2, int par3, int par4, EntityPlayer par5EntityPlayer)
           
 

Methods in net.minecraft.src that return types with arguments of type ItemStack
 ArrayList<ItemStack> BlockStem.getBlockDropped(World world, int x, int y, int z, int metadata, int fortune)
           
 ArrayList<ItemStack> BlockCrops.getBlockDropped(World world, int x, int y, int z, int metadata, int fortune)
           
 ArrayList<ItemStack> BlockNetherStalk.getBlockDropped(World world, int x, int y, int z, int metadata, int fortune)
           
 ArrayList<ItemStack> BlockTallGrass.getBlockDropped(World world, int x, int y, int z, int meta, int fortune)
           
 ArrayList<ItemStack> Block.getBlockDropped(World world, int x, int y, int z, int metadata, int fortune)
          This returns a complete list of items dropped from this block.
 List<ItemStack> PotionEffect.getCurativeItems()
          Returns a list of curative items for the potion effect
 List<ItemStack> EntityMinecart.getItemsDropped()
          Override this to define which items your cart drops when broken.
 ArrayList<ItemStack> BlockLeaves.onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
           
 ArrayList<ItemStack> EntityMooshroom.onSheared(ItemStack item, World world, int X, int Y, int Z, int fortune)
           
 ArrayList<ItemStack> BlockTallGrass.onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
           
 ArrayList<ItemStack> EntitySheep.onSheared(ItemStack item, World world, int X, int Y, int Z, int fortune)
           
 ArrayList<ItemStack> BlockVine.onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
           
 

Methods in net.minecraft.src with parameters of type ItemStack
 boolean DemoWorldManager.activateBlockOrUseItem(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Activate the clicked on block, otherwise use the held item.
 boolean ItemInWorldManager.activateBlockOrUseItem(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Activate the clicked on block, otherwise use the held item.
 void PotionEffect.addCurativeItem(ItemStack stack)
          Adds the given stack to list of curative items for the potion effect
 void ItemMap.addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
           
 void ItemEditableBook.addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
           
 void ItemPotion.addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
           
 void ItemRecord.addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
           
 void Item.addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
           
 boolean InventoryPlayer.addItemStackToInventory(ItemStack par1ItemStack)
          Adds the item stack to the inventory, returns false if it is impossible.
static ItemStack EnchantmentHelper.addRandomEnchantment(Random par0Random, ItemStack par1ItemStack, int par2)
          Adds a random enchantment to the specified item.
static void ModLoader.addRecipe(ItemStack output, Object... params)
          Add a Shaped Recipe
 void CraftingManager.addRecipe(ItemStack par1ItemStack, Object... par2ArrayOfObj)
          Adds a recipe.
static void ModLoader.addShapelessRecipe(ItemStack output, Object... params)
          Add a shapeless recipe
 void CraftingManager.addShapelessRecipe(ItemStack par1ItemStack, Object... par2ArrayOfObj)
           
 void FurnaceRecipes.addSmelting(int itemID, int metadata, ItemStack itemstack)
          Deprecated. 
 void FurnaceRecipes.addSmelting(int itemID, int metadata, ItemStack itemstack, float experience)
          A metadata sensitive version of adding a furnace recipe.
static void ModLoader.addSmelting(int input, ItemStack output)
          Add a new product to be smelted
static void ModLoader.addSmelting(int input, ItemStack output, float experience)
          Add a new product to be smelted
 void FurnaceRecipes.addSmelting(int par1, ItemStack par2ItemStack, float par3)
          Adds a smelting recipe.
static boolean ItemStack.areItemStacksEqual(ItemStack par0ItemStack, ItemStack par1ItemStack)
          compares ItemStack argument1 with ItemStack argument2; returns true if both ItemStacks are equal
static boolean ItemStack.areItemStackTagsEqual(ItemStack par0ItemStack, ItemStack par1ItemStack)
           
static List EnchantmentHelper.buildEnchantmentList(Random par0Random, ItemStack par1ItemStack, int par2)
          Create a list of random EnchantmentData (enchantments) that can be added together to the ItemStack, the 3rd parameter is the total enchantability level.
static int EnchantmentHelper.calcItemStackEnchantability(Random par0Random, int par1, int par2, ItemStack par3ItemStack)
          Returns the enchantability of itemstack, it's uses a singular formula for each index (2nd parameter: 0, 1 and 2), cutting to the max enchantability power of the table (3rd parameter)
 boolean Enchantment.canEnchantItem(ItemStack item)
          Called to determine if this enchantment can be applied to a ItemStack
 boolean ItemSlab.canPlaceItemBlockOnSide(World par1World, int par2, int par3, int par4, int par5, EntityPlayer par6EntityPlayer, ItemStack par7ItemStack)
           
 boolean ItemBlock.canPlaceItemBlockOnSide(World par1World, int par2, int par3, int par4, int par5, EntityPlayer par6EntityPlayer, ItemStack par7ItemStack)
           
 boolean EntityPlayer.canPlayerEdit(int par1, int par2, int par3, int par4, ItemStack par5ItemStack)
           
 MerchantRecipe MerchantRecipeList.canRecipeBeUsed(ItemStack par1ItemStack, ItemStack par2ItemStack, int par3)
          can par1,par2 be used to in crafting recipe par3
static ItemStack ItemStack.copyItemStack(ItemStack par0ItemStack)
          Creates a copy of a ItemStack, a null parameters will return a null.
 Entity Item.createEntity(World world, Entity location, ItemStack itemstack)
          This function should return a new entity to replace the dropped item.
 Packet ItemMap.createMapDataPacket(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          returns null if no update is to be sent
 Packet ItemMapBase.createMapDataPacket(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          returns null if no update is to be sent
 void EntityLiving.curePotionEffects(ItemStack curativeItem)
          Removes all potion effects that have curativeItem as a curative item for its effect
 ItemStack BehaviorDefaultDispenseItem.dispense(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispenses the specified ItemStack from a dispenser.
 ItemStack IBehaviorDispenseItem.dispense(IBlockSource var1, ItemStack var2)
          Dispenses the specified ItemStack from a dispenser.
 ItemStack BehaviorPotionDispense.dispense(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispenses the specified ItemStack from a dispenser.
static boolean ModLoader.dispenseEntity(World world, double x, double y, double z, int xVel, int zVel, ItemStack item)
          Deprecated. 
 ItemStack BehaviorBucketEmptyDispense.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorProjectileDispense.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorMobEggDispense.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorBucketFullDispense.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorDispenseBoat.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorDispenseFireball.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 ItemStack BehaviorDispenseMinecart.dispenseStack(IBlockSource par1IBlockSource, ItemStack par2ItemStack)
          Dispense the specified stack, play the dispense sound and spawn particles.
 void EntityPlayerSP.displayGUIBook(ItemStack par1ItemStack)
          Displays the GUI for interacting with a book.
 void EntityPlayer.displayGUIBook(ItemStack par1ItemStack)
          Displays the GUI for interacting with a book.
 boolean Item.doesContainerItemLeaveCraftingGrid(ItemStack par1ItemStack)
          If this returns true, after a recipe involving this item is crafted the container item will be added to the player's inventory instead of remaining in the crafting grid.
 void RenderGlobal.drawBlockBreaking(EntityPlayer par1EntityPlayer, MovingObjectPosition par2MovingObjectPosition, int par3, ItemStack par4ItemStack, float par5)
           
 void RenderGlobal.drawSelectionBox(EntityPlayer par1EntityPlayer, MovingObjectPosition par2MovingObjectPosition, int par3, ItemStack par4ItemStack, float par5)
          Draws the selection box for the player.
 EntityItem EntityPlayer.dropPlayerItem(ItemStack par1ItemStack)
          Args: itemstack - called when player drops an item stack that's not in his inventory (like items still placed in a workbench while the workbench'es GUI gets closed)
 EntityItem EntityPlayer.dropPlayerItemWithRandomChoice(ItemStack par1ItemStack, boolean par2)
          Args: itemstack, flag
 EntityItem Entity.entityDropItem(ItemStack par1ItemStack, float par2)
          Drops an item at the position of the entity.
 int TileEntityDispenser.func_70360_a(ItemStack par1ItemStack)
           
 byte[] MapData.func_76193_a(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 String Item.func_77653_i(ItemStack par1ItemStack)
           
 void PlayerControllerMP.func_78752_a(ItemStack par1ItemStack)
           
static int EntityLiving.func_82159_b(ItemStack par0ItemStack)
           
static void BehaviorDefaultDispenseItem.func_82486_a(World par0World, ItemStack par1ItemStack, int par2, EnumFacing par3EnumFacing, IPosition par4IPosition)
           
 void ItemArmor.func_82813_b(ItemStack par1ItemStack, int par2)
           
 void BlockJukeBox.func_85106_a(World par1World, int par2, int par3, int par4, ItemStack par5ItemStack)
           
 int ItemArmor.getColor(ItemStack par1ItemStack)
          Return the color for the specified armor ItemStack.
 int ItemLilyPad.getColorFromItemStack(ItemStack par1ItemStack, int par2)
           
 int ItemArmor.getColorFromItemStack(ItemStack par1ItemStack, int par2)
           
 int ItemMonsterPlacer.getColorFromItemStack(ItemStack par1ItemStack, int par2)
           
 int ItemPotion.getColorFromItemStack(ItemStack par1ItemStack, int par2)
           
 int Item.getColorFromItemStack(ItemStack par1ItemStack, int par2)
           
 int ItemLeaves.getColorFromItemStack(ItemStack par1ItemStack, int par2)
           
 int ItemColored.getColorFromItemStack(ItemStack par1ItemStack, int par2)
           
 ItemStack Item.getContainerItemStack(ItemStack itemStack)
          ItemStack sensitive version of getContainerItem.
 List ItemPotion.getEffects(ItemStack par1ItemStack)
          Returns a list of potion effects for the specified itemstack.
static int EnchantmentHelper.getEnchantmentLevel(int par0, ItemStack par1ItemStack)
          Returns the level of enchantment on the ItemStack passed.
static int EnchantmentHelper.getEnchantmentModifierDamage(ItemStack[] par0ArrayOfItemStack, DamageSource par1DamageSource)
          Returns the modifier of protection enchantments on armors equipped on player.
static Map EnchantmentHelper.getEnchantments(ItemStack par0ItemStack)
          Return the enchantments for the specified stack.
 int Item.getEntityLifespan(ItemStack itemStack, World world)
          Retrieves the normal 'lifespan' of this item when it is dropped on the ground as a EntityItem.
 float FurnaceRecipes.getExperience(ItemStack item)
          Grabs the amount of base experience for this item to give when pulled from the furnace slot.
 int Item.getIconFromItemStackForMultiplePasses(ItemStack stack, int pass)
          Return the correct icon for rendering based on the supplied ItemStack and render pass.
 int Item.getIconIndex(ItemStack par1ItemStack)
           
 int Item.getIconIndex(ItemStack stack, int renderPass, EntityPlayer player, ItemStack usingItem, int useRemaining)
          Player, Render pass, and item usage sensitive version of getIconIndex.
 boolean ItemArmor.getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
          Return whether this item is repairable in an anvil.
 boolean ItemSword.getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
          Return whether this item is repairable in an anvil.
 boolean ItemTool.getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
          Return whether this item is repairable in an anvil.
 boolean Item.getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
          Return whether this item is repairable in an anvil.
static int TileEntityFurnace.getItemBurnTime(ItemStack par0ItemStack)
          Returns the number of ticks that the supplied fuel item will keep the furnace burning, or 0 if the item isn't fuel
 String ItemSkull.getItemDisplayName(ItemStack par1ItemStack)
           
 String ItemMonsterPlacer.getItemDisplayName(ItemStack par1ItemStack)
           
 String ItemEditableBook.getItemDisplayName(ItemStack par1ItemStack)
           
 String ItemPotion.getItemDisplayName(ItemStack par1ItemStack)
           
 String Item.getItemDisplayName(ItemStack par1ItemStack)
           
 int EntityLiving.getItemIcon(ItemStack par1ItemStack, int par2)
           
 int EntityPlayer.getItemIcon(ItemStack par1ItemStack, int par2)
           
 String ItemDye.getItemNameIS(ItemStack par1ItemStack)
           
 String ItemSlab.getItemNameIS(ItemStack par1ItemStack)
           
 String ItemCloth.getItemNameIS(ItemStack par1ItemStack)
           
 String ItemSkull.getItemNameIS(ItemStack par1ItemStack)
           
 String ItemMultiTextureTile.getItemNameIS(ItemStack par1ItemStack)
           
 String ItemCoal.getItemNameIS(ItemStack par1ItemStack)
           
 String ItemBlock.getItemNameIS(ItemStack par1ItemStack)
           
 String Item.getItemNameIS(ItemStack par1ItemStack)
           
 String ItemLeaves.getItemNameIS(ItemStack par1ItemStack)
           
 String ItemColored.getItemNameIS(ItemStack par1ItemStack)
           
 EnumAction ItemSword.getItemUseAction(ItemStack par1ItemStack)
          returns the action that specifies what animation to play when the items is being used
 EnumAction ItemFood.getItemUseAction(ItemStack par1ItemStack)
          returns the action that specifies what animation to play when the items is being used
 EnumAction ItemBucketMilk.getItemUseAction(ItemStack par1ItemStack)
          returns the action that specifies what animation to play when the items is being used
 EnumAction ItemPotion.getItemUseAction(ItemStack par1ItemStack)
          returns the action that specifies what animation to play when the items is being used
 EnumAction ItemBow.getItemUseAction(ItemStack par1ItemStack)
          returns the action that specifies what animation to play when the items is being used
 EnumAction Item.getItemUseAction(ItemStack par1ItemStack)
          returns the action that specifies what animation to play when the items is being used
 String Item.getLocalItemName(ItemStack par1ItemStack)
           
 MapData ItemMap.getMapData(ItemStack par1ItemStack, World par2World)
           
 int ItemSword.getMaxItemUseDuration(ItemStack par1ItemStack)
          How long it takes to use or consume an item
 int ItemFood.getMaxItemUseDuration(ItemStack par1ItemStack)
          How long it takes to use or consume an item
 int ItemBucketMilk.getMaxItemUseDuration(ItemStack par1ItemStack)
          How long it takes to use or consume an item
 int ItemPotion.getMaxItemUseDuration(ItemStack par1ItemStack)
          How long it takes to use or consume an item
 int ItemBow.getMaxItemUseDuration(ItemStack par1ItemStack)
          How long it takes to use or consume an item
 int Item.getMaxItemUseDuration(ItemStack par1ItemStack)
          How long it takes to use or consume an item
static int BlockFlowerPot.getMetaForPlant(ItemStack par0ItemStack)
          Return the flower pot metadata value associated with the specified item.
 byte[] MapInfo.getPlayersOnMap(ItemStack par1ItemStack)
          returns a 1+players*3 array, of x,y, and color .
 EnumRarity ItemAppleGold.getRarity(ItemStack par1ItemStack)
           
 EnumRarity ItemRecord.getRarity(ItemStack par1ItemStack)
           
 EnumRarity Item.getRarity(ItemStack par1ItemStack)
           
 float Item.getSmeltingExperience(ItemStack item)
          Determines the base experience for a player when they remove this item from a furnace slot.
 ItemStack FurnaceRecipes.getSmeltingResult(ItemStack item)
          Used to get the resulting ItemStack form a source ItemStack
 float ItemSword.getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
          Returns the strength of the stack against a given block.
 float ItemTool.getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
          Returns the strength of the stack against a given block.
 float ItemAxe.getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
          Returns the strength of the stack against a given block.
 float ItemPickaxe.getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
          Returns the strength of the stack against a given block.
 float ItemShears.getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
          Returns the strength of the stack against a given block.
 float Item.getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
          Returns the strength of the stack against a given block.
 float ItemTool.getStrVsBlock(ItemStack stack, Block block, int meta)
          FORGE: Overridden to allow custom tool effectiveness
 float Item.getStrVsBlock(ItemStack itemstack, Block block, int metadata)
          Metadata-sensitive version of getStrVsBlock
 boolean ItemArmor.hasColor(ItemStack par1ItemStack)
          Return whether the specified armor ItemStack has a color.
 boolean Item.hasCustomEntity(ItemStack stack)
          Determines if this Item has a special entity for when they are in the world.
 boolean ItemAppleGold.hasEffect(ItemStack par1ItemStack)
           
 boolean ItemEditableBook.hasEffect(ItemStack par1ItemStack)
           
 boolean ItemPotion.hasEffect(ItemStack par1ItemStack)
           
 boolean ItemExpBottle.hasEffect(ItemStack par1ItemStack)
           
 boolean Item.hasEffect(ItemStack par1ItemStack)
           
 boolean ItemSimpleFoiled.hasEffect(ItemStack par1ItemStack)
           
 boolean InventoryPlayer.hasItemStack(ItemStack par1ItemStack)
          Returns true if the specified ItemStack exists in the inventory.
 boolean ItemSword.hitEntity(ItemStack par1ItemStack, EntityLiving par2EntityLiving, EntityLiving par3EntityLiving)
          Current implementations of this method in child classes do not use the entry argument beside ev.
 boolean ItemTool.hitEntity(ItemStack par1ItemStack, EntityLiving par2EntityLiving, EntityLiving par3EntityLiving)
          Current implementations of this method in child classes do not use the entry argument beside ev.
 boolean ItemSaddle.hitEntity(ItemStack par1ItemStack, EntityLiving par2EntityLiving, EntityLiving par3EntityLiving)
          Current implementations of this method in child classes do not use the entry argument beside ev.
 boolean Item.hitEntity(ItemStack par1ItemStack, EntityLiving par2EntityLiving, EntityLiving par3EntityLiving)
          Current implementations of this method in child classes do not use the entry argument beside ev.
 boolean EntityWolf.isBreedingItem(ItemStack par1ItemStack)
          Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
 boolean EntityAnimal.isBreedingItem(ItemStack par1ItemStack)
          Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
 boolean EntityChicken.isBreedingItem(ItemStack par1ItemStack)
          Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
 boolean EntityPig.isBreedingItem(ItemStack par1ItemStack)
          Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
 boolean EntityOcelot.isBreedingItem(ItemStack par1ItemStack)
          Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
 boolean PotionEffect.isCurativeItem(ItemStack stack)
          Checks the given ItemStack to see if it is in the list of curative items for the potion effect
 boolean ItemStack.isItemEqual(ItemStack par1ItemStack)
          compares ItemStack argument to the instance ItemStack; returns true if the Items contained in both ItemStacks are equal
static boolean TileEntityFurnace.isItemFuel(ItemStack par0ItemStack)
          Return true if item is a fuel source (getItemBurnTime() > 0).
 boolean Item.isItemTool(ItemStack par1ItemStack)
          Checks isDamagable and if it cannot be stacked
 boolean SlotCrafting.isItemValid(ItemStack par1ItemStack)
          Check if the stack is a valid item for this slot.
 boolean SlotMerchantResult.isItemValid(ItemStack par1ItemStack)
          Check if the stack is a valid item for this slot.
 boolean Slot.isItemValid(ItemStack par1ItemStack)
          Check if the stack is a valid item for this slot.
 boolean SlotFurnace.isItemValid(ItemStack par1ItemStack)
          Check if the stack is a valid item for this slot.
 boolean BlockLeaves.isShearable(ItemStack item, World world, int x, int y, int z)
           
 boolean EntityMooshroom.isShearable(ItemStack item, World world, int X, int Y, int Z)
           
 boolean BlockTallGrass.isShearable(ItemStack item, World world, int x, int y, int z)
           
 boolean EntitySheep.isShearable(ItemStack item, World world, int X, int Y, int Z)
           
 boolean BlockVine.isShearable(ItemStack item, World world, int x, int y, int z)
           
 boolean ItemDye.itemInteractionForEntity(ItemStack par1ItemStack, EntityLiving par2EntityLiving)
          dye sheep, place saddles, etc ...
 boolean ItemShears.itemInteractionForEntity(ItemStack itemstack, EntityLiving entity)
           
 boolean ItemSaddle.itemInteractionForEntity(ItemStack par1ItemStack, EntityLiving par2EntityLiving)
          dye sheep, place saddles, etc ...
 boolean Item.itemInteractionForEntity(ItemStack par1ItemStack, EntityLiving par2EntityLiving)
          dye sheep, place saddles, etc ...
static Map EnchantmentHelper.mapEnchantmentData(int par0, ItemStack par1ItemStack)
          Creates a 'Map' of EnchantmentData (enchantments) possible to add on the ItemStack and the enchantability level passed.
 boolean ItemSword.onBlockDestroyed(ItemStack par1ItemStack, World par2World, int par3, int par4, int par5, int par6, EntityLiving par7EntityLiving)
           
 boolean ItemTool.onBlockDestroyed(ItemStack par1ItemStack, World par2World, int par3, int par4, int par5, int par6, EntityLiving par7EntityLiving)
           
 boolean ItemShears.onBlockDestroyed(ItemStack par1ItemStack, World par2World, int par3, int par4, int par5, int par6, EntityLiving par7EntityLiving)
           
 boolean Item.onBlockDestroyed(ItemStack par1ItemStack, World par2World, int par3, int par4, int par5, int par6, EntityLiving par7EntityLiving)
           
 boolean ItemShears.onBlockStartBreak(ItemStack itemstack, int x, int y, int z, EntityPlayer player)
           
 boolean Item.onBlockStartBreak(ItemStack itemstack, int X, int Y, int Z, EntityPlayer player)
          Called before a block is broken.
 void ItemMap.onCreated(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called when item is crafted/smelted.
 void Item.onCreated(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called when item is crafted/smelted.
 boolean Item.onDroppedByPlayer(ItemStack item, EntityPlayer player)
          Called when a player drops the item into the world, returning false from this will prevent the item from being removed from the players inventory and spawning in the world
 ItemStack ItemFood.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemBucketMilk.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemPotion.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemSoup.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack ItemBow.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 ItemStack Item.onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
           
 void BaseMod.onItemPickup(EntityPlayer player, ItemStack item)
          Handle item pickup
static void ModLoader.onItemPickup(EntityPlayer player, ItemStack item)
          Deprecated. 
 ItemStack ItemGlassBottle.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemLilyPad.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemSword.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemFood.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemBoat.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemFishingRod.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemCarrotOnAStick.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEditableBook.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemBucketMilk.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemWritableBook.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemPotion.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEmptyMap.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEnderEye.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemBow.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemExpBottle.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemSnowball.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack Item.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEgg.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemBucket.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 ItemStack ItemEnderPearl.onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
          Called whenever this item is equipped and the right mouse button is pressed.
 boolean ItemDye.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemSlab.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemFlintAndSteel.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemSkull.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemMonsterPlacer.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemMinecart.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemDoor.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemBlock.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemRedstone.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemPotion.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemReed.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemHoe.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemHangingEntity.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemEnderEye.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemRecord.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemSeedFood.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemBed.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemSign.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemFireball.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean Item.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean ItemSeeds.onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
          Callback for item usage.
 boolean Item.onItemUseFirst(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side)
          Deprecated. 
 boolean Item.onItemUseFirst(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ)
          This is called when the item is used, before the block is activated.
 boolean Item.onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity)
          Called when the player Left Clicks (attacks) an entity.
 void SlotCrafting.onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
           
 void SlotMerchantResult.onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
           
 void Slot.onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
           
 void SlotFurnace.onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
           
 boolean PlayerControllerMP.onPlayerRightClick(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack, int par4, int par5, int par6, int par7, Vec3 par8Vec3)
          Handles a players right click.
 void ItemBow.onPlayerStoppedUsing(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4)
          called when the player releases the use item button.
 void Item.onPlayerStoppedUsing(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4)
          called when the player releases the use item button.
 ArrayList<ItemStack> BlockLeaves.onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
           
 ArrayList<ItemStack> EntityMooshroom.onSheared(ItemStack item, World world, int X, int Y, int Z, int fortune)
           
 ArrayList<ItemStack> BlockTallGrass.onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
           
 ArrayList<ItemStack> EntitySheep.onSheared(ItemStack item, World world, int X, int Y, int Z, int fortune)
           
 ArrayList<ItemStack> BlockVine.onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
           
 void Slot.onSlotChange(ItemStack par1ItemStack, ItemStack par2ItemStack)
          if par2 has more items than par1, onCrafting(item,countIncrease) is called
 void ItemMap.onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5)
          Called each tick as long the item is on a player inventory.
 void Item.onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5)
          Called each tick as long the item is on a player inventory.
 void Item.onUsingItemTick(ItemStack stack, EntityPlayer player, int count)
          Called each tick while using an item.
 boolean ItemBlock.placeBlockAt(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int metadata)
          Called to actually place the block, after the location is determined and all permission checks have been made.
 void Slot.putStack(ItemStack par1ItemStack)
          Helper method to put a stack in the slot.
 void Container.putStackInSlot(int par1, ItemStack par2ItemStack)
          args: slotID, itemStack to put in slot
 void Container.putStacksInSlots(ItemStack[] par1ArrayOfItemStack)
           
 void ItemArmor.removeColor(ItemStack par1ItemStack)
          Remove the color from the specified armor ItemStack.
 void EntityLiving.renderBrokenItemStack(ItemStack par1ItemStack)
          Renders broken item particles using the given ItemStack
 void ItemRenderer.renderItem(EntityLiving par1EntityLiving, ItemStack par2ItemStack, int par3)
          Renders the item stack for being in an entity's hand Args: itemStack
 void 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 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 RenderItem.renderItemOverlayIntoGUI(FontRenderer par1FontRenderer, RenderEngine par2RenderEngine, ItemStack par3ItemStack, int par4, int par5)
          Renders the item's overlay information.
 void GuiRepair.sendSlotContents(Container par1Container, int par2, ItemStack par3ItemStack)
          Sends the contents of an inventory slot to the client-side Container.
 void CreativeCrafting.sendSlotContents(Container par1Container, int par2, ItemStack par3ItemStack)
          Sends the contents of an inventory slot to the client-side Container.
 void ICrafting.sendSlotContents(Container var1, int var2, ItemStack var3)
          Sends the contents of an inventory slot to the client-side Container.
 void EntityPlayerMP.sendSlotContents(Container par1Container, int par2, ItemStack par3ItemStack)
          Sends the contents of an inventory slot to the client-side Container.
 void PlayerControllerMP.sendSlotPacket(ItemStack par1ItemStack, int par2)
          Used in PlayerControllerMP to update the server with an ItemStack in a slot.
 boolean PlayerControllerMP.sendUseItem(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack)
          Notifies the server of things like consuming food, etc...
 void EntityOtherPlayerMP.setCurrentItemOrArmor(int par1, ItemStack par2ItemStack)
          Sets the held item, or an armor slot.
 void EntitySkeleton.setCurrentItemOrArmor(int par1, ItemStack par2ItemStack)
          Sets the held item, or an armor slot.
 void EntityLiving.setCurrentItemOrArmor(int par1, ItemStack par2ItemStack)
          Sets the held item, or an armor slot.
 void Entity.setCurrentItemOrArmor(int par1, ItemStack par2ItemStack)
          Sets the held item, or an armor slot.
 void EntityPlayer.setCurrentItemOrArmor(int par1, ItemStack par2ItemStack)
          Sets the held item, or an armor slot.
 void EntityItemFrame.setDisplayedItem(ItemStack par1ItemStack)
           
static void EnchantmentHelper.setEnchantments(Map par0Map, ItemStack par1ItemStack)
          Set the enchantments for the specified stack.
 void TileEntityBrewingStand.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void InventoryMerchant.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void TileEntityDispenser.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void InventoryCrafting.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void EntityMinecart.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void TileEntityChest.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void TileEntityBeacon.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void TileEntityFurnace.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void InventoryCraftResult.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void IInventory.setInventorySlotContents(int var1, ItemStack var2)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void InventoryBasic.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void InventoryPlayer.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void InventoryLargeChest.setInventorySlotContents(int par1, ItemStack par2ItemStack)
          Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
 void EntityPlayer.setItemInUse(ItemStack par1ItemStack, int par2)
          sets the itemInUse when the use item button is clicked.
 void EntityPlayerMP.setItemInUse(ItemStack par1ItemStack, int par2)
          sets the itemInUse when the use item button is clicked.
 void InventoryPlayer.setItemStack(ItemStack par1ItemStack)
           
 void BaseMod.takenFromCrafting(EntityPlayer player, ItemStack item, IInventory matrix)
          Called when someone crafts an item from a crafting table
static void ModLoader.takenFromCrafting(EntityPlayer player, ItemStack item, IInventory matrix)
          Deprecated. 
 void BaseMod.takenFromFurnace(EntityPlayer player, ItemStack item)
          Called when someone takes a smelted item from a furnace
static void ModLoader.takenFromFurnace(EntityPlayer player, ItemStack item)
          Deprecated. 
 boolean DemoWorldManager.tryUseItem(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack)
          Attempts to right-click use an item by the given EntityPlayer in the given World
 boolean ItemInWorldManager.tryUseItem(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack)
          Attempts to right-click use an item by the given EntityPlayer in the given World
 void MapData.updateVisiblePlayers(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
          Adds the player passed to the list of visible players and checks to see which players are visible
static void Packet.writeItemStack(ItemStack par0ItemStack, DataOutputStream par1DataOutputStream)
          Writes the ItemStack's ID (short), then size (byte), then damage.
 

Method parameters in net.minecraft.src with type arguments of type ItemStack
 void PotionEffect.setCurativeItems(List<ItemStack> curativeItems)
          Sets the array of curative items for the potion effect
 

Constructors in net.minecraft.src with parameters of type ItemStack
Achievement(int par1, String par2Str, int par3, int par4, ItemStack par5ItemStack, Achievement par6Achievement)
           
EntityItem(World par1World, double par2, double par4, double par6, ItemStack par8ItemStack)
           
EntityPotion(World par1World, double par2, double par4, double par6, ItemStack par8ItemStack)
           
EntityPotion(World par1World, EntityLiving par2EntityLiving, ItemStack par3ItemStack)
           
GuiScreenBook(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack, boolean par3)
           
MerchantRecipe(ItemStack par1ItemStack, Item par2Item)
           
MerchantRecipe(ItemStack par1ItemStack, ItemStack par2ItemStack)
           
MerchantRecipe(ItemStack par1ItemStack, ItemStack par2ItemStack, ItemStack par3ItemStack)
           
Packet102WindowClick(int par1, int par2, int par3, int par4, ItemStack par5ItemStack, short par6)
           
Packet103SetSlot(int par1, int par2, ItemStack par3ItemStack)
           
Packet107CreativeSetSlot(int par1, ItemStack par2ItemStack)
           
Packet15Place(int par1, int par2, int par3, int par4, ItemStack par5ItemStack, float par6, float par7, float par8)
           
Packet5PlayerInventory(int par1, int par2, ItemStack par3ItemStack)
           
ShapedRecipes(int par1, int par2, ItemStack[] par3ArrayOfItemStack, ItemStack par4ItemStack)
           
ShapedRecipes(int par1, int par2, ItemStack[] par3ArrayOfItemStack, ItemStack par4ItemStack)
           
ShapelessRecipes(ItemStack par1ItemStack, List par2List)
           
WeightedRandomChestContent(ItemStack stack, int min, int max, int weight)
           
 

Uses of ItemStack in net.minecraftforge.client
 

Methods in net.minecraftforge.client with parameters of type ItemStack
static String ForgeHooksClient.getArmorTexture(ItemStack armor, String _default)
           
static IItemRenderer MinecraftForgeClient.getItemRenderer(ItemStack item, IItemRenderer.ItemRenderType type)
           
 boolean IItemRenderer.handleRenderType(ItemStack item, IItemRenderer.ItemRenderType type)
          Checks if this renderer should handle a specific item's render type
static boolean ForgeHooksClient.onDrawBlockHighlight(RenderGlobal context, EntityPlayer player, MovingObjectPosition target, int subID, ItemStack currentItem, float partialTicks)
           
static boolean ForgeHooksClient.renderEntityItem(EntityItem entity, ItemStack item, float bobing, float rotation, Random random, RenderEngine engine, RenderBlocks renderBlocks)
           
static void ForgeHooksClient.renderEquippedItem(IItemRenderer customRenderer, RenderBlocks renderBlocks, EntityLiving entity, ItemStack item)
           
static boolean ForgeHooksClient.renderInventoryItem(RenderBlocks renderBlocks, RenderEngine engine, ItemStack item, boolean inColor, float zLevel, float x, float y)
           
 void IItemRenderer.renderItem(IItemRenderer.ItemRenderType type, ItemStack item, Object... data)
          Called to do the actual rendering, see ItemRenderType for details on when specific types are run, and what extra data is passed into the data parameter.
 boolean IItemRenderer.shouldUseRenderHelper(IItemRenderer.ItemRenderType type, ItemStack item, IItemRenderer.ItemRendererHelper helper)
          Checks if certain helper functionality should be executed for this renderer.
 

Uses of ItemStack in net.minecraftforge.client.event
 

Fields in net.minecraftforge.client.event declared as ItemStack
 ItemStack DrawBlockHighlightEvent.currentItem
           
 

Constructors in net.minecraftforge.client.event with parameters of type ItemStack
DrawBlockHighlightEvent(RenderGlobal context, EntityPlayer player, MovingObjectPosition target, int subID, ItemStack currentItem, float partialTicks)
           
 

Uses of ItemStack in net.minecraftforge.common
 

Methods in net.minecraftforge.common that return ItemStack
 ItemStack DungeonHooks.DungeonLoot.generateStack(Random rand)
          Grabs a ItemStack ready to be added to the dungeon chest, the stack size will be between minCount and maxCount
static ItemStack[] ChestGenHooks.generateStacks(Random rand, ItemStack source, int min, int max)
          Generates an array of items based on the input min/max count.
static ItemStack ForgeHooks.getGrassSeed(World world)
           
static ItemStack MinecartRegistry.getItemForCart(Class<? extends EntityMinecart> minecart)
          This function returns an ItemStack that represents this cart.
static ItemStack MinecartRegistry.getItemForCart(Class<? extends EntityMinecart> minecart, int type)
          This function returns an ItemStack that represents this cart.
static ItemStack MinecartRegistry.getItemForCart(EntityMinecart cart)
          This function returns an ItemStack that represents this cart.
static ItemStack DungeonHooks.getRandomDungeonLoot(Random rand)
          Gets a random item stack to place in a dungeon chest during world generation
 

Methods in net.minecraftforge.common that return types with arguments of type ItemStack
static Set<ItemStack> MinecartRegistry.getAllCartItems()
          Will return a set of all registered minecart items.
 ArrayList<ItemStack> IShearable.onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
          Performs the shear function on this object.
 

Methods in net.minecraftforge.common with parameters of type ItemStack
static void DungeonHooks.addDungeonLoot(ItemStack item, int rarity)
          Adds a item stack to the dungeon loot list with a stack size of 1.
static float DungeonHooks.addDungeonLoot(ItemStack item, int rarity, int minCount, int maxCount)
          Adds a item stack, with a range of sizes, to the dungeon loot list.
static void MinecraftForge.addGrassSeed(ItemStack seed, int weight)
          Register a new seed to be dropped when breaking tall grass.
static int ISpecialArmor.ArmorProperties.ApplyArmor(EntityLiving entity, ItemStack[] inventory, DamageSource source, double damage)
          Gathers and applies armor reduction to damage being dealt to a entity.
 void ISpecialArmor.damageArmor(EntityLiving entity, ItemStack stack, DamageSource source, int damage, int slot)
          Applies damage to the ItemStack.
 boolean DungeonHooks.DungeonLoot.equals(ItemStack item)
           
 boolean DungeonHooks.DungeonLoot.equals(ItemStack item, int min, int max)
           
static ItemStack[] ChestGenHooks.generateStacks(Random rand, ItemStack source, int min, int max)
          Generates an array of items based on the input min/max count.
 int ISpecialArmor.getArmorDisplay(EntityPlayer player, ItemStack armor, int slot)
          Get the displayed effective armor.
 String IArmorTextureProvider.getArmorTextureFile(ItemStack itemstack)
          This interface has to return the path to a file that is the same format as iron_1.png (or any of the other armor files).
static Class<? extends EntityMinecart> MinecartRegistry.getCartClassForItem(ItemStack item)
          The function will return the cart class for a given item.
static int MinecartRegistry.getCartTypeForItem(ItemStack item)
          The function will return the cart type for a given item.
 ISpecialArmor.ArmorProperties ISpecialArmor.getProperties(EntityLiving player, ItemStack armor, DamageSource source, double damage, int slot)
          Retrieves the modifiers to be used when calculating armor damage.
 boolean IShearable.isShearable(ItemStack item, World world, int x, int y, int z)
          Checks if the object is currently shearable Example: Sheep return false when they have no wool
static boolean ForgeHooks.isToolEffective(ItemStack stack, Block block, int metadata)
           
static EntityItem ForgeHooks.onPlayerTossEvent(EntityPlayer player, ItemStack item)
           
 ArrayList<ItemStack> IShearable.onSheared(ItemStack item, World world, int x, int y, int z, int fortune)
          Performs the shear function on this object.
static void MinecartRegistry.registerMinecart(Class<? extends EntityMinecart> minecart, int type, ItemStack item)
          Registers a minecart and its corresponding item.
static void MinecartRegistry.registerMinecart(Class<? extends EntityMinecart> cart, ItemStack item)
          Registers a custom minecart and its corresponding item.
static void DungeonHooks.removeDungeonLoot(ItemStack item)
          Removes a item stack from the dungeon loot list, this will remove all items as long as the item stack matches, it will not care about matching the stack size ranges perfectly.
static void DungeonHooks.removeDungeonLoot(ItemStack item, int minCount, int maxCount)
          Removes a item stack from the dungeon loot list.
 void ChestGenHooks.removeItem(ItemStack item)
          Removes all items that match the input item stack, Only metadata and item ID are checked.
static void ChestGenHooks.removeItem(String category, ItemStack item)
           
 

Constructors in net.minecraftforge.common with parameters of type ItemStack
DungeonHooks.DungeonLoot(int weight, ItemStack item, int min, int max)
           
 

Uses of ItemStack in net.minecraftforge.event
 

Methods in net.minecraftforge.event with parameters of type ItemStack
static void ForgeEventFactory.onPlayerDestroyItem(EntityPlayer player, ItemStack stack)
           
 

Uses of ItemStack in net.minecraftforge.event.entity.player
 

Fields in net.minecraftforge.event.entity.player declared as ItemStack
 ItemStack ArrowLooseEvent.bow
           
 ItemStack FillBucketEvent.current
          This event is fired when a player attempts to use a Empty bucket, it can be canceled to completely prevent any further processing.
 ItemStack UseHoeEvent.current
          This event is fired when a player attempts to use a Hoe on a block, it can be canceled to completely prevent any further processing.
 ItemStack PlayerDestroyItemEvent.original
           
 ItemStack FillBucketEvent.result
           
 ItemStack ArrowNockEvent.result
           
 

Constructors in net.minecraftforge.event.entity.player with parameters of type ItemStack
ArrowLooseEvent(EntityPlayer player, ItemStack bow, int charge)
           
ArrowNockEvent(EntityPlayer player, ItemStack result)
           
FillBucketEvent(EntityPlayer player, ItemStack current, World world, MovingObjectPosition target)
           
PlayerDestroyItemEvent(EntityPlayer player, ItemStack original)
           
UseHoeEvent(EntityPlayer player, ItemStack current, World world, int x, int y, int z)
           
 

Uses of ItemStack in net.minecraftforge.liquids
 

Fields in net.minecraftforge.liquids declared as ItemStack
 ItemStack LiquidContainerData.container
           
static ItemStack LiquidContainerRegistry.EMPTY_BUCKET
           
 ItemStack LiquidContainerData.filled
           
 

Methods in net.minecraftforge.liquids that return ItemStack
 ItemStack LiquidStack.asItemStack()
           
static ItemStack LiquidContainerRegistry.fillLiquidContainer(LiquidStack liquid, ItemStack emptyContainer)
           
 

Methods in net.minecraftforge.liquids with parameters of type ItemStack
static boolean LiquidContainerRegistry.containsLiquid(ItemStack filledContainer, LiquidStack liquid)
           
static ItemStack LiquidContainerRegistry.fillLiquidContainer(LiquidStack liquid, ItemStack emptyContainer)
           
static LiquidStack LiquidContainerRegistry.getLiquidForFilledItem(ItemStack filledContainer)
           
static boolean LiquidContainerRegistry.isBucket(ItemStack container)
           
static boolean LiquidContainerRegistry.isContainer(ItemStack container)
           
static boolean LiquidContainerRegistry.isEmptyContainer(ItemStack emptyContainer)
           
static boolean LiquidContainerRegistry.isFilledContainer(ItemStack filledContainer)
           
static boolean LiquidContainerRegistry.isLiquid(ItemStack item)
           
 boolean LiquidStack.isLiquidEqual(ItemStack other)
           
 

Constructors in net.minecraftforge.liquids with parameters of type ItemStack
LiquidContainerData(int stillLiquidId, int movingLiquidId, ItemStack filled)
          Deprecated. 
LiquidContainerData(LiquidStack stillLiquid, ItemStack filled, ItemStack container)
           
LiquidContainerData(LiquidStack stillLiquid, LiquidStack movingLiquid, ItemStack filled, ItemStack container)
          Deprecated. 
 

Uses of ItemStack in net.minecraftforge.oredict
 

Fields in net.minecraftforge.oredict declared as ItemStack
 ItemStack OreDictionary.OreRegisterEvent.Ore
           
 

Methods in net.minecraftforge.oredict that return ItemStack
 ItemStack ShapedOreRecipe.getCraftingResult(InventoryCrafting var1)
           
 ItemStack ShapelessOreRecipe.getCraftingResult(InventoryCrafting var1)
           
 ItemStack ShapedOreRecipe.getRecipeOutput()
           
 ItemStack ShapelessOreRecipe.getRecipeOutput()
           
 

Methods in net.minecraftforge.oredict that return types with arguments of type ItemStack
static ArrayList<ItemStack> OreDictionary.getOres(Integer id)
          Retrieves the ArrayList of items that are registered to this ore type.
static ArrayList<ItemStack> OreDictionary.getOres(String name)
          Retrieves the ArrayList of items that are registered to this ore type.
 

Methods in net.minecraftforge.oredict with parameters of type ItemStack
static boolean OreDictionary.itemMatches(ItemStack target, ItemStack input, boolean strict)
           
static void OreDictionary.registerOre(int id, ItemStack ore)
           
static void OreDictionary.registerOre(String name, ItemStack ore)
           
 

Constructors in net.minecraftforge.oredict with parameters of type ItemStack
OreDictionary.OreRegisterEvent(String name, ItemStack ore)
           
ShapedOreRecipe(ItemStack result, Object... recipe)
           
ShapelessOreRecipe(ItemStack result, Object... recipe)