Class ProgressiveCraftingItem

java.lang.Object
net.minecraft.src.Item
api.item.items.ProgressiveCraftingItem
Direct Known Subclasses:
BoneCarvingItem, KnittingItem, SinewExtractingItem, WebUntanglingItem, WickerWeavingItem

public class ProgressiveCraftingItem extends Item
  • Field Details

  • Constructor Details

    • ProgressiveCraftingItem

      public ProgressiveCraftingItem(int iItemID)
  • Method Details

    • onItemRightClick

      public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player)
      Description copied from class: Item
      // +++START EDIT+++ // ---END EDIT--- Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer
      Overrides:
      onItemRightClick in class Item
    • getItemUseAction

      public EnumAction getItemUseAction(ItemStack par1ItemStack)
      Description copied from class: Item
      returns the action that specifies what animation to play when the items is being used
      Overrides:
      getItemUseAction in class Item
    • getMaxItemUseDuration

      public int getMaxItemUseDuration(ItemStack par1ItemStack)
      Description copied from class: Item
      How long it takes to use or consume an item
      Overrides:
      getMaxItemUseDuration in class Item
    • updateUsingItem

      public void updateUsingItem(ItemStack stack, World world, EntityPlayer player)
      Overrides:
      updateUsingItem in class Item
    • ignoreDamageWhenComparingDuringUse

      public boolean ignoreDamageWhenComparingDuringUse()
      Overrides:
      ignoreDamageWhenComparingDuringUse in class Item
    • playCraftingFX

      protected void playCraftingFX(ItemStack stack, World world, EntityPlayer player)
    • getProgressiveCraftingMaxDamage

      protected int getProgressiveCraftingMaxDamage()