CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    AutoJump only on selected blocks?

    Scripts
    4
    11
    278
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Joel kek
      Joel kek last edited by

      I got a problem when im on slimeblocks my player gets stuck so a autojump only on slimeblocks would fix it

      1 Reply Last reply Reply Quote 0
      • As丶One
        As丶One last edited by

        ///api_version=2
        
        var script = registerScript({
            name: "AutoJump",
            version: "1.0",
            authors: ["As丶One"]
        });
        
        var block = Setting.block({
            name: "Block",
            default: 165
        })
        
        var BlockPos = Java.type("net.minecraft.util.BlockPos")
        var Block = Java.type("net.minecraft.block.Block")
        
        script.registerModule({
            name: "AutoJump",
            description: "AutoJump By As丶One",
            category: "Movement",
            settings: [block]
        }, function (module) {
            module.on("update", function () {
                if (Block.getIdFromBlock(mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.getPositionVector()).down()).getBlock()) == block.get()) {
                    if (mc.thePlayer.onGround && !mc.thePlayer.isInWater() && !mc.thePlayer.isInLava()) {
                        mc.thePlayer.jump()
                    }
                }
            })
        })
        
        Joel kek efwwefwewef wefwwfefwefw 2 Replies Last reply Reply Quote 0
        • Joel kek
          Joel kek @As丶One last edited by

          @as丶one Thank you its perfect sadly its not working in b73 but no problem

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Joel kek last edited by A Former User

            @joel-kek said in AutoJump only on selected blocks?:

            @as丶one Thank you its perfect sadly its not working in b73 but no problem

            can you show me the console log?

            Joel kek 1 Reply Last reply Reply Quote 0
            • Joel kek
              Joel kek @Guest last edited by

              @fartcheese Where do i see the console log?

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Joel kek last edited by

                @joel-kek are you new to using clients

                Joel kek 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User last edited by A Former User

                  BTW what MC launcher are you using?

                  1 Reply Last reply Reply Quote 0
                  • Joel kek
                    Joel kek @Guest last edited by

                    @fartcheese 𝐉𝐨𝐞𝐥#0001 Add my dc

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Joel kek last edited by

                      @joel-kek i dont use discord, my account is locked, can we talk here?

                      Joel kek 1 Reply Last reply Reply Quote 0
                      • Joel kek
                        Joel kek @Guest last edited by

                        @fartcheese Ok i use the normal minecraft launcher why?

                        1 Reply Last reply Reply Quote 0
                        • efwwefwewef wefwwfefwefw
                          efwwefwewef wefwwfefwefw @As丶One last edited by

                          @as丶one Can you make it that i can choose 2 blocks?

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          About
                          • Terms of Service
                          • Privacy Policy
                          • Status
                          • Contact Us
                          Downloads
                          • Releases
                          • Source code
                          • License
                          Docs
                          • Tutorials
                          • CustomHUD
                          • AutoSettings
                          • ScriptAPI
                          Community
                          • Forum
                          • Guilded
                          • YouTube
                          • Twitter
                          • D.Tube