public interface AttackEntityCallback
Upon return:
| Modifier and Type | Field and Description |
|---|---|
static Event<AttackEntityCallback> |
EVENT |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ActionResult |
interact(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.world.World world,
net.minecraft.util.Hand hand,
net.minecraft.entity.Entity entity,
net.minecraft.util.hit.EntityHitResult hitResult) |
static final Event<AttackEntityCallback> EVENT