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. VanillaAutoBlock v2

VanillaAutoBlock v2

Scheduled Pinned Locked Moved Scripts
17 Posts 10 Posters 3.1k 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.
  • yorik100Y Offline
    yorik100Y Offline
    yorik100
    wrote on last edited by yorik100
    #1
    var scriptName = "CleanAutoBlock";
    var scriptVersion = 2.0;
    var scriptAuthor = "yorik100";
    var C07PacketPlayerDigging = Java.type('net.minecraft.network.play.client.C07PacketPlayerDigging');
    var C08PacketPlayerBlockPlacement = Java.type('net.minecraft.network.play.client.C08PacketPlayerBlockPlacement')
    var C09PacketHeldItemChange = Java.type('net.minecraft.network.play.client.C09PacketHeldItemChange')
    var BlockPos = Java.type('net.minecraft.util.BlockPos')
    var EnumFacing = Java.type('net.minecraft.util.EnumFacing')
    var LiquidBounce = Java.type("net.ccbluex.liquidbounce.LiquidBounce");
    var KillAura = Java.type("net.ccbluex.liquidbounce.features.module.modules.combat.KillAura");
    var killAuraModule = moduleManager.getModule("KillAura");
    
    var cleanAutoBlock = new CleanAutoBlock();
    
    var client;
    
    function CleanAutoBlock() {
        this.getName = function() {
            return "VanillaAutoBlock";
        };
    
        this.getDescription = function() {
            return "Vanilla AutoBlock";
        };
    
        this.getCategory = function() {
            return "Combat";
        };
        this.onPacket = function(event) {
            var packet = event.getPacket();
            if (isBlocking && ((packet instanceof C07PacketPlayerDigging && packet.getStatus() == C07PacketPlayerDigging.Action.RELEASE_USE_ITEM) || packet instanceof C08PacketPlayerBlockPlacement)) {
                event.cancelEvent();
            }
    		if (packet instanceof C09PacketHeldItemChange) {
    			isBlocking = false;
    		}
        }
        this.onEnable = function() {
    		isBlocking = false;
        }
        this.onUpdate = function() {
    		if ((LiquidBounce.moduleManager.getModule(KillAura.class)).blockingStatus || mc.thePlayer.isBlocking()) {
    			isBlocking = true;
    		}else if (isBlocking) {
    			isBlocking = false;
    			mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(C07PacketPlayerDigging.Action.RELEASE_USE_ITEM, BlockPos.ORIGIN, EnumFacing.DOWN));
    		}
        }
        this.onDisable = function() {
    		if (isBlocking && !(LiquidBounce.moduleManager.getModule(KillAura.class)).blockingStatus && !mc.thePlayer.isBlocking()) {
    		isBlocking = false;
    		mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(C07PacketPlayerDigging.Action.RELEASE_USE_ITEM, BlockPos.ORIGIN, EnumFacing.DOWN));
    		}
        }
    }
    
    function onLoad() {}
    
    function onEnable() {
        client = moduleManager.registerModule(cleanAutoBlock);
    }
    
    function onDisable() {
        moduleManager.unregisterModule(client);
    }
    
    A G Jacrafter 0J 3 Replies Last reply
    0
    • A Offline
      A Offline
      Aftery
      replied to yorik100 on last edited by
      #2

      @yorik100 clean

      yorik100Y ? 2 Replies Last reply
      1
      • yorik100Y Offline
        yorik100Y Offline
        yorik100
        replied to Aftery on last edited by
        #3

        @Aftery thanks ❤

        1 Reply Last reply
        0
        • exit scammedE Offline
          exit scammedE Offline
          exit scammed
          wrote on last edited by exit scammed
          #4

          @yorik100 said in VanillaAutoBlock v2:

          var noSlowModule = moduleManager.getModule("NoSlow");

          var noSlowModule = moduleManager.getModule("NoSlow");
          

          use less right

          yorik100Y 1 Reply Last reply
          0
          • yorik100Y Offline
            yorik100Y Offline
            yorik100
            replied to exit scammed on last edited by
            #5

            @Asutoboki-kun idk I probably forgot smth else too, it's just the version I rushed because the first version sucked

            exit scammedE 1 Reply Last reply
            0
            • exit scammedE Offline
              exit scammedE Offline
              exit scammed
              replied to yorik100 on last edited by
              #6

              @yorik100 but uh what does that script do?

              yorik100Y 1 Reply Last reply
              0
              • yorik100Y Offline
                yorik100Y Offline
                yorik100
                replied to exit scammed on last edited by
                #7

                @Asutoboki-kun said in VanillaAutoBlock v2:

                @yorik100 but uh what does that script do?

                Changes KillAura's NCP autoblock to a vanilla autoblock to help bypassing silent anticheats which detect NCP autoblock but not vanilla autoblock

                1 Reply Last reply
                0
                • yorik100Y Offline
                  yorik100Y Offline
                  yorik100
                  wrote on last edited by
                  #8

                  @Senk-Ju Move this in https://forums.ccbluex.net/category/9/scripts please

                  1 Reply Last reply
                  0
                  • TheChillHackerT Offline
                    TheChillHackerT Offline
                    TheChillHacker
                    wrote on last edited by
                    #9

                    Not lagbacking on ReDesky. Fully works, ty 🙂

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      fps14
                      wrote on last edited by
                      #10

                      omg thx i finally can autoblock on verus !!! (im not joking btw)

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        replied to Aftery on last edited by
                        #11

                        @Aftery yeah

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          Gabriel
                          replied to yorik100 on last edited by
                          #12

                          @yorik100 Nice.

                          1 Reply Last reply
                          0
                          • Jacrafter 0J Offline
                            Jacrafter 0J Offline
                            Jacrafter 0
                            replied to yorik100 on last edited by
                            #13

                            @yorik100 said in VanillaAutoBlock v2:

                            var scriptName = "CleanAutoBlock";
                            var scriptVersion = 2.0;
                            var scriptAuthor = "yorik100";
                            var C07PacketPlayerDigging = Java.type('net.minecraft.network.play.client.C07PacketPlayerDigging');
                            var C08PacketPlayerBlockPlacement = Java.type('net.minecraft.network.play.client.C08PacketPlayerBlockPlacement')
                            var C09PacketHeldItemChange = Java.type('net.minecraft.network.play.client.C09PacketHeldItemChange')
                            var BlockPos = Java.type('net.minecraft.util.BlockPos')
                            var EnumFacing = Java.type('net.minecraft.util.EnumFacing')
                            var LiquidBounce = Java.type("net.ccbluex.liquidbounce.LiquidBounce");
                            var KillAura = Java.type("net.ccbluex.liquidbounce.features.module.modules.combat.KillAura");
                            var killAuraModule = moduleManager.getModule("KillAura");
                            
                            var cleanAutoBlock = new CleanAutoBlock();
                            
                            var client;
                            
                            function CleanAutoBlock() {
                                this.getName = function() {
                                    return "VanillaAutoBlock";
                                };
                            
                                this.getDescription = function() {
                                    return "Vanilla AutoBlock";
                                };
                            
                                this.getCategory = function() {
                                    return "Combat";
                                };
                                this.onPacket = function(event) {
                                    var packet = event.getPacket();
                                    if (isBlocking && ((packet instanceof C07PacketPlayerDigging && packet.getStatus() == C07PacketPlayerDigging.Action.RELEASE_USE_ITEM) || packet instanceof C08PacketPlayerBlockPlacement)) {
                                        event.cancelEvent();
                                    }
                            		if (packet instanceof C09PacketHeldItemChange) {
                            			isBlocking = false;
                            		}
                                }
                                this.onEnable = function() {
                            		isBlocking = false;
                                }
                                this.onUpdate = function() {
                            		if ((LiquidBounce.moduleManager.getModule(KillAura.class)).blockingStatus || mc.thePlayer.isBlocking()) {
                            			isBlocking = true;
                            		}else if (isBlocking) {
                            			isBlocking = false;
                            			mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(C07PacketPlayerDigging.Action.RELEASE_USE_ITEM, BlockPos.ORIGIN, EnumFacing.DOWN));
                            		}
                                }
                                this.onDisable = function() {
                            		if (isBlocking && !(LiquidBounce.moduleManager.getModule(KillAura.class)).blockingStatus && !mc.thePlayer.isBlocking()) {
                            		isBlocking = false;
                            		mc.thePlayer.sendQueue.addToSendQueue(new C07PacketPlayerDigging(C07PacketPlayerDigging.Action.RELEASE_USE_ITEM, BlockPos.ORIGIN, EnumFacing.DOWN));
                            		}
                                }
                            }
                            
                            function onLoad() {}
                            
                            function onEnable() {
                                client = moduleManager.registerModule(cleanAutoBlock);
                            }
                            
                            function onDisable() {
                                moduleManager.unregisterModule(client);
                            }
                            
                            1 Reply Last reply
                            1
                            • GeroMyers YTG Offline
                              GeroMyers YTG Offline
                              GeroMyers YT
                              wrote on last edited by
                              #14

                              hem pero como hago para tenerlo osea lo descargo o como

                              yorik100Y GeroMyers YTG 2 Replies Last reply
                              0
                              • yorik100Y Offline
                                yorik100Y Offline
                                yorik100
                                replied to GeroMyers YT on last edited by
                                #15

                                @geromyers-yt said in VanillaAutoBlock v2:

                                hem pero como hago para tenerlo osea lo descargo o como

                                Negra, negra, negra caderona
                                Negra, negra tu sí bailas cumbia

                                1 Reply Last reply
                                0
                                • F Offline
                                  F Offline
                                  FallenTeam
                                  wrote on last edited by
                                  #16

                                  me explicas como instalar el scripts?

                                  1 Reply Last reply
                                  0
                                  • GeroMyers YTG Offline
                                    GeroMyers YTG Offline
                                    GeroMyers YT
                                    replied to GeroMyers YT on last edited by
                                    #17

                                    @geromyers-yt ah?

                                    1 Reply Last reply
                                    0
                                    • H halal.club referenced this topic on
                                    • FaaatPotatoF FaaatPotato referenced this topic on

                                    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