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 @Deprecated(since="1.21.5") ItemStack getSaddle()
      Deprecated.
      llama's cannot have saddles
      Gets the item in the horse's saddle slot.
      Returns:
      the saddle item
    • setSaddle

      @Deprecated(since="1.21.5") void setSaddle(@Nullable ItemStack stack)
      Deprecated.
      llama's cannot have saddles
      Sets the item in the horse's saddle slot.
      Parameters:
      stack - the new item