ajaygross137
Members-
Posts
9 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
-
Personal Text
I am new!
ajaygross137's Achievements
Tree Puncher (2/8)
0
Reputation
-
Thanks! Now one more question... How do I mark this as [sOLVED]?
-
ok ok thanks that seems to solve it but how to I make it like more rare than diamonds, but more common then emeralds?
-
Hey guys! My ore spawns way too much... I want my ore to be more rare then diamond, but not as annoyingly rare as emerald. Here is the SuperOreWorldGeneration code: package ajaygross137.MyFirstMod.worldGen; import java.util.Random; import ajaygross137.MyFirstMod.common.MyFirstMod; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import cpw.mods.fml.common.IWorldGenerator; public class SuperOreWorldGeneration implements IWorldGenerator { @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.dimensionId) { case 0: generateSurface(world, random, chunkX*16, chunkZ*16); break; } } private void generateSurface(World world, Random random, int i, int j) { for (int k = 0; k < 25; k++) { int chunkX = i + random.nextInt(16); int chunkY = random.nextInt(16); int chunkZ = j + random.nextInt(16); (new WorldGenMinable(MyFirstMod.SuperOre.blockID, ).generate(world, random, chunkX, chunkY, chunkZ); } } }
-
How come you got a reply so fast!?!?