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

Strips all formatting codes from the specified `<text>` and assigns the result to `<&target>`. Returns the result.

Category: Calculations
TASKS
REPL Command

List currently executing tasks

Category: N/A
TEXTUREPACK
Action

No description.

Category: N/A
TEXTUREPACK
Variable

No description.

Category: N/A
TICKS
Variable

current world time value (which will be a static number if doDayNightCycle game rule is false)

Category: World
TILEID
Action

Gets the legacy (numeric) ID for the specified tile

Category: Calculations
TILENAME
Action

Get the descriptor for a legacy (numeric) tile ID

Category: Calculations
TIME
Variable

Current time in the format "hour:minute:second"

Category: Time and Date
TIME
Action

Stores the current time and date into &target, optionally using format specified. Returns the formatted time string.

Category: Calculations
TIMESTAMP
Variable

UNIX Timestamp

Category: Time and Date
TITLE
Action

Displays the specified custom title, call with no arguments to hide current titles

Category: GUI
TOAST
Action

Displays an user-defined toast. The following toasts are possible: * __Advancement Toast__ ("Advancement made!") * `[type]` should be `"advancement"` * `[icon]` can be any item name * `[text1]` will be displayed * __Challenge Toast__ ("Challenge complete!") * `[type]` should be `"challenge"` * `[icon]` can be any item name * `[text1]` will be displayed * __Goal Toast__ ("Goal reached!") * `[type]` should be `"goal"` * `[icon]` can be any item name * `[text1]` will be displayed * __Recipe Toast__ ("New Recipes Unlocked!") * `[type]` should be `"recipe"` * `[icon]` can be any item name * No text will be displayed * __Tutorial Toast__ * `[type]` should be `"tutorial"` * `[icon]` can be one of the following values * `"keys"` * `"mouse"` * `"tree"` * `"recipe_block"` * `"planks"` * `[text1]` and `[text2]` will be displayed * `[ticks]` specifies how long the toast will be displayed * __System Hint Toast__ * `[type]` should be `"hint"` * `[icon]` should be empty * `[text1]` and `[text2]` will be displayed * __System Narrator Toast__ * `[type]` should be `"narrator"` * `[icon]` should be empty * `[text1]` and `[text2]` will be displayed * __Remove user-defined tutorial toasts__ * `[type]` should be `"clear"` * if `[icon]` is `"all"` vanilla toast will also be removed

Category: GUI
TOGGLE
Action

Toggles the specified boolean `[flag]` value

Category: Variables
TOGGLEKEY
Action

Toggles the pressed state of the specified key binding, 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: Input
TOTALTICKS
Variable

current total world time (which increases all the time regardless of the gamerule doDayNightCycle)

Category: World
TOTALXP
Variable

Total amount of experience points

Category: Player
TRACE
Action

Performs a ray trace operation which sets the raytrace variables in the local scope. `<distance>` can be between `3` and `256` `[entities]` can be true, if you want to include entities in your trace. Returns the type of the result, which can be one of the following values: * `TILE` * `PLAYER` * `ENTITY` * `NONE`

Category: Calculations
TRACE_AGE
Variable

No description.

Category: N/A
TRACE_ATTACHED
Variable

No description.

Category: N/A
TRACE_AXIS
Variable

No description.

Category: N/A
TRACE_BITES
Variable

No description.

Category: N/A
TRACE_CHECK_DECAY
Variable

No description.

Category: N/A
TRACE_COLOR
Variable

No description.

Category: N/A
TRACE_CONDITIONAL
Variable

No description.

Category: N/A
TRACE_CONTENTS
Variable

No description.

Category: N/A