Package org.bukkit.inventory
Interface AbstractHorseInventory
- All Superinterfaces:
Inventory,Iterable<ItemStack>,MountInventory,SaddledMountInventory
- 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, setStorageContentsMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getSaddle
Description copied from interface:SaddledMountInventoryGets the item in the mount's saddle slot.- Specified by:
getSaddlein interfaceSaddledMountInventory- Returns:
- the saddle item
-
setSaddle
Description copied from interface:SaddledMountInventorySets the item in the mount's saddle slot.- Specified by:
setSaddlein interfaceSaddledMountInventory- Parameters:
stack- the new item
-