Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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. ScriptAPI
  3. AutoBlockPicker for scaffold pls

AutoBlockPicker for scaffold pls

Scheduled Pinned Locked Moved ScriptAPI
11 Posts 5 Posters 2.4k Views
  • 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.
  • E Offline
    E Offline
    EazyHacker
    wrote on last edited by
    #1

    Can you give me autoblockpicker for scaffold

    1 Reply Last reply
    0
    • ChocoPie_ismeC Offline
      ChocoPie_ismeC Offline
      ChocoPie_isme
      Banned
      wrote on last edited by
      #2

      liquidbounce's scaffold already have it
      but if you want to make it not silent, you can skid scaffold's codes xdxd

      1 Reply Last reply
      0
      • LolMCL Offline
        LolMCL Offline
        LolMC
        wrote on last edited by
        #3

        make feature request in github
        or skid code ur self

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

          My code:

          Scaffold(I am lazy so I use kt to show these, may have errors)

          private val pickerValue = BoolValue("Picker", true)
          private val pickerSlotValue = IntValue("PickerSlot", 3, 1, 9)
          //...
          //on find slot
          var slot = InventoryUtils.findAutoBlockBlock(pickerValue.get())
          if (slot == -1) 
              return
          else if ((slot - 9 or 35 - slot) >= 0) {
              mc.playerController.windowClick(0, slot, pickerSlotValue.get() - 1, 2, mc.thePlayer)
              slot = pickerSlotValue.get() - 1
          }
          //...send Packet
          

          InvUtils

          @JvmStatic
          fun canAutoBlock(itemStack: ItemStack) = itemStack?.item is ItemBlock && itemStack?.item.block !in BLOCK_BLACKLIST
          
          @JvmStatic
          fun findAutoBlockBlock(pick: Boolean): Int = 
              (36..44).map{ it to mc.player.inventoryContainer.getSlot(it).stack }
                      .filter{ canAutoBlock(it.second) }.firstOrNull()?.first ?: 
                  if (pick) 
                      (9..35).map{ it to mc.player.inventoryContainer.getSlot(it).stack }
                          .filter{ canAutoBlock(it.second) }.maxBy{ it.second.stackSize }?.first ?: -1
                  else -1
          

          enjoy 😛

          1 Reply Last reply
          0
          • Senk JuS Offline
            Senk JuS Offline
            Senk Ju
            Admin
            wrote on last edited by
            #5

            Just use InventoryCleaner. It can automatically put blocks in your hotbar.

            1 Reply Last reply
            0
            • LolMCL Offline
              LolMCL Offline
              LolMC
              wrote on last edited by
              #6

              No
              he mean
              when he turn on scaffold
              a script will automatic select the hotbar have block(becuz he too lazy to select it with hand)

              1 Reply Last reply
              0
              • Senk JuS Offline
                Senk JuS Offline
                Senk Ju
                Admin
                wrote on last edited by
                #7

                Scaffold has this feature as well. It's called AutoBlock.

                1 Reply Last reply
                0
                • LolMCL Offline
                  LolMCL Offline
                  LolMC
                  wrote on last edited by
                  #8

                  No
                  some anticheat have patch spoof item in hotbar to switch item sliently(matrix patched it)

                  ? 1 Reply Last reply
                  0
                  • LolMCL LolMC

                    No
                    some anticheat have patch spoof item in hotbar to switch item sliently(matrix patched it)

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    @LolMC mc.thePlayer.currentItem = slot - 36
                    just like AutoWeapon

                    1 Reply Last reply
                    0
                    • LolMCL Offline
                      LolMCL Offline
                      LolMC
                      wrote on last edited by
                      #10

                      i have do that lol

                      1 Reply Last reply
                      0
                      • LolMCL Offline
                        LolMCL Offline
                        LolMC
                        wrote on last edited by
                        #11

                        https://forums.ccbluex.net/topic/170/autofindblock

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        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