How to check packets while attacking?
-
Is it possible to cancel packets while attacking?
Like:
module.on("attack", function(e) { packet = e.getPacket() if (packet instanceof C08PacketPlayerBlockPlacement) { e.cancelEvent(); } });
-
@mq just no, you can't get packets from event attack
-
@foreheadchan ok... then how to check if the player is attacking?
-
@mq you need to check all packets for C02
https://scriptapi.liquidbounce.net/net/minecraft/network/play/client/C02PacketUseEntity.html