public interface AttackBlockCallback
Upon return:
ATTACK_BLOCK does not let you control the packet sending process yet.
Modifier and Type | Field and Description |
---|---|
static Event<AttackBlockCallback> |
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.util.math.BlockPos pos,
net.minecraft.util.math.Direction direction) |
static final Event<AttackBlockCallback> EVENT