Posted August 8, 201312 yr Howdy, I am trying to find the best way to detect if the a block is exposed to the sky after a block above it has broken. The most direct way(because I assumed there was a block break event) is to hook into a block break event and do a check every single time via checking every block from the sky limit to the block but that seems.... excessive. Now I know from reading here that there isn't a block break event so I need other ways. I could do block lighting but this needs to work at night as well. Anyone have any more ideas then what I have above? Thanks!
August 8, 201312 yr For exposed to sky problem: Try looking at the methods of the World class! world.canBlockSeeTheSky(x, y, z) If you guys dont get it.. then well ya.. try harder...
August 8, 201312 yr Author Thanks for responding on both forums I tend to not get responses on the main minecraft forum so I cross posted here. Thank you very much!
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.