/f
Command Java

/function

/function is a Java Edition command page with parser metadata, subcommand counts, and usage samples from the vanilla command tree.

Java Command

📊 Key Facts

📌 Child Nodes
1
📌 Parser Types
6
📌 Executable
No

📖 Overview

/function is a Java Edition command page with parser coverage, branch depth, and sample syntax extracted from the command tree.

⚡ What /function Is Used For

  • Useful for admin setup, datapack authoring, adventure maps, command block systems, and troubleshooting command syntax.

Usage outline

Use this page to inspect the root syntax, parser types, and executable branches for /function in modern Java Edition.

Example syntax

/function <name> | /function <name> <arguments> | /function <name> with block <sourcePos>

Parser coverage

block_pos, entity, function, nbt_compound_tag, nbt_path, resource_location

❓ Frequently Asked Questions

What does /function do?

/function is a Java Edition command page with parser metadata, subcommand counts, and usage samples from the vanilla command tree.

How many subcommands does /function have?

This page tracks 1 child nodes under /function.