classpublicPriority 3
InstructionRandomized
com.hypixel.hytale.server.npc.instructions.InstructionRandomized
extends Instruction
3
Methods
3
Public Methods
6
Fields
1
Constructors
Constants
InstructionRandomized.InstructionHolder[]EMPTY_ARRAY= new InstructionRandomized.InstructionHolder[0]
Constructors
public
InstructionRandomized(BuilderInstructionRandomized builder, Sensor sensor, Instruction[] instructionList, BuilderSupport support)Methods
Public Methods (3)
public
void clearOnce()@Override
public
void execute(Ref<EntityStore> ref, Role role, double dt, Store<EntityStore> store)@Override
public
void reset()@Override
Fields
Protected Fields (6)
protected
InstructionRandomized.InstructionHolder currentprotected
double maxExecuteTimeprotected
double minExecuteTimeprotected
boolean resetOnStateChangeprotected
double timeoutprotected
IWeightedMap<InstructionRandomized.InstructionHolder> weightedInstructionMap