Class InventoryCache
java.lang.Object
com.zenith.cache.data.inventory.InventoryCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseContainer(int containerId) voidvoidvoidopenContainer(int containerId, ContainerType type, net.kyori.adventure.text.Component title) voidreset()voidsetInventory(int containerId, ItemStack[] inventory) voidsetItemStack(int containerId, int slot, ItemStack newItemStack)
-
Constructor Details
-
InventoryCache
public InventoryCache()
-
-
Method Details
-
getPlayerInventory
-
getOpenContainer
-
setInventory
-
setItemStack
-
closeContainer
public void closeContainer(int containerId) -
openContainer
public void openContainer(int containerId, ContainerType type, net.kyori.adventure.text.Component title) -
handleContainerClick
-
handleSetCreativeModeSlot
-
reset
public void reset()
-