/* * Decompiled with CFR 0.152. */ package net.minecraft.data.worldgen.biome; import net.minecraft.core.HolderGetter; import net.minecraft.core.registries.Registries; import net.minecraft.data.worldgen.BootstrapContext; import net.minecraft.data.worldgen.biome.EndBiomes; import net.minecraft.data.worldgen.biome.NetherBiomes; import net.minecraft.data.worldgen.biome.OverworldBiomes; import net.minecraft.world.level.biome.Biome; import net.minecraft.world.level.biome.Biomes; import net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver; import net.minecraft.world.level.levelgen.placement.PlacedFeature; public abstract class BiomeData { public static void bootstrap(BootstrapContext context) { HolderGetter placedFeatures = context.lookup(Registries.PLACED_FEATURE); HolderGetter> carvers = context.lookup(Registries.CONFIGURED_CARVER); context.register(Biomes.THE_VOID, OverworldBiomes.theVoid(placedFeatures, carvers)); context.register(Biomes.PLAINS, OverworldBiomes.plains(placedFeatures, carvers, false, false, false)); context.register(Biomes.SUNFLOWER_PLAINS, OverworldBiomes.plains(placedFeatures, carvers, true, false, false)); context.register(Biomes.SNOWY_PLAINS, OverworldBiomes.plains(placedFeatures, carvers, false, true, false)); context.register(Biomes.ICE_SPIKES, OverworldBiomes.plains(placedFeatures, carvers, false, true, true)); context.register(Biomes.DESERT, OverworldBiomes.desert(placedFeatures, carvers)); context.register(Biomes.SWAMP, OverworldBiomes.swamp(placedFeatures, carvers)); context.register(Biomes.MANGROVE_SWAMP, OverworldBiomes.mangroveSwamp(placedFeatures, carvers)); context.register(Biomes.FOREST, OverworldBiomes.forest(placedFeatures, carvers, false, false, false)); context.register(Biomes.FLOWER_FOREST, OverworldBiomes.forest(placedFeatures, carvers, false, false, true)); context.register(Biomes.BIRCH_FOREST, OverworldBiomes.forest(placedFeatures, carvers, true, false, false)); context.register(Biomes.DARK_FOREST, OverworldBiomes.darkForest(placedFeatures, carvers, false)); context.register(Biomes.PALE_GARDEN, OverworldBiomes.darkForest(placedFeatures, carvers, true)); context.register(Biomes.OLD_GROWTH_BIRCH_FOREST, OverworldBiomes.forest(placedFeatures, carvers, true, true, false)); context.register(Biomes.OLD_GROWTH_PINE_TAIGA, OverworldBiomes.oldGrowthTaiga(placedFeatures, carvers, false)); context.register(Biomes.OLD_GROWTH_SPRUCE_TAIGA, OverworldBiomes.oldGrowthTaiga(placedFeatures, carvers, true)); context.register(Biomes.TAIGA, OverworldBiomes.taiga(placedFeatures, carvers, false)); context.register(Biomes.SNOWY_TAIGA, OverworldBiomes.taiga(placedFeatures, carvers, true)); context.register(Biomes.SAVANNA, OverworldBiomes.savanna(placedFeatures, carvers, false, false)); context.register(Biomes.SAVANNA_PLATEAU, OverworldBiomes.savanna(placedFeatures, carvers, false, true)); context.register(Biomes.WINDSWEPT_HILLS, OverworldBiomes.windsweptHills(placedFeatures, carvers, false)); context.register(Biomes.WINDSWEPT_GRAVELLY_HILLS, OverworldBiomes.windsweptHills(placedFeatures, carvers, false)); context.register(Biomes.WINDSWEPT_FOREST, OverworldBiomes.windsweptHills(placedFeatures, carvers, true)); context.register(Biomes.WINDSWEPT_SAVANNA, OverworldBiomes.savanna(placedFeatures, carvers, true, false)); context.register(Biomes.JUNGLE, OverworldBiomes.jungle(placedFeatures, carvers)); context.register(Biomes.SPARSE_JUNGLE, OverworldBiomes.sparseJungle(placedFeatures, carvers)); context.register(Biomes.BAMBOO_JUNGLE, OverworldBiomes.bambooJungle(placedFeatures, carvers)); context.register(Biomes.BADLANDS, OverworldBiomes.badlands(placedFeatures, carvers, false)); context.register(Biomes.ERODED_BADLANDS, OverworldBiomes.badlands(placedFeatures, carvers, false)); context.register(Biomes.WOODED_BADLANDS, OverworldBiomes.badlands(placedFeatures, carvers, true)); context.register(Biomes.MEADOW, OverworldBiomes.meadowOrCherryGrove(placedFeatures, carvers, false)); context.register(Biomes.CHERRY_GROVE, OverworldBiomes.meadowOrCherryGrove(placedFeatures, carvers, true)); context.register(Biomes.GROVE, OverworldBiomes.grove(placedFeatures, carvers)); context.register(Biomes.SNOWY_SLOPES, OverworldBiomes.snowySlopes(placedFeatures, carvers)); context.register(Biomes.FROZEN_PEAKS, OverworldBiomes.frozenPeaks(placedFeatures, carvers)); context.register(Biomes.JAGGED_PEAKS, OverworldBiomes.jaggedPeaks(placedFeatures, carvers)); context.register(Biomes.STONY_PEAKS, OverworldBiomes.stonyPeaks(placedFeatures, carvers)); context.register(Biomes.RIVER, OverworldBiomes.river(placedFeatures, carvers, false)); context.register(Biomes.FROZEN_RIVER, OverworldBiomes.river(placedFeatures, carvers, true)); context.register(Biomes.BEACH, OverworldBiomes.beach(placedFeatures, carvers, false, false)); context.register(Biomes.SNOWY_BEACH, OverworldBiomes.beach(placedFeatures, carvers, true, false)); context.register(Biomes.STONY_SHORE, OverworldBiomes.beach(placedFeatures, carvers, false, true)); context.register(Biomes.WARM_OCEAN, OverworldBiomes.warmOcean(placedFeatures, carvers)); context.register(Biomes.LUKEWARM_OCEAN, OverworldBiomes.lukeWarmOcean(placedFeatures, carvers, false)); context.register(Biomes.DEEP_LUKEWARM_OCEAN, OverworldBiomes.lukeWarmOcean(placedFeatures, carvers, true)); context.register(Biomes.OCEAN, OverworldBiomes.ocean(placedFeatures, carvers, false)); context.register(Biomes.DEEP_OCEAN, OverworldBiomes.ocean(placedFeatures, carvers, true)); context.register(Biomes.COLD_OCEAN, OverworldBiomes.coldOcean(placedFeatures, carvers, false)); context.register(Biomes.DEEP_COLD_OCEAN, OverworldBiomes.coldOcean(placedFeatures, carvers, true)); context.register(Biomes.FROZEN_OCEAN, OverworldBiomes.frozenOcean(placedFeatures, carvers, false)); context.register(Biomes.DEEP_FROZEN_OCEAN, OverworldBiomes.frozenOcean(placedFeatures, carvers, true)); context.register(Biomes.MUSHROOM_FIELDS, OverworldBiomes.mushroomFields(placedFeatures, carvers)); context.register(Biomes.DRIPSTONE_CAVES, OverworldBiomes.dripstoneCaves(placedFeatures, carvers)); context.register(Biomes.LUSH_CAVES, OverworldBiomes.lushCaves(placedFeatures, carvers)); context.register(Biomes.DEEP_DARK, OverworldBiomes.deepDark(placedFeatures, carvers)); context.register(Biomes.NETHER_WASTES, NetherBiomes.netherWastes(placedFeatures, carvers)); context.register(Biomes.WARPED_FOREST, NetherBiomes.warpedForest(placedFeatures, carvers)); context.register(Biomes.CRIMSON_FOREST, NetherBiomes.crimsonForest(placedFeatures, carvers)); context.register(Biomes.SOUL_SAND_VALLEY, NetherBiomes.soulSandValley(placedFeatures, carvers)); context.register(Biomes.BASALT_DELTAS, NetherBiomes.basaltDeltas(placedFeatures, carvers)); context.register(Biomes.THE_END, EndBiomes.theEnd(placedFeatures, carvers)); context.register(Biomes.END_HIGHLANDS, EndBiomes.endHighlands(placedFeatures, carvers)); context.register(Biomes.END_MIDLANDS, EndBiomes.endMidlands(placedFeatures, carvers)); context.register(Biomes.SMALL_END_ISLANDS, EndBiomes.smallEndIslands(placedFeatures, carvers)); context.register(Biomes.END_BARRENS, EndBiomes.endBarrens(placedFeatures, carvers)); } }