Interface StructurePlacement.Builder

All Superinterfaces:
ResettableBuilder<StructurePlacement,StructurePlacement.Builder>
All Known Subinterfaces:
StructurePlacement.Builder.ConcentricRings, StructurePlacement.Builder.RandomSpread
Enclosing interface:
StructurePlacement

public static interface StructurePlacement.Builder extends ResettableBuilder<StructurePlacement,StructurePlacement.Builder>
  • Method Details

    • randomSpread

      StructurePlacement.Builder.RandomSpread randomSpread(Vector3i locateOffset, int salt)
      Starts building a random spread structure placement.

      This type of placement is used for most vanilla StructureSets

      Parameters:
      locateOffset - The locate offset
      salt - The salt to assist randomization
      Returns:
      This builder, for chaining
    • randomSpread

      Starts building a random spread structure placement.

      This type of placement is used for most vanilla StructureSets

      Parameters:
      salt - The salt to assist randomization
      Returns:
      This builder, for chaining
    • concentricRings

      StructurePlacement.Builder.ConcentricRings concentricRings(Vector3i locateOffset, int salt)
      Starts building a concentric rings structure placement.

      This type of placement is used for placing vanilla StructureSets.STRONGHOLDS

      Parameters:
      locateOffset - The locate offset
      salt - The salt to assist randomization
      Returns:
      This builder, for chaining
    • concentricRings

      Starts building a concentric rings structure placement.
      Returns:
      This builder, for chaining
    • build

      Returns the built structure placement.
      Returns:
      The built structure placement