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 WorldEFFECTPOWER
VariablePower of the effect.
Category: N/Aeffects
IteratorIterates over currently applied effects
Category: N/AEFFECTTIME
VariableRemaining time of the effect in seconds.
Category: N/AELSE
ActionThe actions following this action will only be executed if no if-clause before evaluated to `true`. Can be used with: * `IF` * `IFBEGINSWITH` * `IFCONTAINS` * `IFENDSWITH` * `IFMATCHES` * `ELSEIF`
Category: Control FlowELSEIF
ActionThe actions following this action will only be executed when the `<condition>` evaluates to `true` and no if-clause before evaluated to true. Can be used with: * `IF` * `IFBEGINSWITH` * `IFCONTAINS` * `IFENDSWITH` * `IFMATCHES`
Category: Control FlowENCHANTMENT
VariableDisplay name of the enchantment
Category: N/AENCHANTMENTNAME
VariableOnly the name of the enchantment.
Category: N/AENCHANTMENTPOWER
VariablePower of the enchantment.
Category: N/Aenchantments
IteratorIterates over all enchantments on the equipped item
Category: N/AENCODE
ActionConverts an string to base 64. Returns the encoded value.
Category: CalculationsEND
REPL CommandEnds a multi-line script and executes the contents of the buffer
Category: N/AENDIF
ActionEnds an if-clause.
Category: Control FlowENDUNSAFE
ActionEnds an active UNSAFE block
Category: Control Flowenv
IteratorIterates over all available variables
Category: N/AEXEC
ActionCreates a task by running the specified script file. The task name can be used by [STOP](/docs/actions/stop) to stop this script, or by [ISRUNNING](/docs/actions/isrunning) to check if it is active. The params will be provided to the script as either variables (`&var1`, `&var2`, `&var3`, ...) or parameters (`$$[1]`, `$$[2]`, `$$[3]`, ...).
Category: Mod relatedEXIT
REPL CommandClose the console window
Category: N/AEXPAND
REPL CommandNo description.
Category: N/AFILTER
ActionIndicate that this chat message should be filtered and terminate
Category: Mod relatedFLYING
VariableWhether the Player is flying
Category: PlayerFOG
ActionToggles render distance, or optionally specify render distance Can be one of the following values: * `"far"` for 16 chunks * `"normal"` for 8 chunks * `"short"` for 4 chunks * `"tiny"` for 2 chunks Alternatively the amount of chunks (up to 16) can also be specified directly
Category: SettingsFOR
ActionBegins a for loop using the specified `<#var>` as a loop counter. Needs to be closed with `NEXT`. The loop can be exited early by using `BREAK`. Alternative syntax: ``` FOR(<#var> = <start> to <end>) FOR(<#var> = <start> to <end> step <step>) ```
Category: Control FlowFOREACH
ActionRuns a loop over the specified iterator. Needs to be closed with `NEXT`. The iterator can either be [one of the these](/docs/iterators/) or an array. The loop can be exited early by using `BREAK`. Alternative Syntax: ``` FOREACH(<&array[]>,<&content>,[#index]) FOREACH(<&array[]> as <&content>) FOREACH(<&array[]> as <#index> => <&content>) ```
Category: Control FlowFOV
ActionSets the FOV angle in degrees, specifying time causes the value to change smoothly. `<value>` has to be between `70` and `110`.
Category: SettingsFOV
VariableField of View
Category: SettingsFPS
VariableFrames per Second
Category: Settings