Skip to content

Instruction

Package: com.hypixel.hytale.server.npc.instructions

public class Instruction implements RoleStateChange, IAnnotatedComponentCollection
ModifierTypeName
public static finalInstruction[]EMPTY_ARRAY
protectedIAnnotatedComponentparent
protected finalStringname
protected finalStringtag
protected finalSensorsensor
protectedintindex
protected finalInstruction[]instructionList
protected finalBodyMotionbodyMotion
protected finalHeadMotionheadMotion
protected finalActionListactions
protected finaldoubleweight
protected finalbooleantreeMode
protected finalbooleaninvertTreeModeResult
protectedbooleancontinueAfter
protectedInstructionparentTreeModeStep
ModifierReturn TypeSignature
publicSensorgetSensor()
@Nullable publicStringgetDebugTag()
publicdoublegetWeight()
publicbooleanisContinueAfter()
@Nullable publicBodyMotiongetBodyMotion()
@Nullable publicHeadMotiongetHeadMotion()
@Override publicvoidregisterWithSupport(Role role)
@Override publicvoidmotionControllerChanged( @Nullable Ref<EntityStore> ref, @Nonnull NPCEntity npcComponent, MotionController motionController, @Nullable ComponentAccessor<EntityStore> componentAccessor )
@Override publicvoidloaded(Role role)
@Override publicvoidspawned(Role role)
@Override publicvoidunloaded(Role role)
@Override publicvoidremoved(Role role)
@Override publicvoidteleported(Role role, World from, World to)
@Override publicintcomponentCount()
@Override publicIAnnotatedComponentgetComponent(int index)
@Override publicvoidgetInfo(Role role, @Nonnull ComponentInfo holder)
@Override publicIAnnotatedComponentgetParent()
@Override publicintgetIndex()
@Override @Nonnull publicStringgetLabel()
@Override publicvoidsetContext(IAnnotatedComponent parent, int index)
publicbooleanmatches(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, double dt, @Nonnull Store<EntityStore> store)
publicvoidexecuteActions(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, InfoProvider sensorInfo, double dt, @Nonnull Store<EntityStore> store)
publicvoidexecute(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, double dt, @Nonnull Store<EntityStore> store)
publicvoidclearOnce()
publicvoidonEndMotion()
publicvoidonMatched(@Nonnull Role role)
publicvoidonCompleted(@Nonnull Role role)
publicvoidnotifyChildSensorMatch()
publicvoidreset()
protectedvoidforEachInstruction(@Nonnull Consumer<Instruction> instructionConsumer)
protected <T>voidforEachInstruction(@Nonnull BiConsumer<Instruction, T> instructionConsumer, T obj)
protected <T, U, V>voidforEachInstruction(@Nonnull QuadConsumer<Instruction, T, U, V> instructionConsumer, T t, U u, V v)
@Nonnull public staticInstructioncreateRootInstruction(Instruction[] instructions, @Nonnull BuilderSupport support)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.