Class ItemSaddle

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

public class ItemSaddle extends Item
  • Constructor Details

    • ItemSaddle

      public ItemSaddle(int par1)
  • Method Details

    • itemInteractionForEntity

      public boolean itemInteractionForEntity(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, EntityLivingBase par3EntityLivingBase)
      Returns true if the item can be used on the given entity, e.g. shears on sheep.
      Overrides:
      itemInteractionForEntity in class Item
    • hitEntity

      public boolean hitEntity(ItemStack par1ItemStack, EntityLivingBase par2EntityLivingBase, EntityLivingBase par3EntityLivingBase)
      Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
      Overrides:
      hitEntity in class Item