Jump to content

Wurmatron

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by Wurmatron

  1. Thank you so much i can't believe i didn't see that.
  2. I am trying to create custom generation for my dimension but when i do it creates the structure at 0 , 69 ,0 I set it to generate at Y = 69 and for it to use java Random to select random points for the X and Z cords. Here is my generation code i am trying to get it to generate all over the minecraft world. package darkness.synapse; import java.util.Random; import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.chunk.IChunkProvider; import cpw.mods.fml.common.IWorldGenerator; import darkness.Darkness; import darkness.lib.ConfigHandler; import darkness.synapse.gen.SynapseIslandGen; public class Synapse_Generator implements IWorldGenerator { @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { BiomeGenBase biomegenbase = world.getWorldChunkManager().getBiomeGenAt(chunkX, chunkZ); int Y = 69; int randX = chunkX * 16 + random.nextInt(); int randZ = chunkZ * 16 + random.nextInt(); for(int k = 0; k < chunkX * chunkZ; k++){ if (biomegenbase == Darkness.Biome_Synapse ) { (new SynapseIslandGen()).generate(world,random,chunkX,Y,chunkZ); } } } }
  3. I Would Recommend its how i started to learn minecraft modding.
  4. In order to set up your environment you need to download the Source of forge for the minecraft that you want to make the mod for and then run the install.bat and it will install Minecraft coders pack and you will be ready to make mods. Download the "SRC" at http://files.minecraftforge.net/ Note: Make Sure you have setup your java JDk setup with your path
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.