Interface Motion
- All Superinterfaces:
IAnnotatedComponent,RoleStateChange
- All Known Subinterfaces:
BodyMotion,HeadMotion
- All Known Implementing Classes:
BodyMotionAimCharge,BodyMotionBase,BodyMotionFind,BodyMotionFindBase,BodyMotionFindWithTarget,BodyMotionFlock,BodyMotionLand,BodyMotionLeave,BodyMotionMaintainDistance,BodyMotionMatchLook,BodyMotionMoveAway,BodyMotionNothing,BodyMotionPath,BodyMotionSequence,BodyMotionTakeOff,BodyMotionTeleport,BodyMotionTestProbe,BodyMotionTimer,BodyMotionWander,BodyMotionWanderBase,BodyMotionWanderInCircle,BodyMotionWanderInRect,HeadMotionAim,HeadMotionBase,HeadMotionNothing,HeadMotionObserve,HeadMotionSequence,HeadMotionTimer,HeadMotionWatch,MotionBase,MotionSequence,MotionTimer
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidactivate(Ref<EntityStore> ref, Role role, ComponentAccessor<EntityStore> componentAccessor) booleancomputeSteering(Ref<EntityStore> var1, Role var2, InfoProvider var3, double var4, Steering var6, ComponentAccessor<EntityStore> var7) default voiddeactivate(Ref<EntityStore> ref, Role role, ComponentAccessor<EntityStore> componentAccessor) default voidpreComputeSteering(Ref<EntityStore> ref, Role role, InfoProvider provider, Store<EntityStore> store) Methods inherited from interface com.hypixel.hytale.server.npc.util.IAnnotatedComponent
getBreadCrumbs, getBreadCrumbs, getIndex, getInfo, getLabel, getParent, setContextMethods inherited from interface com.hypixel.hytale.server.npc.instructions.RoleStateChange
loaded, motionControllerChanged, registerWithSupport, removed, spawned, teleported, unloaded
-
Method Details
-
preComputeSteering
default void preComputeSteering(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, @Nullable InfoProvider provider, @Nonnull Store<EntityStore> store) -
activate
default void activate(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
deactivate
default void deactivate(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
computeSteering
boolean computeSteering(@Nonnull Ref<EntityStore> var1, @Nonnull Role var2, @Nullable InfoProvider var3, double var4, @Nonnull Steering var6, @Nonnull ComponentAccessor<EntityStore> var7)
-