/function Command

Runs commands found in the corresponding function file.

Permission Level Game Directors
Requires Cheats? Yes

Usage

Function with file path

/function <name: filepath>

Call the function at a particular file path.

Arguments

  • name: filepath Required. A command file path to a function located in a behavior pack.