Contents
Class PreventItemMerging
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.item.PreventItemMerging
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
A component that when added to an item drop will prevent it from stacking
with other items.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<PreventItemMerging> The codec used to parsePreventItemMerginginstances.static final PreventItemMergingA default instance of thePreventItemMergingcomponent.Fields inherited from interface Component
EMPTY_ARRAY -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
INSTANCE
A default instance of thePreventItemMergingcomponent. -
CODEC
The codec used to parsePreventItemMerginginstances.
-
-
Method Details
-
getComponentType
- Returns:
- the component type for
PreventItemMergingcomponents.
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-