classpublicPriority 3
BodyMotionMoveAway
com.hypixel.hytale.server.npc.corecomponents.movement.BodyMotionMoveAway
extends BodyMotionFindWithTarget
3
Methods
3
Public Methods
10
Fields
1
Constructors
Constructors
public
BodyMotionMoveAway(BuilderBodyMotionMoveAway builderMotionFind, BuilderSupport support)Methods
Public Methods (3)
public
void activate(Ref<EntityStore> ref, Role role, ComponentAccessor<EntityStore> componentAccessor)@Override
public
float estimateToGoal(AStarBase aStarBase, Vector3d fromPosition, MotionController motionController)@Override
public
void findBestPath(AStarBase aStarBase, MotionController controller)@Override
Fields
Protected Fields (10)
protected
float changeDirectionViewSectorprotected
double erraticChangeDurationMultiplierprotected
double erraticDistanceSquaredprotected
float erraticJitterprotected
float fleeDirectionprotected
double[] holdDirectionDurationRangeprotected
double holdDirectionTimeRemainingprotected
float jitterAngleprotected
double stopDistanceprotected
double stopDistanceSquared