Package org.bukkit.inventory
Interface AbstractHorseInventory
- All Known Subinterfaces:
HorseInventory
,LlamaInventory
An interface to the inventory of an
AbstractHorse
.-
Method Summary
Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getSaddle
Gets the item in the horse's saddle slot.- Returns:
- the saddle item
-
setSaddle
Sets the item in the horse's saddle slot.- Parameters:
stack
- the new item
-