Jump to content

Block objects for in-world blocks.


Recommended Posts


I just want to become sure that the in-world blocks don't have their own Block objects (they just store id, metadata and tileentitys) and block object are only for each type of block.


The in-world blocks = these you are walking on. Make a step and your on other block.


As I say - this is just getting 100% sure.

Link to comment
Share on other sites

You are correct.


Every block only exist once, the game only stores the int BlockID, Metadata and if needed a TileEntity at any given location inn the world.


If you want something to happen to a specific block inn the world (like rotation) then you need to use metadata or a TileEntity(if it's more complex than what metadata can hold).

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

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.

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.


  • Create New...

Important Information

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