Package org.bukkit.inventory
Interface HorseInventory
-
- All Superinterfaces:
AbstractHorseInventory
,Inventory
,Iterable<ItemStack>
public interface HorseInventory extends AbstractHorseInventory
An interface to the inventory of a Horse.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ItemStack
getArmor()
Gets the item in the horse's armor slot.void
setArmor(@Nullable ItemStack stack)
Sets the item in the horse's armor slot.-
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, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-