|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HorseInventory
Method Summary | |
---|---|
ItemStack |
getArmor()
Gets the item in the horse's armor slot. |
ItemStack |
getSaddle()
Gets the item in the horse's saddle slot. |
void |
setArmor(ItemStack stack)
Sets the item in the horse's armor slot. |
void |
setSaddle(ItemStack stack)
Sets the item in the horse's saddle slot. |
Methods inherited from interface org.bukkit.inventory.Inventory |
---|
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getHolder, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize |
Method Detail |
---|
ItemStack getSaddle()
ItemStack getArmor()
void setSaddle(ItemStack stack)
stack
- the new itemvoid setArmor(ItemStack stack)
stack
- the new item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |