Add SnifferChangeStateEvent or similar #11251
AlepandoCR
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
This obviously should be called SnifferSniffEvent. But yeah, indeed not possible with the API currently. It may make sense to have some sort of catch-all event for all of those mobs though, instead of needing to add individual ones for every one (and every new mob) |
Beta Was this translation helpful? Give feedback.
3 replies
-
I believe that the question over this was if we wanted to try to genericized the concept |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem?
Why?
There 're some events for state changes, for example
PufferFishStateChangeEvent
or in case of posesEntityPoseChangeEvent
but none of them work for detecting states / poses of the Sniffer, DIGGING is in fact in the enum of Poses detected byEntityPoseChangeEvent
but its meant for the WardenDescribe the solution you'd like.
Add a new Event Class to detect the Sniffer state change, and make it so
EntityPoseChangeEvent
can detect the Sniffer posesNew Event
Detecting poses
This are some examples of functionalities
Describe alternatives you've considered.
Ugly alternative
I don't have experience working with paper pr so I cant offer a real solution to this on paper, but using de API you can do a task checking for Sniffers on a exact state
Other
Theres a list of new mobs that dont have event listeners, such as the Breeze, Armadillo, Allay, Camel and maybe more, itll be great if you guys could check some of them! :D
Beta Was this translation helpful? Give feedback.
All reactions