Posted December 12, 201212 yr I have code that DOES generate the ore (In the END), but only in one spot in the island. Nowhere else. Code: package redx36.enderite; import java.util.Random; import net.minecraft.src.BiomeGenBase; import net.minecraft.src.IChunkProvider; import net.minecraft.src.World; import cpw.mods.fml.common.IWorldGenerator; public class EnderiteWorldGenerator implements IWorldGenerator { @Override public void generate (final Random random, final int X, final int Z, final World world, final IChunkProvider chunkGenerator, final IChunkProvider chunkProvider) { if (world.getBiomeGenForCoords(X, Z).biomeName.equalsIgnoreCase(BiomeGenBase.sky.biomeName)) { for (int i = 0; i < 10; i++) { new WorldGenEndMinable(Enderite.enderiteOre.blockID, 4).generate(world, random, X + random.nextInt(16), random.nextInt(128), Z + random.nextInt(16)); } } } } WorldGenEndMineable is exactly the same as WorldGenMineable except is uses end stone instead of stone as the replaceable block. And the finals you see dont change code function at all.
December 13, 201212 yr OFC it will only gen in the island... it doesnt replace AIR, it replace ENDSTONE, which is only in the island... I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
December 15, 201212 yr Author I never said it was only on the island, its only in about a chunks area on the island, now here else on the island.
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.