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
CRAFT
Action

Queues an auto-crafting request

Category: GUI
CRAFTANDWAIT
Action

Queues an auto-crafting request and waits for it to complete

Category: GUI
~CTRL
Variable

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

Category: Input
CTRL
Variable

Whether the Control key is pressed

Category: Input
DATE
Variable

Current date in the format "year-month-day"

Category: Time and Date
DATETIME
Variable

Current date and time in the format "year-month-day hour:minute:second"

Category: Time and Date
DAY
Variable

Number of day

Category: World
DAYTICKS
Variable

TICKS value modulo 24000 and shifted back 6000 so that 0 aligns with midnight

Category: World
DAYTIME
Variable

Ingame time in the format hh:mm

Category: World
DEC
Action

Decrements the specified counter by 1 or by the specified amount

Category: Variables
DECODE
Action

Converts an string from base64 back to an normal string. Returns the decoded string.

Category: Calculations
DIFFICULTY
Variable

Difficulty of the world

Category: Settings
DIMENSION
Variable

Dimension the Player is in. Can be one of the following values: * `NETHER` * `SURFACE` * `END` * `UNKNOWN`

Category: World
DIRECTION
Variable

Direction the Player is looking at, shortened to the first character. Can be one of the following values: * `N` * `E` * `S` * `W`

Category: Position
DISCONNECT
Action

Disconnects from the current game or server

Category: World
DISPLAYHEIGHT
Variable

Height of the minecraft window

Category: GUI
DISPLAYNAME
Variable

Player's displayname

Category: Player
DISPLAYWIDTH
Variable

Width of the minecraft window

Category: GUI
DO
Action

Begins a loop. Needs to be closed with `LOOP,` `WHILE`, or `UNTIL`. The loop can be exited early by using `BREAK`. It is possible to specify a `[count]` number for it to have a maximum amount of loops. If this number is not specified, it will loop indefinitely.

Category: Control Flow
DURABILITY
Variable

Durability of the equipped item

Category: Equipped Tool
ECHO
Action

Sends the specified message to the server

Category: Input
EDIT
REPL Command

Opens an editor for the specified file

Category: N/A
EFFECT
Variable

Internal string id of the effect.

Category: N/A
EFFECTID
Variable

Internal numeric id of the effect.

Category: N/A
EFFECTNAME
Variable

Display name of the effect.

Category: N/A