Package org.bukkit.inventory
Interface AbstractHorseInventory
- All Known Subinterfaces:
ArmoredHorseInventory
,HorseInventory
,LlamaInventory
,SaddledHorseInventory
An interface to the inventory of an
AbstractHorse
.-
Method Summary
Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, 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
-