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

protectedfloat changeDirectionViewSector
protecteddouble erraticChangeDurationMultiplier
protecteddouble erraticDistanceSquared
protectedfloat erraticJitter
protectedfloat fleeDirection
protecteddouble[] holdDirectionDurationRange
protecteddouble holdDirectionTimeRemaining
protectedfloat jitterAngle
protecteddouble stopDistance
protecteddouble stopDistanceSquared

Related Classes