Posted June 13, 20178 yr Hello, Is there a method in the Block class that's called when the block is broken by anything? (Explosion, player etc.) Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
June 13, 20178 yr Block#breakBlock is called when a block is replaced by another block, regardless of what caused the replacement. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
June 13, 20178 yr Author Ah yes, that was it, thanks! Also, is it called when a property was changed? Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
June 13, 20178 yr 6 minutes ago, Kokkie said: Ah yes, that was it, thanks! Also, is it called when a property was changed? No. If you look at the code that calls it, you'll see that it's only called when the Block changes. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
June 13, 20178 yr Author Okay, thanks! Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
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.