All Superinterfaces:
Shiftable<Rotation>, ValueProvider<Rotation>

public interface Rotation extends Shiftable<Rotation>
Represents a rotation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Rotation
    Represents a rotation of 180 degrees.
    static final Rotation
    Represents a rotation of 90 degrees counterclockwise.
    static final Rotation
    Represents a rotation of 90 degrees clockwise.
    static final Rotation
    Represents a rotation of 0.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Rotation represented as positive int value.
    static Rotation
    parse(String value)
    Get a string as rotation value.
    default @NotNull Rotation
    Get the current value
    default void
    value(@NotNull Rotation value)
    Change the current value.
    static Rotation
    valueOf(int value)
    Get a string as rotation value.
    default Rotation
    Returns a new value

    Methods inherited from interface de.eldoria.schematicbrush.brush.config.util.Shiftable

    shift, shiftable

    Methods inherited from interface de.eldoria.schematicbrush.brush.config.util.ValueProvider

    refresh
  • Field Details

    • ROT_ZERO

      static final Rotation ROT_ZERO
      Represents a rotation of 0.
    • ROT_LEFT

      static final Rotation ROT_LEFT
      Represents a rotation of 90 degrees counterclockwise. Alterantive a rotation of -90 or 270 degrees.
    • ROT_HALF

      static final Rotation ROT_HALF
      Represents a rotation of 180 degrees.
    • ROT_RIGHT

      static final Rotation ROT_RIGHT
      Represents a rotation of 90 degrees clockwise. Alterantive a rotation of 90 degrees.
  • Method Details