Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 8fbb958

Browse files
committed
Add note to AttackEntityEvent about contrast with AttackEntityCallback
1 parent ccdbfad commit 8fbb958

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

patchwork-events-entity/src/main/java/net/minecraftforge/event/entity/player/AttackEntityEvent.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
*
2828
* <p>This event is fired whenever a player attacks an Entity in
2929
* {@link PlayerEntity#attack(Entity)} on either the client or the server.
30+
* This is in contrast to {@link net.fabricmc.fabric.api.event.player.AttackEntityCallback}, which is only called on the
31+
* logical server.
3032
*
3133
* <p>This event is cancellable.
3234
* If this event is canceled, the player does not attack the Entity.

0 commit comments

Comments
 (0)