Contents
Class InstructionRandomized
java.lang.Object
com.hypixel.hytale.server.npc.instructions.Instruction
com.hypixel.hytale.server.npc.instructions.InstructionRandomized
- All Implemented Interfaces:
RoleStateChange, IAnnotatedComponent, IAnnotatedComponentCollection
-
Field Summary
Fields inherited from class Instruction
EMPTY_ARRAY, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionInstructionRandomized(BuilderInstructionRandomized builder, Sensor sensor, Instruction[] instructionList, BuilderSupport support) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecute(Ref<EntityStore> ref, ExecutionSupport executionSupport, double dt, Store<EntityStore> store) voidreset()Methods inherited from class Instruction
componentCount, createRootInstruction, executeActions, findNearestPrecedingBodyMotion, getBodyMotion, getComponent, getDebugTag, getHeadMotion, getIndex, getInfo, getLabel, getParent, getSensor, getWeight, isContinueAfter, loaded, matches, motionControllerChanged, notifyChildSensorMatch, onCompleted, onEndMotion, onMatched, registerWithSupport, removed, setContext, spawned, teleported, unloadedMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAnnotatedComponent
getBreadCrumbs, getBreadCrumbs
-
Constructor Details
-
InstructionRandomized
public InstructionRandomized(@Nonnull BuilderInstructionRandomized builder, Sensor sensor, @Nonnull Instruction[] instructionList, @Nonnull BuilderSupport support)
-
-
Method Details
-
execute
public void execute(@Nonnull Ref<EntityStore> ref, @Nonnull ExecutionSupport executionSupport, double dt, @Nonnull Store<EntityStore> store) - Overrides:
executein classInstruction
-
clearOnce
public void clearOnce()- Overrides:
clearOncein classInstruction
-
reset
public void reset()- Overrides:
resetin classInstruction
-