Interface IMovement

All Known Implementing Classes:
Movement, MovementAscend, MovementDescend, MovementDiagonal, MovementDownward, MovementFall, MovementParkour, MovementPillar, MovementTraverse

public interface IMovement
  • Method Details

    • getCost

      double getCost()
    • update

      MovementStatus update()
    • reset

      void reset()
      Resets the current state status to MovementStatus.PREPPING
    • resetBlockCache

      void resetBlockCache()
      Resets the cache for special break, place, and walk into blocks
    • safeToCancel

      boolean safeToCancel()
      Returns:
      Whether or not it is safe to cancel the current movement state
    • calculatedWhileLoaded

      boolean calculatedWhileLoaded()
    • getSrc

      BlockPos getSrc()
    • getDest

      BlockPos getDest()
    • getDirection

      BlockPos getDirection()