Interface HorseInventory

All Superinterfaces:
AbstractHorseInventory, Inventory, Iterable<ItemStack>

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

    • getArmor

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

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