Contents
Class BodyMotionLeave
java.lang.Object
com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
com.hypixel.hytale.server.npc.corecomponents.MotionBase
com.hypixel.hytale.server.npc.corecomponents.BodyMotionBase
com.hypixel.hytale.server.npc.corecomponents.movement.BodyMotionFindBase<AStarBase>
com.hypixel.hytale.server.npc.corecomponents.movement.BodyMotionLeave
- All Implemented Interfaces:
BodyMotion, Motion, RoleStateChange, AStarEvaluator, DebugSupport.DebugFlagsChangeListener, IAnnotatedComponent
-
Nested Class Summary
Nested classes/interfaces inherited from class BodyMotionFindBase
BodyMotionFindBase.DebugFlags -
Constructor Summary
ConstructorsConstructorDescriptionBodyMotionLeave(BuilderBodyMotionLeave builderMotionLeave, BuilderSupport support) -
Method Summary
Modifier and TypeMethodDescriptionfloatestimateToGoal(AStarBase aStarBase, org.joml.Vector3d fromPosition, MotionController motionController) voidfindBestPath(AStarBase aStarBase, MotionController controller) booleanisGoalReached(Ref<EntityStore> ref, MotionController controller, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor) booleanisGoalReached(Ref<EntityStore> ref, AStarBase aStarBase, AStarNode aStarNode, MotionController controller, ComponentAccessor<EntityStore> componentAccessor) Methods inherited from class BodyMotionFindBase
activate, computeSteering, deactivate, getRelaxedConstraints, onDebugFlagsChangedMethods inherited from class AnnotatedComponentBase
getIndex, getInfo, getParent, setContextMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BodyMotion
findWrappedBodyMotion, getDesiredTargetDistance, getDesiredTargetEntity, getSteeringMotionMethods inherited from interface IAnnotatedComponent
getBreadCrumbs, getBreadCrumbs, getIndex, getInfo, getLabel, getParent, setContextMethods inherited from interface Motion
preComputeSteeringMethods inherited from interface RoleStateChange
loaded, motionControllerChanged, registerWithSupport, removed, spawned, teleported, unloaded
-
Constructor Details
-
BodyMotionLeave
public BodyMotionLeave(@Nonnull BuilderBodyMotionLeave builderMotionLeave, @Nonnull BuilderSupport support)
-
-
Method Details
-
isGoalReached
public boolean isGoalReached(Ref<EntityStore> ref, @Nonnull MotionController controller, org.joml.Vector3d position, ComponentAccessor<EntityStore> componentAccessor)
-