Jump to content

[1.8] view chunk modification information in tileentity (or somewhere else)?


iame6162013
 Share

Recommended Posts

How would I go about trying to figure out if a block changed in a chunk that one of my blocks is in,

I would also like to know how to see if a block changed in a chunk that's next to the chunk my block is in.

 

I think I could do this using the BlockEvent, but this event would be called all over the world but I only need to monitor a few chunks so this wouldn't be very handy.

Do you guys know a better way to do this?

Link to comment
Share on other sites

Well, the BlockEvent would only fire for player-placed blocks. The only way that I can think of doing is register an IWorldAccess to the world (world.addWorldAccess) in WorldEvent.Load. That has a markBlockForUpdate method which is called pretty much whenever world.setBlock is called. There is no way to do this on a per-chunk basis.

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
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.

 Share



×
×
  • Create New...

Important Information

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