BlueCommander
  • 𝐇𝐨𝐦𝐞
  • 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 𝐚𝐧𝐝 𝐃𝐚𝐭𝐚 𝐏𝐚𝐜𝐤𝐬
    • 𝐌𝐚𝐢𝐧 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧 1 >
      • Chest Transportation
      • Damage Icons
      • Bonsai Pots
      • Christmas Animals
      • Blood Magic
      • Be a Villager
      • Vein Miner
      • Tree Capitator
      • Guns
      • More TNT
      • More Enchantments
      • Player Head Tricks
      • Christmas Food
      • Entity Cloning
      • Army Builder
      • Be a Magma Cube
    • 𝐌𝐚𝐢𝐧 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧 2 >
      • World Loader
      • Gravity on any block
      • Drinks
      • Outside World
      • Halloween Weapons
      • Health Tags
      • Mazes
      • MC Improvements
      • Temmie Boss
      • More Plants
      • More Swords
      • Bedwars Items
      • Laser Beams
      • Jade Ore
      • Paintball Gun
      • Halloween Survival
    • 𝐁𝐥𝐢𝐧𝐠𝐄𝐝𝐢𝐭 𝐏𝐥𝐮𝐠𝐢𝐧𝐬 >
      • Top Soil
      • Forester
      • Water Flood
      • Patterns
      • Region Info
      • BlingEdit Commands
    • 𝐍𝐨𝐭 𝐎𝐧 𝐘𝐨𝐮𝐭𝐮𝐛𝐞 >
      • Crates
      • More Structures
      • Advanced UHC
      • Deco Sandwitches
      • Be Herobrine
      • Morphing >
        • Creeper Addon
      • Flamethrower
      • Arrow Effects
      • Block Pets
      • BlueFun
      • Seismic Axe
  • 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞𝐬
    • Introduction to Resources
    • ​
    • 𝐁𝐞𝐠𝐢𝐧𝐧𝐞𝐫𝐬
    • Command Block Basics >
      • Introduction
      • How Commands Work
      • Conditional Commands
      • Coordinates
      • Selectors
      • Tab Completion
      • Data Tags
    • Command Usages >
      • Introduction
      • /tell
      • /kill
      • /tp
      • /teleport
      • /replaceitem
      • /summon
      • /effect
      • /data
      • /setblock
      • /give
      • /particle
      • /playsound
      • /execute
      • /clone
      • /fill
      • /tag
      • /team
      • /scoreboard
    • ​
    • 𝐁𝐚𝐬𝐢𝐜
    • Command Creations >
      • Introduction
      • Arrow Particles
      • Lock Chests
      • Grappling Hook
      • Blocks/Items On Head
      • Custom Pets
      • Custom Portals
      • Lava + Water Swapped
    • ​
    • 𝐀𝐝𝐯𝐚𝐧𝐜𝐞𝐝
    • Command Creations >
      • Introduction
      • Chairs
      • Randomly Spawning Structures
      • RPG Villagers
      • Block Durability
      • Pathfinding AI
  • 𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐨𝐫𝐬
    • Hypixel Skyblock
    • Kits Maker
    • Custom Blocks Generator
    • Floor Crafting Generator
    • Minecraft Heads
  • Hypixel Skyblock Remake
  • 𝐎𝐭𝐡𝐞𝐫 𝐌𝐚𝐩𝐬
    • Don't Dig Straight Down
    • Levitation Parkour
    • 1v1 Pvp
  • 𝐂𝐨𝐦𝐦𝐢𝐬𝐬𝐢𝐨𝐧𝐬
Previous
For 1.13-1.16 Minecraft Java Edition

/setblock

In this tutorial, I will be showing you how to use the /setblock command along with showing some example commands.

/setblock <pos> <block> [destroy|keep|replace]

The /setblock command is used to place a block anywhere in a world. To use it we first need to put in the coordinates where we want the block to be, this can be an air block or where a block already exists.

Then we put in our block using block ids. If you don't know your blocks id, type some of it out and press tab or view a complete list here. We can now run the command and it will work perfectly fine.
Picture
Picture
But we can also add more. We can choose what happens to the block there before it (If there is one). The options are:
Destroy - This breaks it like a survival player would (Block drops, exp etc)
Keep - Only sets the block if it is air
Replace - Removes the block like it would in creative (No drops etc)

