blob: a71efb83581861b00d0c383f67d73c46e82d70ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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();
/**
* Gets the item in the horse's armor slot.
*
* @return the armor item
*/
ItemStack getArmor();
/**
* Sets the item in the horse's saddle slot.
*
* @param stack the new item
*/
void setSaddle(ItemStack stack);
/**
* Sets the item in the horse's armor slot.
*
* @param stack the new item
*/
void setArmor(ItemStack stack);
}
|