Interface FixedPlacement

All Superinterfaces:
PlacementModifier, Wrapper

@NullMarked @AsOf("3.0.0") public interface FixedPlacement extends PlacementModifier
Returns all specified positions if they are in the current chunk.
Since:
3.0.0
See Also:
  • Method Details

    • positions

      @AsOf("3.0.0") List<BlockVector> positions()
      A list of all placement positions. This can be empty.
      Returns:
      the list of positions
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default FixedPlacement.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static FixedPlacement of(List<BlockVector> positions)
      Creates a new fixed placement.
      Parameters:
      positions - the list of positions
      Returns:
      a new fixed placement
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static FixedPlacement of(BlockVector... positions)
      Creates a new fixed placement.
      Parameters:
      positions - the positions
      Returns:
      a new fixed placement
      Since:
      3.0.0
    • builder

      static FixedPlacement.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0