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

import org.bukkit.entity.AbstractHorse;

/**
 * An interface to the inventory of an {@link AbstractHorse}.
 */
public interface AbstractHorseInventory 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);
}