Package xyz.xenondevs.invui.inventory
Class VirtualInventoryManager
java.lang.Object
xyz.xenondevs.invui.inventory.VirtualInventoryManager
Automatically reads and writes
VirtualInventories
to files when the server starts and stops.-
Method Summary
Modifier and TypeMethodDescriptionstatic VirtualInventoryManager
getOrCreate
(UUID uuid, int size) getOrCreate
(UUID uuid, int size, org.bukkit.inventory.ItemStack[] items, int[] stackSizes) void
remove
(VirtualInventory inventory)
-
Method Details
-
getInstance
-
createNew
-
createNew
public VirtualInventory createNew(@NotNull @NotNull UUID uuid, int size, org.bukkit.inventory.ItemStack[] items, int[] stackSizes) -
getByUuid
-
getOrCreate
-
getOrCreate
public VirtualInventory getOrCreate(UUID uuid, int size, org.bukkit.inventory.ItemStack[] items, int[] stackSizes) -
getAllInventories
-
remove
-