Switch skyblock chunk generator to a dummied-out overworld one. This means biomes are now intact, allowing location-based mob farms. Old GoG chunks will remain as plains biomes

This commit is contained in:
Vincent Lee committed 2020-01-03 18:37:19 -06:00
1 parent 37b0042cdd
commit f3ecda8bb3
3 files changed
+41 -8

No files matched your search

@@ -12,6 +12,7 @@ package vazkii.botania.common.world;
import com.google.common.collect.ImmutableSet;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.gen.ChunkGeneratorType;
import net.minecraft.world.gen.GenerationStage;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.placement.IPlacementConfig;
@@ -49,6 +50,11 @@ public class ModFeatures {
register(r, MYSTICAL_FLOWERS, "mystical_flowers");
register(r, MYSTICAL_MUSHROOMS, "mystical_mushrooms");
}
@SubscribeEvent
public static void registerChunkGenerators(RegistryEvent.Register<ChunkGeneratorType<?, ?>> evt) {
register(evt.getRegistry(), SkyblockChunkGenerator.TYPE, "garden_of_glass");
}
public static void addWorldgen() {
for(Biome biome : ForgeRegistries.BIOMES) {