取消C03玩家包js
-
取消之后动不了,但能绕反击退0lag&高范围killaura
var scriptName = "CancelC03"; var scriptAuthor = "ASKLL"; var scriptVersion = 1.0; var C03PacketPlayer = Java.type("net.minecraft.network.play.client.C03PacketPlayer"); function NoC03() { this.getName = function() { return "CancelC03"; } this.getCategory = function() { return "Misc"; } this.getDescription = function() { return "CancelC03"; } this.onUpdate = function () { } this.onPacket = function (event) { var packet = event.getPacket(); if (packet instanceof C03PacketPlayer){ event.cancelEvent() } } } var NoC03 = new NoC03(); var NoC03Client; function onEnable() { NoC03Client = moduleManager.registerModule(NoC03); } function onDisable() { moduleManager.unregisterModule(NoC03Client); }
-
var scriptName = "CancelC0F"; var scriptAuthor = "ASKLL"; var scriptVersion = 1.0; var C0FPacketConfirmTransaction = Java.type ("net.minecraft.network.play.client.C0FPacketConfirmTransaction"); function NoC03() { this.getName = function() { return "CancelC0F"; } this.getCategory = function() { return "Misc"; } this.getDescription = function() { return "CancelC0F"; } this.onUpdate = function () { } this.onPacket = function (event) { var packet = event.getPacket(); if (packet instanceof C0FPacketConfirmTransaction){ event.cancelEvent() } } } var NoC0F = new NoC0F(); var NoC0FClient; function onEnable() { NoC0FClient = moduleManager.registerModule(NoC0F); } function onDisable() { moduleManager.unregisterModule(NoC0FClient); }