Guest User

Untitled

a guest
Oct 4th, 2017
130
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class RosetteBiomes {
  2.         public static final BiomeAshDesert ashDesert = new BiomeAshDesert();
  3.        
  4.          @SubscribeEvent
  5.             public static void registerBiomes(RegistryEvent.Register<Biome> event) {
  6.                 IForgeRegistry<Biome> registry = event.getRegistry();
  7.                 registry.register(ashDesert);
  8.                 BiomeManager.addBiome(BiomeType.DESERT, new BiomeEntry(ashDesert, 10));
  9.                 BiomeManager.addSpawnBiome(ashDesert);
  10.                 BiomeProvider.allowedBiomes.add(ashDesert);
  11.                 BiomeDictionary.addTypes(ashDesert, BiomeDictionary.Type.HOT);
  12.             }
  13.          
  14. }
RAW Paste Data