Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- setBlocking(boolean)
- setAtomic(boolean)
- canExecute(Ref, ExecutionSupport, InfoProvider, double, Store)
- execute(Ref, ExecutionSupport, InfoProvider, double, Store)
- hasCompletedRun()
- setContext(IAnnotatedComponent)
- registerWithSupport(ExecutionSupport)
- motionControllerChanged(Ref, NPCEntity, MotionController, ComponentAccessor)
- loaded(ExecutionSupport)
- spawned(ExecutionSupport)
- unloaded(ExecutionSupport)
- removed(ExecutionSupport)
- teleported(ExecutionSupport, World, World)
- clearOnce()
- onEndMotion()
- setOnce()
- isBusy()
- actionCount()
- getComponent(int)
Class ActionList
java.lang.Object
com.hypixel.hytale.server.npc.instructions.ActionList
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleancanExecute(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Store<EntityStore> store) voidbooleanexecute(Ref<EntityStore> ref, ExecutionSupport executionSupport, InfoProvider sensorInfo, double dt, Store<EntityStore> store) getComponent(int index) booleanbooleanisBusy()voidloaded(ExecutionSupport executionSupport) voidmotionControllerChanged(Ref<EntityStore> ref, NPCEntity npcComponent, MotionController motionController, ComponentAccessor<EntityStore> componentAccessor) voidvoidregisterWithSupport(ExecutionSupport executionSupport) voidremoved(ExecutionSupport executionSupport) voidsetAtomic(boolean atomic) voidsetBlocking(boolean blocking) voidsetContext(IAnnotatedComponent parent) voidsetOnce()voidspawned(ExecutionSupport executionSupport) voidteleported(ExecutionSupport executionSupport, World from, World to) voidunloaded(ExecutionSupport executionSupport)
-
Field Details
-
EMPTY_ACTION_LIST
-
-
Constructor Details
-
ActionList
-
-
Method Details
-
setBlocking
public void setBlocking(boolean blocking) -
setAtomic
public void setAtomic(boolean atomic) -
canExecute
public boolean canExecute(@Nonnull Ref<EntityStore> ref, @Nonnull ExecutionSupport executionSupport, @Nullable InfoProvider sensorInfo, double dt, @Nonnull Store<EntityStore> store) -
execute
public boolean execute(@Nonnull Ref<EntityStore> ref, @Nonnull ExecutionSupport executionSupport, @Nullable InfoProvider sensorInfo, double dt, @Nonnull Store<EntityStore> store) -
hasCompletedRun
public boolean hasCompletedRun() -
setContext
-
registerWithSupport
-
motionControllerChanged
public void motionControllerChanged(@Nullable Ref<EntityStore> ref, @Nonnull NPCEntity npcComponent, MotionController motionController, @Nullable ComponentAccessor<EntityStore> componentAccessor) -
loaded
-
spawned
-
unloaded
-
removed
-
teleported
-
clearOnce
public void clearOnce() -
onEndMotion
public void onEndMotion() -
setOnce
public void setOnce() -
isBusy
public boolean isBusy() -
actionCount
public int actionCount() -
getComponent
-