HyCodeYourTale
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)

protectedInstructionRandomized.InstructionHolder current
protecteddouble maxExecuteTime
protecteddouble minExecuteTime
protectedboolean resetOnStateChange
protecteddouble timeout
protectedIWeightedMap<InstructionRandomized.InstructionHolder> weightedInstructionMap

Related Classes