Biome Modifications
public final class BiomeModifications
Content copied to clipboard
Provides an API to modify Biomes after they have been loaded and before they are used in the World.
Any modifications made to biomes will not be available for use in server.properties (as of 1.16.1), or the demo level.
Experimental feature, may be removed or changed without further notice.
Functions
addCarver
Link copied to clipboard
static void addCarver(Predicate<BiomeSelectionContext> biomeSelector, GenerationStep.Carver step, RegistryKey<ConfiguredCarver<? extends Object>> configuredCarverKey)
Content copied to clipboard
addFeature
Link copied to clipboard
static void addFeature(Predicate<BiomeSelectionContext> biomeSelector, GenerationStep.Feature step, RegistryKey<ConfiguredFeature<? extends Object, ? extends Object>> configuredFeatureKey)
Content copied to clipboard
addSpawn
Link copied to clipboard
static void addSpawn(Predicate<BiomeSelectionContext> biomeSelector, SpawnGroup spawnGroup, EntityType<? extends Object> entityType, int weight, int minGroupSize, int maxGroupSize)
Content copied to clipboard
addStructure
Link copied to clipboard
static void addStructure(Predicate<BiomeSelectionContext> biomeSelector, RegistryKey<ConfiguredStructureFeature<? extends Object, ? extends Object>> configuredStructureKey)
Content copied to clipboard
create
Link copied to clipboard
Sources
jvm source
Link copied to clipboard