List of Resources
See MKB through human eyesFilter by Category:
All Calculations Control Flow Equipped Armor Equipped Tool GUI Input Looking at Mod related Player Position Server Settings Time and Date Variables WorldFiltros ativos: Tipo: "Action"
IMPORT
ActionOverlay the specified configuration
Category: Mod relatedINC
ActionIncrements the specified counter by 1 or by the specified amount
Category: VariablesINDEXOF
ActionGets the first index of `<searchfor>` in `<array[]>` and stores it in `<#outvar>`. `[casesensitiv]` can be set to `true` which will cause the check to be case-sensitiv. (By default the search is case-insensitiv.) Returns the found index.
Category: VariablesINVENTORYDOWN
ActionScrolls the specified number of slots down through the hotbar
Category: GUIINVENTORYUP
ActionScrolls the specified number of slots up through the hotbar
Category: GUIISRUNNING
ActionReturns whether the specified macro is currently running. The ID of a script is displayed in the "Macro Activate" screen, and will be always the task name, when it was started through [EXEC](/docs/actions/exec), or the name of the key/button, if it was started with file includes ($$<file.txt>) or ran directly from a key/button.
Category: Mod relatedITEMID
ActionGets the legacy (numeric) ID for the specified item
Category: CalculationsITEMNAME
ActionGet the item descriptor for a legacy (numeric) item ID
Category: CalculationsJOIN
ActionCombines all values inside `<array[]>` with `<glue>` and stores it optionally in `[&output]`. Returns the output.
Category: VariablesKEY
ActionActivates the specified key binding for 1 tick Can be one of the following values: * `"inventory"` * `"drop"` * `"chat"` * `"attack"` * `"use"` * `"pick"` * `"screenshot"` * `"smoothcamera"` * `"swaphands"`
Category: InputKEYDOWN
ActionSets the specified key binding state to pressed, only works with pressable bindings Can be one of the following values: * `"forward"` * `"back"` * `"left"` * `"right"` * `"jump"` * `"sneak"` * `"playerlist"` * `"sprint"` Can also be a key code value between 0 and 255
Category: InputKEYUP
ActionSets the specified key binding state to unpressed, only works with pressable bindings Can be one of the following values: * `"forward"` * `"back"` * `"left"` * `"right"` * `"jump"` * `"sneak"` * `"playerlist"` * `"sprint"` Can also be a key code value between 0 and 255
Category: InputLCASE
ActionConverts the input string to lower case and stores it in output. Returns the output.
Category: CalculationsLOG
ActionShows the specified text only on the client-side in the chat window.
Category: InputLOGRAW
ActionSimilar to minecraft tellraw command, parses and outputs JSON chat into the client-side chat window.
Category: InputLOGTO
ActionOutputs the specified text into the specified target, target can be a text file name or the name of a textarea. If you specify a file as a target is has to end with the `.txt` file extension. The files will always end up in `.minecraft\liteconfig\common\macros\logs`. It is not possible to change that location.
Category: Mod relatedLOOK
ActionFaces the player in the specified direction, prefix angles with + or - for relative moves. If you want to look at a `<yaw>` value as seen in the F3 debug screen, you will have to add 180 to it. The `[time]` is parsed as a float value and then used as seconds. Alternative syntax: `LOOK(<direction>,[time])` `<direction>` can be one of the following values: * `"north"` * `"east"` * `"south"` * `"west"` * `"near"`
Category: SettingsLOOKS
ActionSmoothly turnes the player to the specified direction, prefix angles with + or - for relative moves If you want to look at a `<yaw>` value as seen in the F3 debug screen, you will have to add 180 to it. The `[time]` is parsed as a float value and then used as seconds. Alternative syntax: `LOOKS(<direction>,[time])` `<direction>` can be one of the following values: * `"north"` * `"east"` * `"south"` * `"west"` * `"near"`
Category: SettingsLOOP
ActionEnds a loop that was started with DO
Category: Control FlowMATCH
ActionRuns a regular expression match on the `<subject>` and puts the result in `<&target>`. Returns the matched groups as an array. Alternative Syntax; ``` MATCH(<subject>,<pattern>,{&target1,&target2,&target3}) MATCH(<subject>,<pattern>,&target[]) ```
Category: CalculationsMODIFY
ActionSet new content for this chat message
Category: Mod relatedMUSIC
ActionSets the music volume, specifying time causes the value to change smoothly. `<value>` has to be between `0` and `100`.
Category: SettingsNEXT
ActionCompletes a for or foreach loop
Category: Control FlowPASS
ActionIndicate that this chat message should PASS the filter and terminate
Category: Mod relatedPICK
ActionSelects the specified item id if it is on the hotbar, specify multiple items to pick in order of preference. Returns the selected item name.
Category: GUI