Contents
Class ItemContainerBlock
java.lang.Object
com.hypixel.hytale.server.core.modules.block.components.ItemContainerBlock
- All Implemented Interfaces:
Component<ChunkStore>, Cloneable
-
Field Summary
FieldsFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()shortstatic ComponentType<ChunkStore, ItemContainerBlock> booleanvoidsetDroplist(String droplist) voidsetItemContainer(SimpleItemContainer itemContainer) voidsetStayOpenWhenEmpty(boolean stayOpenWhenEmpty) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
CODEC
-
-
Constructor Details
-
ItemContainerBlock
-
-
Method Details
-
getComponentType
-
setItemContainer
-
getDroplist
-
setDroplist
-
getWindows
-
getItemContainer
-
getCapacity
public short getCapacity() -
isStayOpenWhenEmpty
public boolean isStayOpenWhenEmpty() -
setStayOpenWhenEmpty
public void setStayOpenWhenEmpty(boolean stayOpenWhenEmpty) -
clone
- Specified by:
clonein interfaceComponent<ChunkStore>- Returns:
- a clone instance of the original component instance.
-