Class EntityKnockbackByEntityEvent

All Implemented Interfaces:
Cancellable

@NullMarked public class EntityKnockbackByEntityEvent extends EntityPushedByEntityAttackEvent
Fired when an Entity is knocked back by the hit of another Entity. The acceleration vector can be modified. If this event is cancelled, the entity is not knocked back.