List of Resources

See MKB through human eyes
Filter by Type:
All Action Event Iterator Parameter REPL Command Variable
Filter by Category:
All Calculations Control Flow Equipped Armor Equipped Tool GUI Input Looking at Mod related Player Position Server Settings Time and Date Variables World
SERVERMOTD
Variable

Motto of the day of the server

Category: Server
SERVERNAME
Variable

Name of the server

Category: Server
SET
Action

Sets the value of `<target>` to `[value]`. Returns the value.

Category: Variables
SETLABEL
Action

Sets the text (and optionally binding) of the specified label

Category: Mod related
SETPROPERTY
Action

Sets the value of the specified property on the specified GUI control The values set with this action are not saved until you edit the control manually. The following properties are available for each control: * __Button__ * `"visible"` * `"hotkey"` * `"text"` * `"hide"` * `"sticky"` * `"colour"` * `"background"` * __Icon__ * `"visible"` * `"align"` * `"scale"` * `"damage"` * `"background"` * __Label__ * `"visible"` * `"align"` * `"text"` * `"binding"` * `"shadow"` * `"colour"` * `"background"` * __Custom Gui__ * `"visible"` * `"layout"` * `"width"` * `"heigth"` * __Playback Status__ * `"visible"` * __Progress Bar__ * `"visible"` * `"expression"` * `"style"` * `"min"` * `"max"` * `"calcmin"` * `"calcmax"` * `"colour"` * `"background"` * __Slider__ * `"visible"` * `"binding"` * `"hotkeydec"` * `"hotkeyinc"` * `"min"` * `"max"` * `"calcmin"` * `"calcmax"` * `"colour"` * `"background"` * __Textarea__ * `"visible"` * `"lifespan"` * `"colour"` `"colour"` properties support hex color codes in the format of `rgb`, `rrggbb`, or `aarrggbb`. Alternatively they support the following color names: * `ALICEBLUE` * `ANTIQUEWHITE` * `AQUA` * `AQUAMARINE` * `AZURE` * `BEIGE` * `BISQUE` * `BLACK` * `BLANCHEDALMOND` * `BLUE` * `BLUEVIOLET` * `BROWN` * `BURLYWOOD` * `CADETBLUE` * `CHARTREUSE` * `CHOCOLATE` * `CORAL` * `CORNFLOWERBLUE` * `CORNSILK` * `CRIMSON` * `CYAN` * `DARKBLUE` * `DARKCYAN` * `DARKGOLDENROD` * `DARKGREEN` * `DARKGREY` * `DARKKHAKI` * `DARKMAGENTA` * `DARKOLIVEGREEN` * `DARKORANGE` * `DARKORCHID` * `DARKRED` * `DARKSALMON` * `DARKSEAGREEN` * `DARKSLATEBLUE` * `DARKSLATEGREY` * `DARKTURQUOISE` * `DARKVIOLET` * `DEEPPINK` * `DEEPSKYBLUE` * `DIMGREY` * `DODGERBLUE` * `FIREBRICK` * `FLORALWHITE` * `FORESTGREEN` * `FUCHSIA` * `GAINSBORO` * `GHOSTWHITE` * `GOLD` * `GOLDENROD` * `GREEN` * `GREENYELLOW` * `GREY` * `HONEYDEW` * `HOTPINK` * `INDIANRED` * `INDIGO` * `IVORY` * `KHAKI` * `LAVENDER` * `LAVENDERBLUSH` * `LAWNGREEN` * `LEMONCHIFFON` * `LIGHTBLUE` * `LIGHTCORAL` * `LIGHTCYAN` * `LIGHTGOLDENRODYELLOW` * `LIGHTGREEN` * `LIGHTGREY` * `LIGHTPINK` * `LIGHTSALMON` * `LIGHTSEAGREEN` * `LIGHTSKYBLUE` * `LIGHTSLATEGREY` * `LIGHTSTEELBLUE` * `LIGHTYELLOW` * `LIME` * `LIMEGREEN` * `LINEN` * `MAROON` * `MEDIUMAQUAMARINE` * `MEDIUMBLUE` * `MEDIUMORCHID` * `MEDIUMPURPLE` * `MEDIUMSEAGREEN` * `MEDIUMSLATEBLUE` * `MEDIUMSPRINGGREEN` * `MEDIUMTURQUOISE` * `MEDIUMVIOLETRED` * `MIDNIGHTBLUE` * `MINECRAFT_AQUA` * `MINECRAFT_BLACK` * `MINECRAFT_BLUE` * `MINECRAFT_CYAN` * `MINECRAFT_DARKGREY` * `MINECRAFT_GOLD` * `MINECRAFT_GREEN` * `MINECRAFT_GREY` * `MINECRAFT_LIGHTBLUE` * `MINECRAFT_LIGHTGREEN` * `MINECRAFT_LIGHTRED` * `MINECRAFT_MAGENTA` * `MINECRAFT_PURPLE` * `MINECRAFT_RED` * `MINECRAFT_WHITE` * `MINECRAFT_YELLOW` * `MINTCREAM` * `MISTYROSE` * `MOCCASIN` * `NAVAJOWHITE` * `NAVY` * `OLDLACE` * `OLIVE` * `OLIVEDRAB` * `ORANGE` * `ORANGERED` * `ORCHID` * `PALEGOLDENROD` * `PALEGREEN` * `PALETURQUOISE` * `PALEVIOLETRED` * `PAPAYAWHIP` * `PEACHPUFF` * `PERU` * `PINK` * `PLUM` * `POWDERBLUE` * `PURPLE` * `RED` * `ROSYBROWN` * `ROYALBLUE` * `SADDLEBROWN` * `SALMON` * `SANDYBROWN` * `SEAGREEN` * `SEASHELL` * `SIENNA` * `SILVER` * `SKYBLUE` * `SLATEBLUE` * `SLATEGREY` * `SNOW` * `SPRINGGREEN` * `STEELBLUE` * `TAN` * `TEAL` * `THISTLE` * `TOMATO` * `TURQUOISE` * `VIOLET` * `WHEAT` * `WHITE` * `WHITESMOKE` * `YELLOW` * `YELLOWGREEN`

