Class GeodeBlockSettings.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.geode.GeodeBlockSettings.Builder
Enclosing interface:
GeodeBlockSettings

@AsOf("3.0.0") public static final class GeodeBlockSettings.Builder extends Object
Builder for GeodeBlockSettings.
Since:
3.0.0
  • Constructor Details

  • Method Details

    • fillingProvider

      @AsOf("3.0.0") public GeodeBlockSettings.Builder fillingProvider(BlockStateProvider fillingProvider)
      Sets the block state provider used for the filling layer.
      Parameters:
      fillingProvider - the filling provider
      Returns:
      this builder
      Since:
      3.0.0
    • innerLayerProvider

      @AsOf("3.0.0") public GeodeBlockSettings.Builder innerLayerProvider(BlockStateProvider innerLayerProvider)
      Sets the block state provider used for the inner layer.
      Parameters:
      innerLayerProvider - the inner layer provider
      Returns:
      this builder
      Since:
      3.0.0
    • alternateInnerLayerProvider

      @AsOf("3.0.0") public GeodeBlockSettings.Builder alternateInnerLayerProvider(BlockStateProvider alternateInnerLayerProvider)
      Sets the block state provider used for the inner layer's alternate block.
      Parameters:
      alternateInnerLayerProvider - the alternate inner layer provider
      Returns:
      this builder
      Since:
      3.0.0
    • middleLayerProvider

      @AsOf("3.0.0") public GeodeBlockSettings.Builder middleLayerProvider(BlockStateProvider middleLayerProvider)
      Sets the block state provider used for the middle layer.
      Parameters:
      middleLayerProvider - the middle layer provider
      Returns:
      this builder
      Since:
      3.0.0
    • outerLayerProvider

      @AsOf("3.0.0") public GeodeBlockSettings.Builder outerLayerProvider(BlockStateProvider outerLayerProvider)
      Sets the block state provider used for the outer layer.
      Parameters:
      outerLayerProvider - the outer layer provider
      Returns:
      this builder
      Since:
      3.0.0
    • innerPlacements

      @AsOf("3.0.0") public GeodeBlockSettings.Builder innerPlacements(List<BlockData> innerPlacements)
      Sets the block states placed within the geode, replacing any existing inner placements.
      Parameters:
      innerPlacements - the inner placements
      Returns:
      this builder
      Since:
      3.0.0
    • cannotReplace

      @AsOf("3.1.0") public GeodeBlockSettings.Builder cannotReplace(Set<Material> cannotReplace)
      Sets the blocks listing which blocks the geode cannot replace.
      Parameters:
      cannotReplace - the block tag of blocks that cannot be replaced
      Returns:
      this builder
      Since:
      3.1.0
    • cannotReplace

      @AsOf("3.1.0") public GeodeBlockSettings.Builder cannotReplace(TagKey cannotReplace)
      Sets the block tag listing which blocks the geode cannot replace.
      Parameters:
      cannotReplace - the block tag of blocks that cannot be replaced
      Returns:
      this builder
      Since:
      3.1.0
    • invalidBlocks

      @AsOf("3.1.0") public GeodeBlockSettings.Builder invalidBlocks(Set<Material> invalidBlocks)
      Sets the blocks listing invalid blocks near which the geode will not generate.
      Parameters:
      invalidBlocks - the block tag of invalid blocks
      Returns:
      this builder
      Since:
      3.1.0
    • invalidBlocks

      @AsOf("3.1.0") public GeodeBlockSettings.Builder invalidBlocks(TagKey invalidBlocks)
      Sets the block tag listing invalid blocks near which the geode will not generate.
      Parameters:
      invalidBlocks - the block tag of invalid blocks
      Returns:
      this builder
      Since:
      3.1.0
    • innerPlacement

      @AsOf("3.0.0") public GeodeBlockSettings.Builder innerPlacement(BlockData... innerPlacements)
      Adds one or more block states to the inner placements of the geode.
      Parameters:
      innerPlacements - the inner placements to add
      Returns:
      this builder
      Since:
      3.0.0
    • cannotReplace

      @AsOf("3.1.0") public GeodeBlockSettings.Builder cannotReplace(Material... cannotReplace)
      Adds one or more blocks to the list of blocks the geode cannot replace.
      Parameters:
      cannotReplace - the blocks to add
      Returns:
      this builder
      Since:
      3.1.0
    • invalidBlocks

      @AsOf("3.1.0") public GeodeBlockSettings.Builder invalidBlocks(Material... invalidBlocks)
      Adds one or more blocks to the list of blocks invalid near which the geode will not generate.
      Parameters:
      invalidBlocks - the blocks to add
      Returns:
      this builder
      Since:
      3.1.0
    • cannotReplace

      @AsOf("3.1.0") public GeodeBlockSettings.Builder cannotReplace(ResourceKey cannotReplace)
      Sets the blocks listing which blocks the geode cannot replace.
      Parameters:
      cannotReplace - the block tag of blocks that cannot be replaced
      Returns:
      this builder
      Since:
      3.1.0
    • invalidBlocks

      @AsOf("3.1.0") public GeodeBlockSettings.Builder invalidBlocks(ResourceKey invalidBlocks)
      Sets the block tag listing invalid blocks near which the geode will not generate.
      Parameters:
      invalidBlocks - the block tag of invalid blocks
      Returns:
      this builder
      Since:
      3.1.0
    • cannotReplace

      @AsOf("3.1.0") public GeodeBlockSettings.Builder cannotReplace(TagSet<Material> cannotReplace)
      Sets the blocks listing which blocks the geode cannot replace.
      Parameters:
      cannotReplace - the block tag of blocks that cannot be replaced
      Returns:
      this builder
      Since:
      3.1.0
    • invalidBlocks

      @AsOf("3.1.0") public GeodeBlockSettings.Builder invalidBlocks(TagSet<Material> cannotReplace)
      Sets the block tag listing invalid blocks near which the geode will not generate.
      Parameters:
      cannotReplace - the block tag of invalid blocks
      Returns:
      this builder
      Since:
      3.1.0
    • cannotReplace

      @AsOf("3.1.0") public GeodeBlockSettings.Builder cannotReplace(Tag<Material> cannotReplace)
      Sets the blocks listing which blocks the geode cannot replace.
      Parameters:
      cannotReplace - the block tag of blocks that cannot be replaced
      Returns:
      this builder
      Since:
      3.1.0
    • invalidBlocks

      @AsOf("3.1.0") public GeodeBlockSettings.Builder invalidBlocks(Tag<Material> cannotReplace)
      Sets the block tag listing invalid blocks near which the geode will not generate.
      Parameters:
      cannotReplace - the block tag of invalid blocks
      Returns:
      this builder
      Since:
      3.1.0
    • build

      @AsOf("3.0.0") public GeodeBlockSettings build()
      Builds the settings.
      Returns:
      the settings
      Since:
      3.0.0