Class ItemExpBottle

java.lang.Object
net.minecraft.src.Item
net.minecraft.src.ItemExpBottle

public class ItemExpBottle extends Item
  • Constructor Details

    • ItemExpBottle

      public ItemExpBottle(int par1)
  • Method Details

    • hasEffect

      public boolean hasEffect(ItemStack par1ItemStack)
      Overrides:
      hasEffect in class Item
    • onItemRightClick

      public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
      Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer
      Overrides:
      onItemRightClick in class Item