Jump to content

Structure


Casual Dutchman

Recommended Posts

Hello everyone,

 

I hope some of you can help me with this big thing, well I think it's big.

I want to make a structure.

I know what you are saying, that's easy!

Yeah it is, but only the easy methode gives easy buildings.

world.setBlock(x, y, z, blockID)

 

I want my structure to have halfslabs ans stairs upsidedown.

And door to face the correct direction.

 

The villages files can give me more info, I thought.

But no... it did not!

 

Please help me out guys.

Do I need to make a complete set of files like the VillageComponents?

Or just a different methode to rotate blocks?

 

Thanks in advance

Casual Dutchman

Coding, Testing, Smiling, Publishing!

Link to comment
Share on other sites

The rotations of the blocks mentioned by you are all saved in a thing what's called block metadata (and with those many more blocks). Also the difference between top/bottom halfslabs and stairs being upside down is saved in metadata. So I suggest looking up metadata (there's much to find on this topic).

Author of PneumaticCraft, MineChess, Minesweeper Mod and Sokoban Mod. Visit www.minemaarten.com to take a look at them.

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.