Interface NoiseGeneratorConfigTemplate.Builder
- All Superinterfaces:
AbstractBuilder<NoiseGeneratorConfigTemplate>
,Builder<NoiseGeneratorConfigTemplate,
,NoiseGeneratorConfigTemplate.Builder> CopyableBuilder<NoiseGeneratorConfigTemplate,
,NoiseGeneratorConfigTemplate.Builder> DataPackEntryBuilder<NoiseGeneratorConfig,
,NoiseGeneratorConfigTemplate, NoiseGeneratorConfigTemplate.Builder> ResettableBuilder<NoiseGeneratorConfigTemplate,
,NoiseGeneratorConfigTemplate.Builder> ResourceKeyedBuilder<NoiseGeneratorConfigTemplate,
NoiseGeneratorConfigTemplate.Builder>
- Enclosing interface:
- NoiseGeneratorConfigTemplate
public static interface NoiseGeneratorConfigTemplate.Builder
extends DataPackEntryBuilder<NoiseGeneratorConfig,NoiseGeneratorConfigTemplate,NoiseGeneratorConfigTemplate.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionaquifers
(boolean enableAquifers) Sets whether to generate aquifers.defaultBlock
(BlockState block) Sets the default block used for terrain.defaultFluid
(BlockState fluid) Sets the default fluid used for seas and lakes.mobGeneration
(boolean mobGeneration) Sets whether to enable mob generation.noiseConfig
(NoiseConfig config) Sets the noise configurationnoiseRouter
(NoiseRouter router) Sets the noise router.oreVeins
(boolean enableOreVeins) Sets whether to generate or veins.randomSource
(boolean useLegacyRandomSource) Sets whether to use the legacy random source.seaLevel
(int y) Sets the sea level.spawnTargets
(List<BiomeAttributes> spawnTargets) Sets the biome attributes in which the initialWorldProperties.spawnPosition()
is allowed.surfaceRule
(SurfaceRule rule) Sets the surface rule.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
Methods inherited from interface org.spongepowered.api.util.DataPackEntryBuilder
fromDataPack, fromValue, pack
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
noiseConfig
Sets the noise configuration- Parameters:
config
- The noise configuration- Returns:
- This builder, for chaining
-
surfaceRule
Sets the surface rule.- Parameters:
rule
- The surface rule- Returns:
- This builder, for chaining
-
defaultBlock
Sets the default block used for terrain.- Parameters:
block
- The block- Returns:
- This builder, for chaining
-
defaultFluid
Sets the default fluid used for seas and lakes.- Parameters:
fluid
- The fluid- Returns:
- This builder, for chaining
-
seaLevel
Sets the sea level.- Parameters:
y
- The sea level- Returns:
- This builder, for chaining
-
aquifers
Sets whether to generate aquifers.- Parameters:
enableAquifers
- true to enable aquifers- Returns:
- This builder, for chaining
-
oreVeins
Sets whether to generate or veins.- Parameters:
enableOreVeins
- true to enable ore veins- Returns:
- This builder, for chaining
-
mobGeneration
Sets whether to enable mob generation.- Parameters:
mobGeneration
- true to enable mob generation- Returns:
- This builder, for chaining
-
randomSource
Sets whether to use the legacy random source.- Parameters:
useLegacyRandomSource
- true when using the legacy random source- Returns:
- This builder, for chaining
-
noiseRouter
Sets the noise router.- Parameters:
router
- The noise router- Returns:
- This builder, for chaining
-
spawnTargets
Sets the biome attributes in which the initialWorldProperties.spawnPosition()
is allowed.- Parameters:
spawnTargets
- The spawn targets- Returns:
- This builder, for chaining
-