Posts: 4,621
Threads: 113
Joined: Dec 2011
Thanks: 51
Given 58 thank(s) in 410 post(s)
but it would be like OnPlayerPlacedBlock and OnPlayerPlacingBlock.
OnTakingDamage would be called before the Entity would actualy take damage.
Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 40
Given 157 thank(s) in 838 post(s)
OnTakeDamage() is called before the entity takes any damage, so it works as if it was an OnTakingDamage(). So actually it's OnTakenDamage() that's missing.
Posts: 4,621
Threads: 113
Joined: Dec 2011
Thanks: 51
Given 58 thank(s) in 410 post(s)
I was thinking if the hook OnChat returns a string that it will use that string as the message.
Posts: 6,486
Threads: 176
Joined: Jan 2012
Thanks: 40
Given 157 thank(s) in 838 post(s)
Hoppers don't have a concept of "transfering", they pull items in and push items out, nothing more. Later on they should also pull pickups in, that's not implemented yet.
Put it in the flyspray tracker, preferably into two separate issues (hopper vs explosion), suggest parameters, return values and behavior.