1. Wiki
  2. /Commands
  3. //function

/function

Put commands in your add-on as functions: GodCraft writes and packs them for you.Get GodCraft

/function: Runs all commands from a .mcfunction file in your behavior pack.

Syntax

<angle brackets> are required, [square brackets] optional.

/function <name: pathcommand>

Commands: Commands

We use cookies to improve your experience and analyse site traffic. Learn more