Package net.glowstone.inventory
Class GlowLlamaInventory
java.lang.Object
net.glowstone.inventory.GlowInventory
net.glowstone.inventory.GlowLlamaInventory
- All Implemented Interfaces:
Iterable<org.bukkit.inventory.ItemStack>
,org.bukkit.inventory.AbstractHorseInventory
,org.bukkit.inventory.Inventory
,org.bukkit.inventory.LlamaInventory
,org.bukkit.inventory.SaddledHorseInventory
public class GlowLlamaInventory
extends GlowInventory
implements org.bukkit.inventory.LlamaInventory
A llama inventory. A llama can wear a carpet, and if it's carrying a chest, that chest can have 3
to 15 slots.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.glowstone.inventory.GlowInventory
addItem, addItemStack, addViewer, all, all, clear, clear, close, consumeItem, consumeItem, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getHolder, getItem, getLocation, getMaxStackSize, getRawSlots, getSize, getSlot, getSlots, getSlotType, getStorageContents, getTitle, getType, getViewers, getViewersSet, handleShiftClick, initialize, isEmpty, itemPlaceAllowed, itemShiftClickAllowed, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, removeItemStack, removeViewer, setContents, setItem, setMaxStackSize, setStorageContents, setTitle, toString, tryToFillSlots
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
-
Field Details
-
decor
protected org.bukkit.inventory.ItemStack decor -
saddle
protected org.bukkit.inventory.ItemStack saddle
-
-
Constructor Details
-
GlowLlamaInventory
public GlowLlamaInventory(org.bukkit.inventory.InventoryHolder holder, int slots)
-
-
Method Details
-
getDecor
public org.bukkit.inventory.ItemStack getDecor()- Specified by:
getDecor
in interfaceorg.bukkit.inventory.LlamaInventory
-
setDecor
public void setDecor(org.bukkit.inventory.ItemStack decor) - Specified by:
setDecor
in interfaceorg.bukkit.inventory.LlamaInventory
-
getSaddle
public org.bukkit.inventory.ItemStack getSaddle()- Specified by:
getSaddle
in interfaceorg.bukkit.inventory.AbstractHorseInventory
-
setSaddle
public void setSaddle(org.bukkit.inventory.ItemStack saddle) - Specified by:
setSaddle
in interfaceorg.bukkit.inventory.AbstractHorseInventory
-