Minecraft /setblock Generator.
Changes a single block to a specified block type. 以下の設定を調整して、正しいコマンド構文を即座に自動生成します。
生成されたマイクラ構文
この出力をコピーして、マインクラフトのチャット欄(Tキー)またはコマンドブロックに貼り付けてください。
このコマンドの機能解説
About the /setblock Generator
The /setblock generator produces commands to place or replace an individual block at precise coordinates with custom block state orientations and modes.
How to Use This Generator
- Input the target coordinates (absolute X Y Z or relative ~ ~ ~).
- Select the block ID to place (e.g., minecraft:redstone_block, air).
- Choose placement mode: replace (default), keep (only if target is air), or destroy.
- Copy and execute in chat or via a command block.
Parameters & Options Explained
Exact 3D block coordinates where the block will be set.
The namespaced identifier of the block to place.
replace (overwrites existing block silently), keep (only places if space is empty air), destroy (breaks existing block with particles and drops).
Practical In-Game Example
Tested & Validated/setblock ~ ~-1 ~ minecraft:redstone_block replacePlaces a redstone block beneath the player to trigger hidden redstone circuits or command block mechanisms.
Java vs Bedrock Compatibility
Important Limitations & Rules
- Only changes a single block at a time; use /fill for multi-block volumes.
- Coordinates must be within loaded chunks and valid world height boundaries (-64 to 320 in Java).