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

ByGrafB

ByGraf

@ByGraf
About
Posts
14
Topics
4
Shares
0
Groups
0
Followers
0
Following
2

Posts

Recent Best Controversial

  • Code completion
    ByGrafB ByGraf

    @ali00035 ok I will try it out 😄

    ScriptAPI

  • Code completion
    ByGrafB ByGraf

    @plumer-man Visual code but i also could
    use other ides

    ScriptAPI

  • Code completion
    ByGrafB ByGraf

    Is there a way to add completion to my ide ?

    ScriptAPI

  • How to switch hotbar slots via script?
    ByGrafB ByGraf

    @czechhek said in How to switch hotbar slots via script?:

    mc.playerController.updateController();

    Thank u guys so much

    ScriptAPI

  • How to switch hotbar slots via script?
    ByGrafB ByGraf

    @mems ty so much ur really helping me

    ScriptAPI

  • How to switch hotbar slots via script?
    ByGrafB ByGraf

    @ali00035 I tested it and it didnt switch the slot

    ScriptAPI

  • How to make criticals turn off after 3 hits?
    ByGrafB ByGraf

    @ali00035 nice 😄

    ScriptAPI

  • How to switch hotbar slots via script?
    ByGrafB ByGraf

    @ali00035 thank u

    ScriptAPI

  • How to make criticals turn off after 3 hits?
    ByGrafB ByGraf

    @romnaed
    var count = 0;
    var crit = moduleManager.getModule("Criticals");

    this.onAttack = function(event) {
    count = count+1;
    }

    this.onUpdate = function() {
    if (count == 3){
    crit.setState(false);
    count = 0;
    }
    }

    something like this it could look like idk if it works

    hope it helped

    ScriptAPI

  • How to switch hotbar slots via script?
    ByGrafB ByGraf

    Is there a list of things like mc.gameSettings.keyBindUseItem.pressed where i can
    look up some things because i cant find anything on google and i dont always want to ask in the Forum.

    And i really want to become better at scripting but as already mentioned i cant find
    these things i want to look up . Any tips ?

    ScriptAPI

  • Cant find the problem in my code
    ByGrafB ByGraf

    @exit-scammed ahh lol thx

    ScriptAPI

  • Cant find the problem in my code
    ByGrafB ByGraf

    this is my script and i dont know where the problem is ._. pls help

    var scriptName = "InvSort";
    var scriptAuthor = "ByGraf";
    var scriptVersion = 1.0;
    var x = 0;
    var y = 0;
    var bridge = value.createBoolean("bridge", false);
    var bw = value.createBoolean("bw", false);

    function Sort() {

    this.addValues = function(values) {
        values.add(bridge);
        values.add(bw);
    }
    
    
    this.onEnable = function() {
        x = 0;
        y = 0;
    };
    
    this.onDisable = function() {
        x = 0;
        y = 0;
    };
    
    
    this.getName = function() {
        return "InvSort";
    }
    this.getCategory = function() {
        return "Player";   
    }
    
    this.getDescription = function() {
        return "Inventorycleaner addon";
    }
    
    this.onUpdate = function(){
        if(!bridge.get()){
            x = 0;
        }
    
        if (!bw.get()){
            y = 0;
        }
    
        if (bridge.get() && x == 0){
            commandManager.executeCommand(.inventorycleaner throwgarbage false);
            commandManager.executeCommand(.inventorycleaner sortslot-1 Sword);
            commandManager.executeCommand(.inventorycleaner sortslot-2 Pickaxe);
            commandManager.executeCommand(.inventorycleaner sortslot-3 Gapple);
            commandManager.executeCommand(.inventorycleaner sortslot-4 Bow);
            commandManager.executeCommand(.inventorycleaner sortslot-5 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-6 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-7 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-8 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-9 Block);
            x = 1;
        }
        
        if(bw.get() && y == 0){
            commandManager.executeCommand(.inventorycleaner throwgarbage false);
            commandManager.executeCommand(.inventorycleaner sortslot-1 Sword);
            commandManager.executeCommand(.inventorycleaner sortslot-2 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-3 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-4 Gapple);
            commandManager.executeCommand(.inventorycleaner sortslot-5 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-6 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-7 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-8 Ignore);
            commandManager.executeCommand(.inventorycleaner sortslot-9 Block);
            y = 1;
    
        }
    
    }
    

    }

    var module = new Sort();
    var Client;

    function onEnable() {
    Client = moduleManager.registerModule(module);

    }

    function onDisable() {
    moduleManager.unregisterModule(Client);

    }

    ScriptAPI
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups