Enum Class Moves

java.lang.Object
java.lang.Enum<Moves>
com.zenith.feature.pathfinder.movement.Moves
All Implemented Interfaces:
Serializable, Comparable<Moves>, Constable

public enum Moves extends Enum<Moves>
  • Enum Constant Details

    • DOWNWARD

      public static final Moves DOWNWARD
    • PILLAR

      public static final Moves PILLAR
    • TRAVERSE_NORTH

      public static final Moves TRAVERSE_NORTH
    • TRAVERSE_SOUTH

      public static final Moves TRAVERSE_SOUTH
    • TRAVERSE_EAST

      public static final Moves TRAVERSE_EAST
    • TRAVERSE_WEST

      public static final Moves TRAVERSE_WEST
    • ASCEND_NORTH

      public static final Moves ASCEND_NORTH
    • ASCEND_SOUTH

      public static final Moves ASCEND_SOUTH
    • ASCEND_EAST

      public static final Moves ASCEND_EAST
    • ASCEND_WEST

      public static final Moves ASCEND_WEST
    • DESCEND_EAST

      public static final Moves DESCEND_EAST
    • DESCEND_WEST

      public static final Moves DESCEND_WEST
    • DESCEND_NORTH

      public static final Moves DESCEND_NORTH
    • DESCEND_SOUTH

      public static final Moves DESCEND_SOUTH
    • DIAGONAL_NORTHEAST

      public static final Moves DIAGONAL_NORTHEAST
    • DIAGONAL_NORTHWEST

      public static final Moves DIAGONAL_NORTHWEST
    • DIAGONAL_SOUTHEAST

      public static final Moves DIAGONAL_SOUTHEAST
    • DIAGONAL_SOUTHWEST

      public static final Moves DIAGONAL_SOUTHWEST
    • PARKOUR_NORTH

      public static final Moves PARKOUR_NORTH
    • PARKOUR_SOUTH

      public static final Moves PARKOUR_SOUTH
    • PARKOUR_EAST

      public static final Moves PARKOUR_EAST
    • PARKOUR_WEST

      public static final Moves PARKOUR_WEST
  • Field Details

    • dynamicXZ

      public final boolean dynamicXZ
    • dynamicY

      public final boolean dynamicY
    • xOffset

      public final int xOffset
    • yOffset

      public final int yOffset
    • zOffset

      public final int zOffset
  • Method Details

    • values

      public static Moves[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Moves valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • apply0

      public abstract Movement apply0(CalculationContext context, BlockPos src)
    • apply

      public void apply(CalculationContext context, int x, int y, int z, MutableMoveResult result)
    • cost

      public double cost(CalculationContext context, int x, int y, int z)