HyCodeYourTale
classpublicabstractPriority 3

BodyMotionWanderBase

com.hypixel.hytale.server.npc.corecomponents.movement.BodyMotionWanderBase

extends BodyMotionBase

2

Methods

2

Public Methods

29

Fields

1

Constructors

Constants

intDIRECTION_COUNT= 32
HytaleLoggerLOGGER= NPCPlugin.get().getLogger()
doubleMIN_DISTANCE_SHRINK= 0.3
doubleMIN_DISTANCE_SHRINK_SCALE= -1.4
floatSEGMENT_ANGLE= 0.19634955F

Constructors

public
BodyMotionWanderBase(BuilderBodyMotionWanderBase builder, BuilderSupport builderSupport)

Methods

Public Methods (2)

public
void activate(Ref<EntityStore> ref, Role role, ComponentAccessor<EntityStore> componentAccessor)
@Override
public
void deactivate(Ref<EntityStore> ref, Role role, ComponentAccessor<EntityStore> componentAccessor)
@Override

Fields

Protected Fields (29)

protectedfloat angleOffset
protectedboolean debugSteer
protecteddouble desiredAltitudeWeight
protecteddouble desiredWalkDistance
protectedint directionIndex
protectedint insideConeCount
protectedboolean isAvoidingBlockDamage
protectedboolean isRelaxedMoveConstraints
protectedbyte maxDirection
protecteddouble maxDistanceAbove
protecteddouble maxDistanceBelow
protectedfloat maxHeadingChange
protecteddouble maxWalkTime
protectedbyte minDirection
protectedfloat minHeadingChange
protecteddouble minMoveDistance
protecteddouble minWalkTime
protectedbyte[] preOrderedDirections
protecteddouble probeDY
protecteddouble relativeSpeed
protectedboolean relaxHeadingChange
protectedBodyMotionWanderBase.State state
protecteddouble stopDistance
protectedint testsPerTick
protectedbyte[] walkDirections
protecteddouble walkDistance
protecteddouble[] walkDistances
protectedfloat walkHeading
protecteddouble walkTime

Related Classes