Posted October 1, 201213 yr Hi all. I was wondering if there is any event hook for block breaking? As I want to change a static variable upon certain blocks (vanilla included) being broken rather than picked up or so on. And secondly I see we can get the list of values but can we get Keyset or Entryset from NBTTagCompound? It doesn't seem possible to me.. So I guess post in suggestions right? (Just checking it's not possible and checking about block break event before posting in suggestions)
October 9, 201212 yr personally I would like to see 3 block break events: 1. an event for the harvestBlock method 2. An event for the startedBreaking or whatever its called method 3. an event for the onBlockDestroyedByPlayer method. http://i.imgur.com/Hppni.png[/img]
October 12, 201212 yr Thirded! They seem so common sense, I thought they already existed and was looking for them earlier in my Forge dist to no avail.
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.