Posts: 4,610
Threads: 113
Joined: Dec 2011
Thanks: 47
Given 53 thank(s) in 408 post(s)
but it would be like OnPlayerPlacedBlock and OnPlayerPlacingBlock.
OnTakingDamage would be called before the Entity would actualy take damage.
Posts: 6,475
Threads: 175
Joined: Jan 2012
Thanks: 38
Given 154 thank(s) in 836 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,610
Threads: 113
Joined: Dec 2011
Thanks: 47
Given 53 thank(s) in 408 post(s)
I was thinking if the hook OnChat returns a string that it will use that string as the message.
Posts: 6,475
Threads: 175
Joined: Jan 2012
Thanks: 38
Given 154 thank(s) in 836 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.