Contents
Class UniqueItemUsagesComponent
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.data.UniqueItemUsagesComponent
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<UniqueItemUsagesComponent> The codec used to parseUniqueItemUsagesComponentinstances.Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanhasUsedUniqueItem(String itemId) voidrecordUniqueItemUsage(String itemId) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
CODEC
The codec used to parseUniqueItemUsagesComponentinstances.
-
-
Constructor Details
-
UniqueItemUsagesComponent
public UniqueItemUsagesComponent()
-
-
Method Details
-
getComponentType
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-
hasUsedUniqueItem
-
recordUniqueItemUsage
-