Navigation

    CCBlueX Forum

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

    Last matrix water highJump

    Scripts
    2
    3
    122
    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.
    • skidma
      skidma last edited by

      Does not work on version 5.6.3:axodance: :axodance:
      Works on version 6.0.0 and higher

      var script = registerScript({
          name: "MatrixWaterHighJump",
          version: "0.0.0",
          authors: ["Shurpe"],
      });
      script.registerModule({
          name: "MatrixWaterHighJump",
          category: "Misc", 
          description: "",
          settings: {
              jumpH: Setting.float({
                  name: "Jump height",
                  default: 7,
      			min: 4,
      			max: 10
              })
          }
      }, function (module) {
          module.on("update", function () {
              if (mc.thePlayer.isInWater()) {
                  if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY + 1, mc.thePlayer.posZ)).getBlock() == Block.getBlockById(9)) {
                      mc.thePlayer.motionY = 0.18
                  } else if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ)).getBlock() == Block.getBlockById(9)) {
                      mc.thePlayer.motionY = module.settings.jumpH.get()
                      mc.thePlayer.onGround = 1
                  }
              }
          });
      });
      
      var BlockPos = Java.type('net.minecraft.util.BlockPos');
      var Block = Java.type('net.minecraft.block.Block');
      

      :axocooler: :axocooler: :axocooler: :axocooler:

      FaaatPotato 1 Reply Last reply Reply Quote 2
      • FaaatPotato
        FaaatPotato @skidma last edited by

        @skidma matrix is rip now xd my speed and this stuff xd

        skidma 1 Reply Last reply Reply Quote 0
        • skidma
          skidma @FaaatPotato last edited by

          @faaatpotato matrix died back in version 5.6.3

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB | Contributors