Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Scripts
  3. AutoJump only on selected blocks?

AutoJump only on selected blocks?

Scheduled Pinned Locked Moved Scripts
11 Posts 4 Posters 634 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Joel kekJ Offline
    Joel kekJ Offline
    Joel kek
    wrote on last edited by
    #1

    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
    0
    • As丶OneA Offline
      As丶OneA Offline
      As丶One
      wrote on last edited by
      #2
      ///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 kekJ efwwefwewef wefwwfefwefwE 2 Replies Last reply
      0
      • Joel kekJ Offline
        Joel kekJ Offline
        Joel kek
        replied to As丶One on last edited by
        #3

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

        ? 1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          replied to Joel kek on last edited by A Former User
          #4

          @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 kekJ 1 Reply Last reply
          0
          • Joel kekJ Offline
            Joel kekJ Offline
            Joel kek
            replied to A Former User on last edited by
            #5

            @fartcheese Where do i see the console log?

            ? 1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              replied to Joel kek on last edited by
              #6

              @joel-kek are you new to using clients

              Joel kekJ 1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by A Former User
                #7

                BTW what MC launcher are you using?

                1 Reply Last reply
                0
                • Joel kekJ Offline
                  Joel kekJ Offline
                  Joel kek
                  replied to A Former User on last edited by
                  #8

                  @fartcheese 𝐉𝐨𝐞𝐥#0001 Add my dc

                  ? 1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    replied to Joel kek on last edited by
                    #9

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

                    Joel kekJ 1 Reply Last reply
                    0
                    • Joel kekJ Offline
                      Joel kekJ Offline
                      Joel kek
                      replied to A Former User on last edited by
                      #10

                      @fartcheese Ok i use the normal minecraft launcher why?

                      1 Reply Last reply
                      0
                      • efwwefwewef wefwwfefwefwE Offline
                        efwwefwewef wefwwfefwefwE Offline
                        efwwefwewef wefwwfefwefw
                        replied to As丶One on last edited by
                        #11

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

                        1 Reply Last reply
                        0

                        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
                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups