Navigation

    CCBlueX Forum

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

    Silent Server-side rotating and Checking for the Block beneath you

    ScriptAPI
    5
    5
    215
    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.
    • dntdbt
      dntdbt last edited by dntdbt

      Hello everyone!
      It will be important for me if anybody will answer in this topic

      /1/ In the first case, I'm making a huge script which can bypass some 1.12 servers, so I need to rotate the player's yaw only server-side because it looks awful when your screen is rotating with your head :d

      /2/ Secondly, my new noFall bypass needs to check is there any block in the player's posY-0.01 which will doesn't use mc.thePlayer.onGround class

      Thanks for everyone who know how to solve this and decided to help me! <З

      DreamWasFucked I 2 Replies Last reply Reply Quote 0
      • DreamWasFucked
        DreamWasFucked Banned @dntdbt last edited by

        @dont_doubt

        var Block = Java.type('net.minecraft.block.Block');
        var BlockPos = Java.type('net.minecraft.util.BlockPos');
        
        if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY - 0.01, mc.thePlayer.posZ)).getBlock() == Block.getBlockById(0)) { // Check air block
        
        1 Reply Last reply Reply Quote 0
        • I
          idk my name @dntdbt last edited by

          @dont_doubt
          if (event.getPacket() instanceof CPacketPlayer) {
          event.getPacket().setYaw(yaw);
          }

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

            idk if its correct but

            var RotationUtils = Java.type('net.ccbluex.liquidbounce.utils.RotationUtils');
            var Rotation = Java.type('net.ccbluex.liquidbounce.utils.Rotation');
            
            RotationUtils.setTargetRotation(new Rotation(0, 70));
            
            1 Reply Last reply Reply Quote 0
            • As丶One
              As丶One last edited by

              var RotationUtils = Java.type('net.ccbluex.liquidbounce.utils.RotationUtils');
              var Rotation = Java.type('net.ccbluex.liquidbounce.utils.Rotation');
              RotationUtils.setTargetRotation(new Rotation(mc.thePlayer.rotationYaw + 180, 86));
              
              1 Reply Last reply Reply Quote 1
              • First post
                Last post