Class ItemBucket

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

public class ItemBucket extends Item
  • Constructor Details

    • ItemBucket

      public ItemBucket(int par1, int par2)
  • Method Details

    • 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
    • tryPlaceContainedLiquid

      public boolean tryPlaceContainedLiquid(World par1World, int par2, int par3, int par4)
      Attempts to place the liquid contained inside the bucket.