Posted July 15, 20178 yr I want to create a block where when any one of them is clicked, all of them disappear. So, far, I have a clicked event: public void onBlockClicked(World worldIn, BlockPos pos, EntityPlayer playerIn) { delete=1; } But then I'm stuck - how can I make all the other blocks immediately execute some code when delete is 1? There isn't exactly a "when variable is changed" event. A solution without TileEntities would be preferred, though one using them is also perfectly fine.
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.