HyCodeYourTale
classpublicPriority 3

EntitySupport

com.hypixel.hytale.server.npc.role.support.EntitySupport

21

Methods

21

Public Methods

7

Fields

1

Constructors

Constructors

public
EntitySupport(NPCEntity parent, BuilderRole builder)

Methods

Public Methods (21)

public
void addTargetPlayerActiveTask(String task)
public
void clearNextBodyMotionStep()
public
void clearNextHeadMotionStep()
public
void clearTargetPlayerActiveTasks()
publicstatic
StdScope createScope(NPCEntity entity)
@Nonnull
public
Instruction getNextBodyMotionStep()
@Nullable
public
Instruction getNextHeadMotionStep()
@Nullable
public
StdScope getSensorScope()
public
List<String> getTargetPlayerActiveTasks()
@Nullable
public
void handleNominatedDisplayName(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)
public
void nominateDisplayName(String displayName)
public
void pickRandomDisplayName(Holder<EntityStore> holder, boolean override)
public
void pickRandomDisplayName(Ref<EntityStore> ref, boolean override, ComponentAccessor<EntityStore> componentAccessor)
public
void postRoleBuilt(BuilderSupport builderSupport)
public
void registerDelay(IComponentExecutionControl component)
publicstatic
void setDisplayName(Holder<EntityStore> holder, String displayName)
publicstatic
void setDisplayName(Holder<EntityStore> holder, String displayName, boolean override)
publicstatic
void setDisplayName(Ref<EntityStore> ref, String displayName, ComponentAccessor<EntityStore> componentAccessor)
public
boolean setNextBodyMotionStep(Instruction step)
public
boolean setNextHeadMotionStep(Instruction step)
public
void tick(float dt)

Fields

Protected Fields (7)

protectedString[] displayNames
protectedInstruction nextBodyMotionStep
protectedInstruction nextHeadMotionStep
protectedString nominatedDisplayName
protectedNPCEntity parent
protectedStdScope sensorScope
protectedList<String> targetPlayerActiveTasks

Related Classes