Posted June 30, 201411 yr Certain ores just won't generate. All oreBlock classes and where they're registered in the main class are just copied and pasted from on another, and just renamed and have their harvest level changed. They show up perfectly fine in creative tabs and act normally when placed, but they won't generate. Even when they're in the same generation section they won't spawn. For example, for(int i = 0; i < 6 /* <- Rarity per chunk */; i++) { int chunkX = x + random.nextInt(16); int chunkY = random.nextInt(30); //Max height to generate int chunkZ = z + random.nextInt(16); (new WorldGenMinable(Main.oreCoinSilver, 3)).generate(world, random, chunkX, chunkY, chunkZ); (new WorldGenMinable(Main.oreCoinGold, 1)).generate(world, random, chunkX, chunkY, chunkZ); (new WorldGenMinable(Main.oreStar, 1)).generate(world, random, chunkX, chunkY, chunkZ); (new WorldGenMinable(Main.oreComet, 1)).generate(world, random, chunkX, chunkY, chunkZ); (new WorldGenMinable(Main.eridiumOre, 3)).generate(world, random, chunkX, chunkY, chunkZ); } for(int i = 0; i < 3 /* <- Rarity per chunk */; i++) { int chunkX = x + random.nextInt(16); int chunkY = random.nextInt(20); //Max height to generate int chunkZ = z + random.nextInt(16); (new WorldGenMinable(Main.oreBand, 1)).generate(world, random, chunkX, chunkY, chunkZ); (new WorldGenMinable(Main.oreCrown, 1)).generate(world, random, chunkX, chunkY, chunkZ); (new WorldGenMinable(Main.unobtainiumOre, 4)).generate(world, random, chunkX, chunkY, chunkZ); } for(int i = 0; i < 2 /* <- Rarity per chunk */; i++) { int chunkX = x + random.nextInt(16); int chunkY = random.nextInt(12); //Max height to generate int chunkZ = z + random.nextInt(16); (new WorldGenMinable(Main.oreStatue, 1)).generate(world, random, chunkX, chunkY, chunkZ); (new WorldGenMinable(Main.oreVase, 1)).generate(world, random, chunkX, chunkY, chunkZ); (new WorldGenMinable(Main.adamantiumOre, 5)).generate(world, random, chunkX, chunkY, chunkZ); } for(int i = 0; i < 1 /* <- Rarity per chunk */; i++) { int chunkX = x + random.nextInt(16); int chunkY = random.nextInt(3); //Max height to generate int chunkZ = z + random.nextInt(16); (new WorldGenMinable(Main.GoddessOre, 1)).generate(world, random, chunkX, chunkY, chunkZ); } GoddessOre, oreBand, oreCrown, oreStar and oreComet won't spawn, but all the others DO. Using WorldEdit I took out a 128x128 area of land and removed every block except ores, and not one of those ore had generated there. I also used the "//replace [ore] 0" command to see if they'd be in a 256x256 area of land, but "0 blocks were replaced." They don't generate. How can they not generate when other blocks with the same rarity that were copy/pasted from them do?
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.