Package com.loohp.limbo.inventory
Class AnvilInventory
java.lang.Object
com.loohp.limbo.inventory.AbstractInventory
com.loohp.limbo.inventory.AnvilInventory
- 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
FieldsFields inherited from class com.loohp.limbo.inventory.AbstractInventory
inventory, inventoryHolder, inventoryType, inverseSlotConvertor, listener, maxStackSize, slotConvertor, viewers
-
Constructor Summary
ConstructorsConstructorDescriptionAnvilInventory
(net.kyori.adventure.text.Component title, InventoryHolder inventoryHolder) -
Method Summary
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
-
Field Details
-
DEFAULT_TITLE
public static final net.kyori.adventure.text.Component DEFAULT_TITLE
-
-
Constructor Details
-
AnvilInventory
-
-
Method Details
-
setTitle
public void setTitle(net.kyori.adventure.text.Component title) -
getTitle
public net.kyori.adventure.text.Component getTitle()- Specified by:
getTitle
in interfaceTitledInventory
-