/s
/setblock
/setblock 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
- 2
- Executable
- No
📖 Overview
/setblock is a Java Edition command page with parser coverage, branch depth, and sample syntax extracted from the command tree.
⚡ What /setblock 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 /setblock in modern Java Edition.
Example syntax
/setblock <pos> <block> | /setblock <pos> <block> destroy | /setblock <pos> <block> keep
Parser coverage
block_pos, block_state
❓ Frequently Asked Questions
What does /setblock do?
/setblock is a Java Edition command page with parser metadata, subcommand counts, and usage samples from the vanilla command tree.
How many subcommands does /setblock have?
This page tracks 1 child nodes under /setblock.