Package com.loohp.limbo.inventory
Class CustomInventory
java.lang.Object
com.loohp.limbo.inventory.AbstractInventory
com.loohp.limbo.inventory.CustomInventory
- All Implemented Interfaces:
Inventory
,TitledInventory
,Iterable<ItemStack>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.loohp.limbo.inventory.AbstractInventory
AbstractInventory.Unsafe
Nested classes/interfaces inherited from interface com.loohp.limbo.inventory.Inventory
Inventory.Unsafe
-
Field Summary
Fields inherited from class com.loohp.limbo.inventory.AbstractInventory
inventory, inventoryHolder, inventoryType, inverseSlotConvertor, listener, maxStackSize, slotConvertor, viewers
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomInventory
create
(net.kyori.adventure.text.Component title, int size, InventoryHolder inventoryHolder) Deprecated.net.kyori.adventure.text.Component
getTitle()
void
setTitle
(net.kyori.adventure.text.Component title) Methods inherited from class com.loohp.limbo.inventory.AbstractInventory
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, firstPartial, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getUnsafe, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents, updateInventory, updateInventory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.loohp.limbo.inventory.Inventory
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getUnsafe, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContents, updateInventory, updateInventory
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
create
@Deprecated public static CustomInventory create(net.kyori.adventure.text.Component title, int size, InventoryHolder inventoryHolder) Deprecated. -
getTitle
public net.kyori.adventure.text.Component getTitle()- Specified by:
getTitle
in interfaceTitledInventory
-
setTitle
public void setTitle(net.kyori.adventure.text.Component title)
-