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

Power of the effect.

Category: N/A
effects
Iterator

Iterates over currently applied effects

Category: N/A
EFFECTTIME
Variable

Remaining time of the effect in seconds.

Category: N/A
ELSE
Action

The 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 Flow
ELSEIF
Action

The 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 Flow
ENCHANTMENT
Variable

Display name of the enchantment

Category: N/A
ENCHANTMENTNAME
Variable

Only the name of the enchantment.

Category: N/A
ENCHANTMENTPOWER
Variable

Power of the enchantment.

Category: N/A
enchantments
Iterator

Iterates over all enchantments on the equipped item

Category: N/A
ENCODE
Action

Converts an string to base 64. Returns the encoded value.

Category: Calculations
END
REPL Command

Ends a multi-line script and executes the contents of the buffer

Category: N/A
ENDIF
Action

Ends an if-clause.

Category: Control Flow
ENDUNSAFE
Action

Ends an active UNSAFE block

Category: Control Flow
env
Iterator

Iterates over all available variables

Category: N/A
EXEC
Action

Creates 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 related
EXIT
REPL Command

Close the console window

Category: N/A
EXPAND
REPL Command

No description.

Category: N/A
FILTER
Action

Indicate that this chat message should be filtered and terminate

Category: Mod related
FLYING
Variable

Whether the Player is flying

Category: Player
FOG
Action

Toggles 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: Settings
FOR
Action

Begins 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 Flow
FOREACH
Action

Runs 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 Flow
FOV
Action

Sets the FOV angle in degrees, specifying time causes the value to change smoothly. `<value>` has to be between `70` and `110`.

Category: Settings
FOV
Variable

Field of View

Category: Settings
FPS
Variable

Frames per Second

Category: Settings