Class GroundMovementFollower

java.lang.Object
ru.dragonestia.msb3.api.ai.movement.follower.MovementFollower
ru.dragonestia.msb3.api.ai.movement.follower.GroundMovementFollower

public class GroundMovementFollower extends MovementFollower
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     
    void
     
    void
    jump(double x, double z)
     
    void
    jump(double x, double y, double z)
     
    void
    jump(net.minestom.server.coordinate.Point direction)
     
    net.minestom.server.collision.PhysicsResult
    move(net.minestom.server.coordinate.Point direction, double speed)
     
    net.minestom.server.collision.PhysicsResult
    move(net.minestom.server.coordinate.Point direction, double speed, net.minestom.server.coordinate.Point lookDirection)
     
    net.minestom.server.collision.PhysicsResult
    moveResult(net.minestom.server.coordinate.Point direction, double speed)
     
    double
    squaredDistance(net.minestom.server.coordinate.Point destination)
     

    Methods inherited from class ru.dragonestia.msb3.api.ai.movement.follower.MovementFollower

    moveTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GroundMovementFollower

      public GroundMovementFollower(EntityAI entity)
  • Method Details

    • squaredDistance

      public double squaredDistance(net.minestom.server.coordinate.Point destination)
      Overrides:
      squaredDistance in class MovementFollower
    • moveResult

      public net.minestom.server.collision.PhysicsResult moveResult(net.minestom.server.coordinate.Point direction, double speed)
      Specified by:
      moveResult in class MovementFollower
    • move

      public net.minestom.server.collision.PhysicsResult move(net.minestom.server.coordinate.Point direction, double speed)
      Overrides:
      move in class MovementFollower
    • move

      public net.minestom.server.collision.PhysicsResult move(net.minestom.server.coordinate.Point direction, double speed, net.minestom.server.coordinate.Point lookDirection)
      Overrides:
      move in class MovementFollower
    • getJumpHeight

      public double getJumpHeight()
    • getMaxHeightStep

      public double getMaxHeightStep()
    • jump

      public void jump()
    • jump

      public void jump(net.minestom.server.coordinate.Point direction)
    • jump

      public void jump(double x, double z)
    • jump

      public void jump(double x, double y, double z)