Package org.bukkit.inventory
Interface LlamaInventory
- All Superinterfaces:
AbstractHorseInventory
,Inventory
,Iterable<ItemStack>
,SaddledHorseInventory
An interface to the inventory of a
Llama
.-
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, 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
-
getDecor
Gets the item in the llama's decor slot.- Returns:
- the decor item
-
setDecor
Sets the item in the llama's decor slot.- Parameters:
stack
- the new item
-