Interface ArmoredHorseInventory

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

@NullMarked public interface ArmoredHorseInventory extends AbstractHorseInventory
  • 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