Class Container
java.lang.Object
com.zenith.cache.data.inventory.Container
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintgetItemStack(int slot) intgetSize()net.kyori.adventure.text.ComponentgetTitle()getType()inthashCode()hashToMatchingStack(HashedStack hashedStack) voidsetContainerId(int containerId) voidsetContents(ItemStack[] inventory) voidsetItemStack(int slot, ItemStack newItemStack) voidsetTitle(net.kyori.adventure.text.Component title) voidsetType(ContainerType type) toString()
-
Field Details
-
EMPTY_STACK
-
-
Constructor Details
-
Container
-
Container
public Container(int containerId, int size) -
Container
-
-
Method Details
-
setContents
-
hashToMatchingStack
-
setItemStack
-
getItemStack
-
getSize
public int getSize() -
getContainerId
public int getContainerId() -
getContents
-
getType
-
getTitle
public net.kyori.adventure.text.Component getTitle() -
setContainerId
public void setContainerId(int containerId) -
setType
-
setTitle
public void setTitle(net.kyori.adventure.text.Component title) -
equals
-
canEqual
-
hashCode
-
toString
-