Topic category: Help with modding
Solved. For whatever reason when I change the Spawn Probability it doesn't... save... I guess? I had to manually go into the coding by going to 'mod list' then edit and manually changing if((random.nextInt(1000000)+1)<=THISNUMBER) to a higher setting before it ended up spawning frequently. Thanks anyways!
I've attempted to make a mod that spawns a structure randomly around the world. It was a pretty slim but kinda tall tower. I also made an item that spawns the tower on right click. I saved the mod and loaded up Minecraft, but I can't find the structure naturally spawning anywhere. I've tried changing the Spawn Probability several times. I've set it at 100, then 200, then 500, then 1000000. Still nothing. I've tried making several new worlds, and even a flat world. Here is the full list of settings I used: Spawn Air - Checked. Check for room before spawning - Checked. Schematic file to import was made in Mcedit, and saved in my C:/Pylo folder. Spawn Location - Ground. Spawn world type - Surface. Everything after that was left off.
I was able to spawn the tower using the item I made. I was able to use the item to spawn it almost everywhere to make sure it could spawn. I was able to spawn it on flat land, on the side of hills, and even on trees. Yet, it didn't spawn anywhere naturally.
Any idea what is wrong with it? :\
Thanks for reading.