var C03PacketPlayer = Java.type('net.minecraft.network.play.client.C03PacketPlayer');
var script = registerScript({
name: "Nofall For Vulcan",
version: "1.0.0",
authors: ["Orang"]
})
script.registerModule({
name: "Vulcan Nofall",
category: "Player",
description: "A half decent nofall for Vulcan",
tag: "Bypass",
settings: {
blocks: Setting.float({
name: "Blocks Fallen", default: 3, min: 0, max: 15
})
}
}, function(module) {
module.on("packet", function (e){
var packet = e.getPacket();
if(packet instanceof C03PacketPlayer){
if(mc.thePlayer.fallDistance >= module.settings.blocks.get()) {
mc.thePlayer.fallDistance = 0;
mc.thePlayer.motionY = -0.1
packet.onGround = !packet.onGround;
}
}
})
})