Hello there, Today I'm going to show you how to do world generation, the easy way.
With this you can generate shapes, houses, structures and anything related to that.
Make sure to read everything before asking questions that are answered in this thread.
Also Sorry for the messy tutorial, I hope its easy to follow.
Note: This tutorial is made to work with >modloader< only.
Tutorial:
First off, make sure you downloaded my tool!
Now run the tool and start creating you. [Make sure to read the info at the begging of starting the tool]
Go ahead and create a structure[This will take a little while to understand my tool]
Once you're done, close the program [No need to save, it already generated the file]
Make sure to exit using the in-game exit feature else the generated files wont generate right.
Now when you're done creating your master piece...
You will find 2 files in the folder where the tool is located.
The files are called:
mod_Structure.java
WorldGenStructure.java
Put those 2 in your MCP src directory[where all .java files are located]
For other people who don't use mcp will have to place it where they put their mod files.
[I only use mcp so I don't know where those would go]
Now recompile the code and test it.
You will find your structures randomly generated around the world.
Now if you wanna generate the structure in a different place lets say like
the desert...
then you have to open WorldGenStructure.java and
replace all Block.grass in line 15 with Block.sand
if you want the structure to generate in air replace it with "0" [without the quotation marks]
I hope you understood this simple tutorial I made for structure generation using my tool.
If you have any problems or questions, please ask.
i like it but i think you should make it optional for all views or maybe like a 3d view of you creation that would be awesome also wouldnt you have to split the code up becuase the file can only hold so much.
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\WorldGenHouseA.java:13: error: code too large
public boolean generate(World world, Random rand, int i, int j, int k)
^
1 error
1 warning
==================
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 31, in recompile
commands.recompile(CLIENT)
File "C:\Users\Steven\AppData\Roaming\.minecraft\runtime\commands.py", line 73
6, in recompile
self.runcmd(forkcmd)
File "C:\Users\Steven\AppData\Roaming\.minecraft\runtime\commands.py", line 77
9, in runcmd
raise CalledProcessError(returncode, forkcmd, output)
CalledProcessError: Command '"C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -g -
source 1.6 -target 1.6 -classpath "lib;lib\*;jars\bin\minecraft.jar;jars\bin\jin
put.jar;jars\bin\lwjgl.jar;jars\bin\lwjgl_util.jar" -sourcepath src\minecraft -d
bin\minecraft src\minecraft\net\minecraft\client\*.java src\minecraft\net\minec
raft\isom\*.java src\minecraft\net\minecraft\src\*.java conf\patches\ga.java con
f\patches\Start.java' returned non-zero exit status 1
Drücken Sie eine beliebige Taste . . .
I love your tool, but is there any way for me to use my own custom blocks? That would make this sooooo much better
Well there's a way to kinda do it manually, try using wierd block id's to build your building (example: flower id)
Once you're done with that, open the worldgen_.java
Replace all the flower Id's with the id you want.
[Easy]Generate .Schematic Structure[1.2.5][No Coding Needed]
Old Thread:
Hello there, Today I'm going to show you how to do world generation, the easy way.
With this you can generate shapes, houses, structures and anything related to that.
Make sure to read everything before asking questions that are answered in this thread.
Also Sorry for the messy tutorial, I hope its easy to follow.
Note: This tutorial is made to work with >modloader< only.
What you will need:
A bit of java knowledge!
My Tool I Created: Click here to visit "Block / Generation Manager Tool" Thread
Tutorial:
First off, make sure you downloaded my tool!
Now run the tool and start creating you. [Make sure to read the info at the begging of starting the tool]
Go ahead and create a structure[This will take a little while to understand my tool]
Once you're done, close the program [No need to save, it already generated the file]
Make sure to exit using the in-game exit feature else the generated files wont generate right.
Now when you're done creating your master piece...
You will find 2 files in the folder where the tool is located.
The files are called:
mod_Structure.java
WorldGenStructure.java
Put those 2 in your MCP src directory[where all .java files are located]
For other people who don't use mcp will have to place it where they put their mod files.
[I only use mcp so I don't know where those would go]
Now recompile the code and test it.
You will find your structures randomly generated around the world.
Now if you wanna generate the structure in a different place lets say like
the desert...
then you have to open WorldGenStructure.java and
replace all Block.grass in line 15 with Block.sand
if you want the structure to generate in air replace it with "0" [without the quotation marks]
I hope you understood this simple tutorial I made for structure generation using my tool.
If you have any problems or questions, please ask.
Here's some pictures:
The Tool:
Created a house using the tool:
Recompiled the code and tested:
Its technically a mod, its a tool that generates the mod for you.
Lol
also added some pictures [same pictures as the one of my tool thread]
Lol sorry about that.
The "pics" are in the other thread I linked to, this is a tutorial, not a downloads page.
Added pictures anyways.
I did all, that you write, but my structure don't generating... :sad.gif:((
for you !
It says [1.0.0] Not [1.1]
works fine for me on 1.1 i think your problem is that you have is it reached its max limit for the file
Im having the same issues
ヽ༼ຈل͜ຈ༽ノ raise your dongers ヽ༼ຈل͜ຈ༽ノ
Art by me: MrPancakeWolfie@DeviantArt
I'm working on updating the tool to work with 1.2.5.
Once I update it will be here:
http://www.minecraftforum.net/topic/927873-block-structure-generation-manager-tool-for-modders/
Well there's a way to kinda do it manually, try using wierd block id's to build your building (example: flower id)
Once you're done with that, open the worldgen_.java
Replace all the flower Id's with the id you want.
That should work.