Jump to content

[1.7.X] Read data from a .schematic file


MikaXD

Recommended Posts

I want to spawn some new structures in minecraft but some of them are pretty big so I need a lot of code. With MCEdit you can create .schematic files which contains my structure. And here's the question:

 

How can I read the blocks and metadata from a .schematic file?

 

On the internet I didn't find anything useful for the current version.

 

Sorry for my bad english  :D

 

 

Link to comment
Share on other sites

I think this could help you:

https://bitbucket.org/cltnschlosser/minecolonies/src/8e91ab516b21140ec1e063a1aba8b61b4c56f3df/src/main/java/com/github/lunatrius/schematica/world/schematic/?at=master

https://bitbucket.org/cltnschlosser/minecolonies/src/8e91ab516b21140ec1e063a1aba8b61b4c56f3df/src/main/java/com/minecolonies/util/Schematic.java?at=master

 

This mod is using Schematica for placing schematics in the world and there are classes that can show you how to read the schematic files and how to scan a building that you can put it into a schematic file.

 

 

Developer of Primeval Forest.

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.