Category: Mod related
SETRES
Action

Sets the size of the minecraft game window. `<width>` has to be between `0` and `3840`. `<height>` has to be between `0` and `2160`.

Category: Settings
SETSLOTITEM
Action

Creative mode only, set the contents of a hot bar slot

Category: GUI
SHADERGROUP
Action

Sets the active shader group to the shader matching path Can be one of the following shaders: * `"spider"` * `"outline"` * `"desaturate"` * `"wobble"` * `"scan_pincushion"` * `"ntsc"` * `"creeper"` * `"color_convolve"` * `"blur"` * `"bits"` * `"blobs2"` * `"flip"` * `"invert"` * `"notch"` * `"antialias"` * `"entity_outline"` * `"bumpy"` * `"sobel"` * `"art"` * `"blobs"` * `"fxaa"` * `"pencil"` * `"phosphor"` * `"deconverge"` * `"green"` You can also use `"+"` or `"-"` to toggle between shaders. Returns the name of the selected shader.

Category: Settings
SHADERGROUP
Variable

Selected shader

Category: Player
SHADERGROUPS[]
Variable

Array of available shaders

Category: Player
~SHIFT
Variable

Whether the Shift key was pressed at the start of the script

Category: Input
SHIFT
Variable

Whether the Shift key is pressed

Category: Input
SHOWGUI
Action

Show a custom gui screen, creates it if it doesn't exist. Set `[macro_keys]` to `true` when macro keys should still work.

Category: Mod related
SHUTDOWN
REPL Command

Shut down the minecraft client

Category: N/A
SIGNTEXT[]
Variable

Array of lines on a sign the Player is looking at

Category: Looking at
SLOT
Action

Selects the specified slot on the hot bar

Category: GUI
SLOTCLICK
Action

Simulates clicking on the specified slot in the current GUI `<slot>` can be `-999` to drop the previously selected item. `[button]` can be either `"left"` for left-click or `"right"` for right-click `[shift]` should be `true` if you want to shift-click

Category: GUI
SOUND
Variable

Master Volume level

Category: Settings
SPLIT
Action

Splits the supplied `<source>` string on every `<delimiter>` into `<output[]>`. Returns the output array.

Category: Variables
SPRINT
Action

Sets the player state to sprinting if sufficient stamina (food)

Category: Input
SQRT
Action

Calculate the rounded square root of `<value>` and store it in `<#outvar>`. Returns the result.

Category: Calculations
STACKSIZE
Variable

Stack size of the equipped item

Category: Equipped Tool
STOP
Action

Stops the current macro, or macros matching the specified ID For stopping all macros you can use either `"all"` or `"*"`. 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: Control Flow
STORE
Action

Stores a value into one of the predefined parameter lists Currently only `"place"` is allowed for `<type>` Your current location will be saved into the `$$p` list

Category: Mod related
STOREOVER
Action

Stores a value into one of the predefined parameter lists and overwrites an entry if it already exists Currently only `"place"` is allowed for `<type>` Your current location will be saved into the `$$p` list

Category: Mod related