RE-KevinClient / KevinClient-Reborn

A Minecraft hacked client.
GNU General Public License v3.0
51 stars 4 forks source link

直接火速给我添加Karhu Ghostblock Velocity #37

Closed MatrixU5er closed 10 months ago

MatrixU5er commented 1 year ago
fun onBlockBB(event: BlockBBEvent) {
    if (modeValue.equals("Karhu")) {
        if (event.block is BlockAir && mc.thePlayer.hurtTime > 0 && velocityTick <= 9) {
            val x: Double = event.x.toDouble()
            val y: Double = event.y.toDouble()
            val z: Double = event.z.toDouble()
            if (y == Math.floor(mc.thePlayer.posY) + 1) {
                event.boundingBox = AxisAlignedBB.fromBounds(0.0, 0.0, 0.0, 1.0, 0.0, 1.0).offset(x, y, z)

https://github.com/RinoRika/Aerolite/blob/main/src/main/java/net/ccbluex/liquidbounce/features/module/modules/combat/Velocity.kt

siuank commented 10 months ago

Added as "BlockCollection"

Dawn5ky commented 10 months ago

不是BlockCollision?