Jump to content

Need someone to teach me forge api


TrollTaylor

Recommended Posts

Well that wouldn't exactly be anything specifically to forge then ;)

 

I assume you know how to parse XML files and preform basic IO operations on a text file? :)

You could learn how to parse the schematic files yourself.

Which isn't that hard. They are saved in the NBT format:  http://minecraft.gamepedia.com/Schematic_file_format

Normally you parse the contents of the file into an 3Darray of blockIDs and use that to generate.

 

Or you can use some other guys API for it, I'd recommend looking into TehBeards LibSchematic api. It's not finished yet but it's working and you can get it from his github :)

You could also check out CoolAlias structure generation tool here, although it's not about schematics: http://www.minecraftforum.net/topic/1963371-structure-generation-and-rotation-tool/

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

First, I would recommend learning Java basics before delving into APIs.

Second, I would read the tutorials associated with the Forge API basics.

Third, I would read the Javadocs for the Forge API.

Fourth, I would look on GitHub for open-source mods that include Forge integration for insight.

Lastly, I would begin coding, having drawn all of the above mentioned details.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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