Advertisement
Guest User

Untitled

a guest
Oct 4th, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement