Class PathExecutor

java.lang.Object
com.zenith.feature.pathfinder.executor.PathExecutor

public class PathExecutor extends Object
  • Constructor Details

  • Method Details

    • onTick

      public boolean onTick()
      Tick this executor
      Returns:
      True if a movement just finished (and the player is therefore in a "stable" state, like, not sneaking out over lava), false otherwise
    • snipsnapifpossible

      public boolean snipsnapifpossible()
      Regardless of current path position, snap to the current player feet if possible
      Returns:
      Whether or not it was possible to snap to the current player feet
    • getPosition

      public int getPosition()
    • trySplice

      public PathExecutor trySplice(PathExecutor next)
    • failed

      public boolean failed()
    • finished

      public boolean finished()
    • toBreak

      public Set<BlockPos> toBreak()
    • toPlace

      public Set<BlockPos> toPlace()
    • toWalkInto

      public Set<BlockPos> toWalkInto()
    • isSprinting

      public boolean isSprinting()