Interface HeightRangePlacement

All Superinterfaces:
PlacementModifier, Wrapper

@NullMarked @AsOf("3.0.0") public interface HeightRangePlacement extends PlacementModifier
Sets the Y coordinate to a value provided by a height provider and returns the new position.
Since:
3.0.0
See Also:
  • Method Details

    • height

      @AsOf("3.0.0") HeightProvider height()
      The new Y coordinate.
      Returns:
      the new Y coordinate
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static HeightRangePlacement of(HeightProvider height)
      Creates a new height range placement.
      Parameters:
      height - the height provider
      Returns:
      a new height range placement
      Since:
      3.0.0