Contents
Class PlayerTaskSupport
java.lang.Object
com.hypixel.hytale.server.npc.role.support.PlayerTaskSupport
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
ECS component holding the target player's active interaction-task list.
-
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAppend an active task identifier for the target player.voidclone()static ComponentType<EntityStore, PlayerTaskSupport> Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
PlayerTaskSupport
public PlayerTaskSupport()
-
-
Method Details
-
getComponentType
-
addTargetPlayerActiveTask
Append an active task identifier for the target player. Lazily allocates the list on first add. -
clearTargetPlayerActiveTasks
public void clearTargetPlayerActiveTasks() -
getTargetPlayerActiveTasks
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-