Minecraft /setblock Commands — Copy & Paste (2026)
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Place single blocks or clear whole regions with one line. These /setblock and /fill commands are copy-ready and verified for both Java and Bedrock.
Set a Single Block
Place one block at a specific spot
Clear an Area (Fill With Air)
Delete a region of blocks by filling it with air
Fill a Hollow Box (Build a Room)
Create a hollow room or box out of any block
Fill an Area with Water
Create a pool or lake by filling a region with water
Replace One Block Type with Another
Swap every block of one type for another in a region
Place a Chest
Instantly place a chest at a specific location
Clone (Copy) a Structure
Copy a region of blocks and paste it somewhere else
Place a Zombie Mob Spawner
Place a working mob spawner that continuously spawns zombies
Fill an Area with TNT
Pack a region with TNT blocks ready to detonate