Class BodyMotionWanderBase

All Implemented Interfaces:
BodyMotion, Motion, RoleStateChange, IAnnotatedComponent
Direct Known Subclasses:
BodyMotionWander, BodyMotionWanderInCircle, BodyMotionWanderInRect

public abstract class BodyMotionWanderBase extends BodyMotionBase
  • Field Details

    • LOGGER

      public static final com.hypixel.hytale.logger.HytaleLogger LOGGER
    • DIRECTION_COUNT

      public static final int DIRECTION_COUNT
      See Also:
    • SEGMENT_ANGLE

      public static final float SEGMENT_ANGLE
      See Also:
    • MIN_DISTANCE_SHRINK

      public static final double MIN_DISTANCE_SHRINK
      See Also:
    • MIN_DISTANCE_SHRINK_SCALE

      public static final double MIN_DISTANCE_SHRINK_SCALE
      See Also:
    • minWalkTime

      protected final double minWalkTime
    • maxWalkTime

      protected final double maxWalkTime
    • minHeadingChange

      protected final float minHeadingChange
    • maxHeadingChange

      protected final float maxHeadingChange
    • minDirection

      protected final byte minDirection
    • maxDirection

      protected final byte maxDirection
    • relaxHeadingChange

      protected final boolean relaxHeadingChange
    • relativeSpeed

      protected final double relativeSpeed
    • minMoveDistance

      protected final double minMoveDistance
    • stopDistance

      protected final double stopDistance
    • testsPerTick

      protected final int testsPerTick
    • isAvoidingBlockDamage

      protected final boolean isAvoidingBlockDamage
    • isRelaxedMoveConstraints

      protected final boolean isRelaxedMoveConstraints
    • desiredAltitudeWeight

      protected final double desiredAltitudeWeight
    • preOrderedDirections

      protected final byte[] preOrderedDirections
    • insideConeCount

      protected final int insideConeCount
    • targetPosition

      protected final Vector3d targetPosition
    • probeDirection

      protected final Vector3d probeDirection
    • probePosition

      protected final Vector3d probePosition
    • seekTarget

      protected final SteeringForcePursue seekTarget
    • probeMoveData

      protected final ProbeMoveData probeMoveData
    • debugSteer

      protected boolean debugSteer
    • state

      protected BodyMotionWanderBase.State state
    • angleOffset

      protected float angleOffset
    • probeDY

      protected double probeDY
    • maxDistanceAbove

      protected double maxDistanceAbove
    • maxDistanceBelow

      protected double maxDistanceBelow
    • walkTime

      protected double walkTime
    • walkHeading

      protected float walkHeading
    • walkDistance

      protected double walkDistance
    • directionIndex

      protected int directionIndex
    • desiredWalkDistance

      protected double desiredWalkDistance
    • walkDistances

      protected final double[] walkDistances
    • walkDirections

      protected final byte[] walkDirections
  • Constructor Details

  • Method Details