Interface CheckerboardBiomeConfig.Builder
- All Superinterfaces:
AbstractBuilder<CheckerboardBiomeConfig>
,Builder<CheckerboardBiomeConfig,
,CheckerboardBiomeConfig.Builder> CopyableBuilder<CheckerboardBiomeConfig,
,CheckerboardBiomeConfig.Builder> ResettableBuilder<CheckerboardBiomeConfig,
CheckerboardBiomeConfig.Builder>
- Enclosing interface:
- CheckerboardBiomeConfig
public static interface CheckerboardBiomeConfig.Builder
extends Builder<CheckerboardBiomeConfig,CheckerboardBiomeConfig.Builder>, CopyableBuilder<CheckerboardBiomeConfig,CheckerboardBiomeConfig.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionaddBiome
(RegistryReference<Biome> biome) Adds the given biome.addBiomes
(List<RegistryReference<Biome>> biomes) Adds the given biomes.removeBiome
(RegistryReference<Biome> biome) Removes the given biome.scale
(int scale) Sets the scale of the checkerboard tilesMethods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
-
Method Details
-
scale
Sets the scale of the checkerboard tiles- Parameters:
scale
- The scale- Returns:
- This builder, for chaining
-
addBiome
Adds the given biome.- Parameters:
biome
- The biome- Returns:
- This builder, for chaining
-
addBiomes
Adds the given biomes.- Parameters:
biomes
- The biomes- Returns:
- This builder, for chaining
-
removeBiome
Removes the given biome.- Parameters:
biome
- The biome- Returns:
- This builder, for chaining
-