Skip to content

How to get attackentityevent in 1.19.2? #857

Discussion options

You must be logged in to vote

I figured this out myself, instead of trying to use an attackevent (even though i see it exists, i just dont know how to get to it) i just did this
//No attackentity event to use EntityEvents.hurt(event => { if (event.source.player){ //Do things to player } })

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ChiefArug
Comment options

Answer selected by Untrustedlife
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants