All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bukkit.inventory.HorseInventory Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package org.bukkit.inventory;

/**
 * An interface to the inventory of a Horse.
 */
public interface HorseInventory extends Inventory {

  /**
   * Gets the item in the horse's saddle slot.
   *
   * @return the saddle item
   */
  ItemStack getSaddle();

  /**
   * Sets the item in the horse's saddle slot.
   *
   * @param stack the new item
   */
  void setSaddle(ItemStack stack);

  /**
   * Gets the item in the horse's armor slot.
   *
   * @return the armor item
   */
  ItemStack getArmor();

  /**
   * Sets the item in the horse's armor slot.
   *
   * @param stack the new item
   */
  void setArmor(ItemStack stack);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy