#applyKnockback on the event entity
1 messages · Page 1 of 1 (latest)
Yes, you can. If it’s a before event you need to wrap that inside a system.run, and it will be executed one tick later: shouldn’t be too bad.
You’ll need to work a bit with vectors in order to get the right direction for the knockback though
Thank youu
Do you mean like:
const player = ev.source;
player.appyKnockback();