CCBlueX Forum

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

    [REQUEST] Java

    Kotlin/Java
    9
    17
    289
    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.
    • Zhao Yun
      Zhao Yun last edited by

      1)I want to go to the desired item in the hot slot, but I don’t understand the index of these slots from 35 to 45 or from 0 to 9?

      2)And how to make head changes silent

      N icewormy3 2 Replies Last reply Reply Quote 0
      • N
        NeptuneNoodles @Zhao Yun last edited by

        @zhao-yun

        1. mc.thePlayer.inventory.currentItem
        2. if(packet instanceof C03PacketPlayer) packet.yaw = idk or packet.pitch = idk
        Zhao Yun 1 Reply Last reply Reply Quote 0
        • C
          caex last edited by

          1,2. mc src

          1 Reply Last reply Reply Quote 0
          • icewormy3
            icewormy3 @Zhao Yun last edited by icewormy3

            1: mc.thePlayer.inventory.currentItem = slot (min 0, max 8 )
            2: send a rotation packet

            Zhao Yun 1 Reply Last reply Reply Quote 0
            • 6Sence
              6Sence last edited by

              best way to change yaw and pitch is to change event.yaw and pitch in motion event

              ? 1 Reply Last reply Reply Quote 0
              • Zhao Yun
                Zhao Yun @NeptuneNoodles last edited by

                @neptunenoodles @caex @icewormy3 but how do I indicate that I want to find a bow?

                M 1 Reply Last reply Reply Quote 0
                • M
                  mems Moderator @Zhao Yun last edited by

                  @zhao-yun val slot = (0..8).firstOrNull { player.inventory.getStack(it).item == Items.BOW } ?: [email protected] if (slot != player.inventory.selectedSlot) { network.sendPacket(UpdateSelectedSlotC2SPacket(slot)) }

                  Zhao Yun 2 Replies Last reply Reply Quote 0
                  • Zhao Yun
                    Zhao Yun @mems last edited by

                    @mems Does not work. You can give all the code in its normal form, I have already tried everything ?

                    exit scammed 1 Reply Last reply Reply Quote 0
                    • exit scammed
                      exit scammed @Zhao Yun last edited by

                      @zhao-yun this may help you

                      1,2. mc src

                      Zhao Yun 1 Reply Last reply Reply Quote 0
                      • Zhao Yun
                        Zhao Yun @exit scammed last edited by

                        @____ what is it?

                        1 Reply Last reply Reply Quote 0
                        • Zhao Yun
                          Zhao Yun @mems last edited by

                          @mems what code is needed for the player to press button 2

                          1 Reply Last reply Reply Quote 0
                          • Zhao Yun
                            Zhao Yun @icewormy3 last edited by

                            @icewormy3
                            I decided to write in such a way to understand how the command works

                            Screenshot_2.png
                            But nothing is displayed in the chat when the bow is in the hot slot

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @6Sence last edited by

                              @6sence said in [REQUEST] Java:

                              best way to change yaw and pitch is to change event.yaw and pitch in motion event

                              chrome_5xnDtpiwp4.png

                              this is not intent base tutorial client bro

                              the real way is:

                              RotationUtils.setTargetRotation(new Rotation(yaw,pitch)) // normal way
                              
                              RotationUtils.setTargetRotation(new Rotation(yaw,pitch),keepLength) // the keepLength parameter is like KeepRotationsLength setting in scaffold
                              
                              6Sence 1 Reply Last reply Reply Quote 0
                              • 6Sence
                                6Sence @Guest last edited by 6Sence

                                @chocopiexd said in [REQUEST] Java:

                                @6sence said in [REQUEST] Java:

                                best way to change yaw and pitch is to change event.yaw and pitch in motion event

                                chrome_5xnDtpiwp4.png

                                this is not intent base tutorial client bro

                                the real way is:

                                RotationUtils.setTargetRotation(new Rotation(yaw,pitch)) // normal way
                                
                                RotationUtils.setTargetRotation(new Rotation(yaw,pitch),keepLength) // the keepLength parameter is like KeepRotationsLength setting in scaffold
                                

                                smartarse event as in the litteral Event is in every base and if it doesn't have it I wouldn't consider it as a base since every other method is detectable.

                                ? 1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @6Sence last edited by

                                  @6sence said in [REQUEST] Java:

                                  @chocopiexd said in [REQUEST] Java:

                                  @6sence said in [REQUEST] Java:

                                  best way to change yaw and pitch is to change event.yaw and pitch in motion event

                                  chrome_5xnDtpiwp4.png

                                  this is not intent base tutorial client bro

                                  the real way is:

                                  RotationUtils.setTargetRotation(new Rotation(yaw,pitch)) // normal way
                                  
                                  RotationUtils.setTargetRotation(new Rotation(yaw,pitch),keepLength) // the keepLength parameter is like KeepRotationsLength setting in scaffold
                                  

                                  smartarse event as in the litteral Event is in every base and if it doesn't have it I wouldn't consider it as a base since every other method is detectable.

                                  not every base is the same
                                  in most base:
                                  event.setYaw(yaw) and event.setPitch(pitch)
                                  in liquidbounce:
                                  RotationUtils.setTargetRotation(new Rotation(yaw,pitch))

                                  these 2 methods are the same, basically modifying the yaw and pitch value when sending player packets

                                  6Sence 1 Reply Last reply Reply Quote 0
                                  • Q
                                    quadro last edited by

                                    the last 3 posts are stupid ^^

                                    1 Reply Last reply Reply Quote 0
                                    • 6Sence
                                      6Sence @Guest last edited by

                                      @chocopiexd exactly they're the same so why you being a smartarse about me helping zhao?

                                      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