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.