Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.meepshadow.mysticsbiomes.core.registry;
- @Mod.EventBusSubscriber(modid = MysticsBiomes.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD)
- public class ModBiomes {
- public static RegistryKey<Biome> STRAWBERRY_FIELD;
- public static RegistryKey<Biome> LAVENDER_MEADOW;
- public static void load() { }
- @SubscribeEvent
- public static void setupBiomes() {
- BiomeManager.addBiome(BiomeManager.BiomeType.WARM, new BiomeManager.BiomeEntry(STRAWBERRY_FIELD, Config.COMMON.strawberryFieldWeight.get()));
- BiomeManager.addBiome(BiomeManager.BiomeType.COOL, new BiomeManager.BiomeEntry(LAVENDER_MEADOW, Config.COMMON.lavenderMeadowWeight.get()));
- BiomeDictionary.addTypes(STRAWBERRY_FIELD, BiomeDictionary.Type.PLAINS, BiomeDictionary.Type.OVERWORLD);
- BiomeDictionary.addTypes(LAVENDER_MEADOW, BiomeDictionary.Type.PLAINS, BiomeDictionary.Type.OVERWORLD);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement