HyCodeYourTale
classpublicPriority 3

ActionList

com.hypixel.hytale.server.npc.instructions.ActionList

17

Methods

17

Public Methods

4

Fields

1

Constructors

Constants

ActionListEMPTY_ACTION_LIST= new ActionList(Action.EMPTY_ARRAY)

Constructors

public
ActionList(Action[] actions)

Methods

Public Methods (17)

public
int actionCount()
public
boolean canExecute(Ref<EntityStore> ref, Role role, InfoProvider sensorInfo, double dt, Store<EntityStore> store)
public
void clearOnce()
public
boolean execute(Ref<EntityStore> ref, Role role, InfoProvider sensorInfo, double dt, Store<EntityStore> store)
public
IAnnotatedComponent getComponent(int index)
public
boolean hasCompletedRun()
public
void loaded(Role role)
public
void onEndMotion()
public
void registerWithSupport(Role role)
public
void removed(Role role)
public
void setAtomic(boolean atomic)
public
void setBlocking(boolean blocking)
public
void setContext(IAnnotatedComponent parent)
public
void setOnce()
public
void spawned(Role role)
public
void teleported(Role role, World from, World to)
public
void unloaded(Role role)

Fields

Protected Fields (4)

protectedint actionIndex
protectedAction[] actions
protectedboolean atomic
protectedboolean blocking

Related Classes