summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/inventory/HorseInventory.java
blob: a73c98502055cb67ef1978146ab83ed87e526226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.bukkit.inventory;

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

    /**
     * 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);
}