Class FlightCheckpoint

java.lang.Object
org.ships.movement.autopilot.path.FlightCheckpoint
All Implemented Interfaces:
org.core.world.position.Positionable<org.core.world.position.impl.BlockPosition>

public class FlightCheckpoint extends Object implements org.core.world.position.Positionable<org.core.world.position.impl.BlockPosition>
  • Constructor Details

    • FlightCheckpoint

      public FlightCheckpoint(@NotNull @NotNull org.core.world.position.impl.BlockPosition position)
    • FlightCheckpoint

      public FlightCheckpoint(@NotNull @NotNull org.core.world.position.impl.BlockPosition position, int allowedDistance)
  • Method Details

    • moveTowards

      public void moveTowards(@NotNull @NotNull Vessel vessel, @NotNull @NotNull MovementDetails details)
    • getAllowedDistance

      public int getAllowedDistance()
    • getPosition

      @NotNull public @NotNull org.core.world.position.impl.BlockPosition getPosition()
      Specified by:
      getPosition in interface org.core.world.position.Positionable<org.core.world.position.impl.BlockPosition>
    • hasReached

      public boolean hasReached(@NotNull @NotNull org.core.world.position.Positionable<?> positionable)
    • hasReached

      public boolean hasReached(@NotNull @NotNull org.core.world.position.impl.Position<?> position)
    • hasReached

      public boolean hasReached(@NotNull @NotNull org.core.vector.type.Vector3<?> position)