Class GeodeBlockSettings.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.geode.GeodeBlockSettings.Builder
- Enclosing interface:
GeodeBlockSettings
Builder for
GeodeBlockSettings.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternateInnerLayerProvider(BlockStateProvider alternateInnerLayerProvider) Sets the block state provider used for the inner layer's alternate block.build()Builds the settings.cannotReplace(ResourceKey cannotReplace) Sets the blocks listing which blocks the geode cannot replace.cannotReplace(TagKey cannotReplace) Sets the block tag listing which blocks the geode cannot replace.cannotReplace(TagSet<Material> cannotReplace) Sets the blocks listing which blocks the geode cannot replace.cannotReplace(Set<Material> cannotReplace) Sets the blocks listing which blocks the geode cannot replace.cannotReplace(Material... cannotReplace) Adds one or more blocks to the list of blocks the geode cannot replace.cannotReplace(Tag<Material> cannotReplace) Sets the blocks listing which blocks the geode cannot replace.fillingProvider(BlockStateProvider fillingProvider) Sets the block state provider used for the filling layer.innerLayerProvider(BlockStateProvider innerLayerProvider) Sets the block state provider used for the inner layer.innerPlacement(BlockData... innerPlacements) Adds one or more block states to the inner placements of the geode.innerPlacements(List<BlockData> innerPlacements) Sets the block states placed within the geode, replacing any existing inner placements.invalidBlocks(ResourceKey invalidBlocks) Sets the block tag listing invalid blocks near which the geode will not generate.invalidBlocks(TagKey invalidBlocks) Sets the block tag listing invalid blocks near which the geode will not generate.invalidBlocks(TagSet<Material> cannotReplace) Sets the block tag listing invalid blocks near which the geode will not generate.invalidBlocks(Set<Material> invalidBlocks) Sets the blocks listing invalid blocks near which the geode will not generate.invalidBlocks(Material... invalidBlocks) Adds one or more blocks to the list of blocks invalid near which the geode will not generate.invalidBlocks(Tag<Material> cannotReplace) Sets the block tag listing invalid blocks near which the geode will not generate.middleLayerProvider(BlockStateProvider middleLayerProvider) Sets the block state provider used for the middle layer.outerLayerProvider(BlockStateProvider outerLayerProvider) Sets the block state provider used for the outer layer.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Builds the settings.- Returns:
- the settings
- Since:
- 3.0.0
-