Package org.bukkit.inventory
Interface HorseInventory
- All Superinterfaces:
AbstractHorseInventory
,Inventory
,Iterable<ItemStack>
An interface to the inventory of a Horse.
-
Method Summary
Methods inherited from interface org.bukkit.inventory.AbstractHorseInventory
getSaddle, setSaddle
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
-
getArmor
Gets the item in the horse's armor slot.- Returns:
- the armor item
-
setArmor
Sets the item in the horse's armor slot.- Parameters:
stack
- the new item
-