Posted March 22, 20178 yr I am trying to use BiomeDictionary for spawning and the BiomeDictionary.getBiomes(Type t) method returns zero biomes for any given type. What am I doing wrong? I call this method for testing in postInit. (I've tried preInit and Init as well). ... listBiomes(Type.HOT, Type.DRY, Type.SANDY); ... private void listBiomes(Type... types) { for (Type t : types) { Set<Biome> biomes = BiomeDictionary.getBiomes(t); if (biomes.size() == 0) { proxy.info(t.getName() + ": no biomes found"); } else { for (Biome b : biomes) { proxy.info(t.getName() + ": " + b.getBiomeName()); } } } } [15:33:17] [Client thread/INFO] [FML]: HOT: no biomes found [15:33:17] [Client thread/INFO] [FML]: DRY: no biomes found [15:33:17] [Client thread/INFO] [FML]: SANDY: no biomes found This is the output. The code can be found at Github
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.