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 WorldSTRIP
ActionStrips all formatting codes from the specified `<text>` and assigns the result to `<&target>`. Returns the result.
Category: CalculationsTASKS
REPL CommandList currently executing tasks
Category: N/ATEXTUREPACK
ActionNo description.
Category: N/ATEXTUREPACK
VariableNo description.
Category: N/ATICKS
Variablecurrent world time value (which will be a static number if doDayNightCycle game rule is false)
Category: WorldTILEID
ActionGets the legacy (numeric) ID for the specified tile
Category: CalculationsTILENAME
ActionGet the descriptor for a legacy (numeric) tile ID
Category: CalculationsTIME
VariableCurrent time in the format "hour:minute:second"
Category: Time and DateTIME
ActionStores the current time and date into &target, optionally using format specified. Returns the formatted time string.
Category: CalculationsTIMESTAMP
VariableUNIX Timestamp
Category: Time and DateTITLE
ActionDisplays the specified custom title, call with no arguments to hide current titles
Category: GUITOAST
ActionDisplays 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: GUITOGGLE
ActionToggles the specified boolean `[flag]` value
Category: VariablesTOGGLEKEY
ActionToggles 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: InputTOTALTICKS
Variablecurrent total world time (which increases all the time regardless of the gamerule doDayNightCycle)
Category: WorldTOTALXP
VariableTotal amount of experience points
Category: PlayerTRACE
ActionPerforms 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: CalculationsTRACE_AGE
VariableNo description.
Category: N/ATRACE_ATTACHED
VariableNo description.
Category: N/ATRACE_AXIS
VariableNo description.
Category: N/ATRACE_BITES
VariableNo description.
Category: N/ATRACE_CHECK_DECAY
VariableNo description.
Category: N/ATRACE_COLOR
VariableNo description.
Category: N/ATRACE_CONDITIONAL
VariableNo description.
Category: N/ATRACE_CONTENTS
VariableNo description.
Category: N/A