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
REASON
Variable

The reason why the crafting was completed or aborted. Can be one of the following values: * `DONE` * `CREATIVE` * `NORECIPE` * `NOTSTARTED` * `TIMEOUT` * `NOITEMS` * `ERROR` * `NOSPACE`

Category: N/A
RECORDVOLUME
Variable

Volume level for Jukebox/Noteblocks

Category: Settings
REGEXREPLACE
Action

Replace all matches of `<pattern>` with `[replace]` in `<&subject>`. Returns the new string.

Category: Calculations
RELOADRESOURCES
Action

Reloads resource packs, same as pressing F3 + T

Category: Settings
REPL
Action

Access the REPL interface. [Commands for the REPL have their own page](/docs/commands)

Category: Mod related
REPLACE
Action

Replace all occurrences of `<search>` with `[replace]` in `<&subject>`. Returns the new string.

Category: Calculations
RESOURCEPACK
Action

No description.

Category: N/A
RESOURCEPACKS
Action

Sets the resource pack stack to the order matching the specified patterns

Category: Settings
RESOURCEPACKS[]
Variable

Array of selected resource packs

Category: Player
RESPAWN
Action

Respawns the player if you are dead

Category: World
RM
REPL Command

Removes (deletes) the specified file

Category: N/A
~RMOUSE
Variable

Whether the right mouse button was pressed at the start of the script

Category: Input
RMOUSE
Variable

Whether the right mouse button is pressed

Category: Input
RUN
REPL Command

Runs the specified script synchronously. Args are provided to the target script in the same manner as EXEC (eg. params $$[1], $$[2].. etc)

Category: N/A
running
Iterator

Iterates over all currently running macros

Category: N/A
SATURATION
Variable

Saturation level (normally hidden from the Player)

Category: Player
SAY
REPL Command

Sends the specified message as chat, only sends remotely if "live mode" is enabled

Category: N/A
SCREEN
Variable

Name of the current custom GUI

Category: Mod related
SCREENNAME
Variable

Display name of the current custom GUI

Category: Mod related
SEED
Variable

Seed of the world (only available in SP)

Category: World
SELECTCHANNEL
Action

No description.

Category: N/A
SENDMESSAGE
Action

No description.

Category: N/A
SENSITIVITY
Variable

Sensitivity

Category: Settings
SENSITIVITY
Action

Sets the mouse sensitivity, specifying time causes the value to change smoothly. `<value>` has to be between `0` and `200`.

Category: Settings
SERVER
Variable

IP of the server

Category: Server