You can also add data tags straight after the block id (You can also use McStacker)
Check out McStacker here

/setblock 255 65 84 minecraft:stained_glass 13 destroy
Picture
Picture
I hope you now understand how it works! ~Blue
Next
Powered by Create your own unique website with customizable templates.
  • 𝐇𝐨𝐦𝐞
  • 𝐂𝐨𝐦𝐦𝐚𝐧𝐝𝐬 𝐚𝐧𝐝 𝐃𝐚𝐭𝐚 𝐏𝐚𝐜𝐤𝐬
    • 𝐌𝐚𝐢𝐧 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧 1 >
      • Chest Transportation
      • Damage Icons
      • Bonsai Pots
      • Christmas Animals
      • Blood Magic
      • Be a Villager
      • Vein Miner
      • Tree Capitator
      • Guns
      • More TNT
      • More Enchantments
      • Player Head Tricks
      • Christmas Food
      • Entity Cloning
      • Army Builder
      • Be a Magma Cube
    • 𝐌𝐚𝐢𝐧 𝐒𝐞𝐥𝐞𝐜𝐭𝐢𝐨𝐧 2 >
      • World Loader
      • Gravity on any block
      • Drinks
      • Outside World
      • Halloween Weapons
      • Health Tags
      • Mazes
      • MC Improvements
      • Temmie Boss
      • More Plants
      • More Swords
      • Bedwars Items
      • Laser Beams
      • Jade Ore
      • Paintball Gun
      • Halloween Survival
    • 𝐁𝐥𝐢𝐧𝐠𝐄𝐝𝐢𝐭 𝐏𝐥𝐮𝐠𝐢𝐧𝐬 >
      • Top Soil
      • Forester
      • Water Flood
      • Patterns
      • Region Info
      • BlingEdit Commands
    • 𝐍𝐨𝐭 𝐎𝐧 𝐘𝐨𝐮𝐭𝐮𝐛𝐞 >
      • Crates
      • More Structures
      • Advanced UHC
      • Deco Sandwitches
      • Be Herobrine
      • Morphing >
        • Creeper Addon
      • Flamethrower
      • Arrow Effects
      • Block Pets
      • BlueFun
      • Seismic Axe
  • 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞𝐬
    • Introduction to Resources
    • ​
    • 𝐁𝐞𝐠𝐢𝐧𝐧𝐞𝐫𝐬
    • Command Block Basics >
      • Introduction
      • How Commands Work
      • Conditional Commands
      • Coordinates
      • Selectors
      • Tab Completion
      • Data Tags
    • Command Usages >
      • Introduction
      • /tell
      • /kill
      • /tp
      • /teleport
      • /replaceitem
      • /summon
      • /effect
      • /data
      • /setblock
      • /give
      • /particle
      • /playsound
      • /execute
      • /clone
      • /fill
      • /tag
      • /team
      • /scoreboard
    • ​
    • 𝐁𝐚𝐬𝐢𝐜
    • Command Creations >
      • Introduction
      • Arrow Particles
      • Lock Chests
      • Grappling Hook
      • Blocks/Items On Head
      • Custom Pets
      • Custom Portals
      • Lava + Water Swapped
    • ​
    • 𝐀𝐝𝐯𝐚𝐧𝐜𝐞𝐝
    • Command Creations >
      • Introduction
      • Chairs
      • Randomly Spawning Structures
      • RPG Villagers
      • Block Durability
      • Pathfinding AI
  • 𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐨𝐫𝐬
    • Hypixel Skyblock
    • Kits Maker
    • Custom Blocks Generator
    • Floor Crafting Generator
    • Minecraft Heads
  • Hypixel Skyblock Remake
  • 𝐎𝐭𝐡𝐞𝐫 𝐌𝐚𝐩𝐬
    • Don't Dig Straight Down
    • Levitation Parkour
    • 1v1 Pvp
  • 𝐂𝐨𝐦𝐦𝐢𝐬𝐬𝐢𝐨𝐧𝐬