Interface HorseInventory

All Superinterfaces:
Inventory, java.lang.Iterable<ItemStack>

public interface HorseInventory
extends Inventory
An interface to the inventory of a Horse.
  • Method Details

    • getSaddle

      ItemStack getSaddle()
      Gets the item in the horse's saddle slot.
      Returns:
      the saddle item
    • getArmor

      ItemStack getArmor()
      Gets the item in the horse's armor slot.
      Returns:
      the armor item
    • setSaddle

      void setSaddle​(ItemStack stack)
      Sets the item in the horse's saddle slot.
      Parameters:
      stack - the new item
    • setArmor

      void setArmor​(ItemStack stack)
      Sets the item in the horse's armor slot.
      Parameters:
      stack - the new item