/******************************************************************************* * Copyright 2014-2019, the Biomes O' Plenty Team * * This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License. * * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. ******************************************************************************/ package biomesoplenty.api.biome; import biomesoplenty.core.BiomesOPlenty; import net.minecraft.util.RegistryKey; import net.minecraft.util.ResourceLocation; import net.minecraft.util.registry.Registry; import net.minecraft.world.biome.Biome; import java.util.Optional; public class BOPBiomes { public static RegistryKey alps = register("alps"); public static RegistryKey alps_foothills = register("alps_foothills"); public static RegistryKey bayou = register("bayou"); public static RegistryKey bog = register("bog"); public static RegistryKey boreal_forest = register("boreal_forest"); public static RegistryKey chaparral = register("chaparral"); public static RegistryKey cherry_blossom_grove = register("cherry_blossom_grove"); public static RegistryKey cold_desert = register("cold_desert"); public static RegistryKey coniferous_forest = register("coniferous_forest"); public static RegistryKey dead_forest = register("dead_forest"); public static RegistryKey dryland = register("dryland"); public static RegistryKey fir_clearing = register("fir_clearing"); public static RegistryKey floodplain = register("floodplain"); public static RegistryKey flower_meadow = register("flower_meadow"); public static RegistryKey fungal_jungle = register("fungal_jungle"); public static RegistryKey grassland = register("grassland"); public static RegistryKey gravel_beach = register("gravel_beach"); public static RegistryKey grove = register("grove"); public static RegistryKey highland = register("highland"); public static RegistryKey highland_moor = register("highland_moor"); public static RegistryKey jade_cliffs = register("jade_cliffs"); public static RegistryKey lavender_field = register("lavender_field"); public static RegistryKey lush_desert = register("lush_desert"); public static RegistryKey lush_grassland = register("lush_grassland"); public static RegistryKey lush_swamp = register("lush_swamp"); public static RegistryKey mangrove = register("mangrove"); public static RegistryKey maple_woods = register("maple_woods"); public static RegistryKey marsh = register("marsh"); public static RegistryKey meadow = register("meadow"); public static RegistryKey mire = register("mire"); public static RegistryKey muskeg = register("muskeg"); public static RegistryKey mystic_grove = register("mystic_grove"); public static RegistryKey ominous_woods = register("ominous_woods"); public static RegistryKey orchard = register("orchard"); public static RegistryKey origin_valley = register("origin_valley"); public static RegistryKey outback = register("outback"); public static RegistryKey overgrown_cliffs = register("overgrown_cliffs"); public static RegistryKey pasture = register("pasture"); public static RegistryKey poppy_field = register("poppy_field"); public static RegistryKey prairie = register("prairie"); public static RegistryKey pumpkin_patch = register("pumpkin_patch"); public static RegistryKey rainbow_hills = register("rainbow_hills"); public static RegistryKey rainforest = register("rainforest"); public static RegistryKey redwood_forest = register("redwood_forest"); public static RegistryKey redwood_forest_edge = register("redwood_forest_edge"); public static RegistryKey scrubland = register("scrubland"); public static RegistryKey seasonal_forest = register("seasonal_forest"); public static RegistryKey shield = register("shield"); public static RegistryKey shrubland = register("shrubland"); public static RegistryKey silkglade = register("silkglade"); public static RegistryKey snowy_coniferous_forest = register("snowy_coniferous_forest"); public static RegistryKey snowy_fir_clearing = register("snowy_fir_clearing"); public static RegistryKey snowy_forest = register("snowy_forest"); public static RegistryKey steppe = register("steppe"); public static RegistryKey temperate_rainforest = register("temperate_rainforest"); public static RegistryKey temperate_rainforest_hills = register("temperate_rainforest_hills"); public static RegistryKey tropical_rainforest = register("tropical_rainforest"); public static RegistryKey tropic_beach = register("tropic_beach"); public static RegistryKey tropics = register("tropics"); public static RegistryKey tundra = register("tundra"); public static RegistryKey volcanic_plains = register("volcanic_plains"); public static RegistryKey volcano = register("volcano"); public static RegistryKey wasteland = register("wasteland"); public static RegistryKey wetland = register("wetland"); public static RegistryKey woodland = register("woodland"); public static RegistryKey crystalline_chasm = register("crystalline_chasm"); public static RegistryKey undergrowth = register("undergrowth"); public static RegistryKey visceral_heap = register("visceral_heap"); public static RegistryKey withered_abyss = register("withered_abyss"); private static RegistryKey register(String name) { return RegistryKey.create(Registry.BIOME_REGISTRY, new ResourceLocation(BiomesOPlenty.MOD_ID, name)); } }