EntityExtinguishEvent #10504
ObbyEquipped
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently there is no way to prevent an entity's fire ticks being reset to zero when the entity enters water or is in the rain. It would be helpful if there was an EntityExtinguishEvent that is fired when an entity enters water or rain while on fire. It would be possible to cancel, and you would be able to get the entity that is being extinguished and also the cause of the entity being extinguished. As far as I know, there is currently no way to accomplish this. I have tried adding to the fire ticks when an entity (in this case a player) is in water, but it is just being reset to zero instantly. For 1.17, this event would also need to be fired when an entity enters powder snow.
Beta Was this translation helpful? Give feedback.
All reactions