Interface AbstractHorseInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>
All Known Subinterfaces:
HorseInventory, LlamaInventory

public interface AbstractHorseInventory extends Inventory
An interface to the inventory of an AbstractHorse.
  • Method Details

    • getSaddle

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

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