Interface AboveBottom

All Superinterfaces:
VerticalAnchor, Wrapper

@NullMarked @AsOf("3.0.0") public interface AboveBottom extends VerticalAnchor
A relative height starting at the bottom of the world.
Since:
3.0.0
See Also:
  • Field Details

    • BOTTOM

      @AsOf("3.0.0") static final AboveBottom BOTTOM
      The bottom of the world.
  • Method Details

    • offset

      @AsOf("3.0.0") int offset()
      The offset from the bottom of the generation range.
      Returns:
      the offset from the bottom of the generation range
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static AboveBottom of(int offset)
      Creates a new above-bottom vertical anchor.
      Parameters:
      offset - the offset from the bottom of the generation range
      Returns:
      a new above-bottom vertical anchor
      Since:
      3.0.0