KGS Posted December 29, 2013 Posted December 29, 2013 I have a particular block whose locations are tracked by a separate class. Whenever my custom block is placed, the tracker is updated. The problem is handling the block being removed. Is there some Block function that runs whenever that block is removed? Something that is guaranteed? I only found one that triggesr when the player destroys a block, and one that triggers when the block explodes. For safety's sake I want something that covers absolutely EVERY scenario possible. Quote
CJLetsGame Posted December 29, 2013 Posted December 29, 2013 public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6) { } Quote
Recommended Posts
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.