public void generateSurface(World world, Random random, int chunkX, int chunkZ)
{
for(int i = 0; i < 3; i++)
{
int randPosX = chunkX + random.nextInt(16);
int randPosY = random.nextInt(25);
int randPosZ = chunkZ + random.nextInt(16);
(new WorldGenMinable(sarliteore.blockID, 5)).generate(world, random, randPosX, randPosY, randPosZ);
}
}
public String getVersion()
{
return "1.4.6";
}
}
Now the "int i" i don't know if should be "par1" or "var1" since the minecraft code says "par1" but modloader BaseMod code says "var1".
Also, the rarity of the ore, i need someone to explain it to me because no tutorials are helping!! When I put it to
for(int i = 0; i < 1; i++)
But when i put it to
for(int i = 0; i < 3; i++)
The ore is everywhere!! Is this caused because I am using the "int i" instead of "int par1" ??
So here is my code for generating my ore
public void generateSurface(World world, Random random, int chunkX, int chunkZ) { for(int i = 0; i < 3; i++) { int randPosX = chunkX + random.nextInt(16); int randPosY = random.nextInt(25); int randPosZ = chunkZ + random.nextInt(16); (new WorldGenMinable(sarliteore.blockID, 5)).generate(world, random, randPosX, randPosY, randPosZ); } } public String getVersion() { return "1.4.6"; } }Now the "int i" i don't know if should be "par1" or "var1" since the minecraft code says "par1" but modloader BaseMod code says "var1".
Also, the rarity of the ore, i need someone to explain it to me because no tutorials are helping!! When I put it to
But when i put it to
The ore is everywhere!! Is this caused because I am using the "int i" instead of "int par1" ??
I need it to be rarer than diamond!
Visit my youtube channel?
http://www.youtube.com/user/TheCoolgatty