Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/destroyblock: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|name=destroyblock
|name=destroyblock
|oplevel=1
|oplevel=1
|others = Cheat only
|others = [[Minecraft:Cheat]] only
}}
}}


Destroy the block at the specified coordinates. The block's item will always drop as if the correct tool was used, even if the block is normally unbreakable.
Destroys the block at the specified coordinates. The block will always drop as if the correct tool was used, even if the block is normally unbreakable.


When this command is run in a command block, it will fail with the message "No player!"
When this command is run in a [[Minecraft:command block]], it will fail with the message "No player!"


==Syntax==
==Syntax==

Latest revision as of 11:04, 24 July 2026

Template:Outdated feature Template:Exclusive Template:Infobox command

Destroys the block at the specified coordinates. The block will always drop as if the correct tool was used, even if the block is normally unbreakable.

When this command is run in a Minecraft:command block, it will fail with the message "No player!"

Syntax

/destroyblock <position: x y z>

Arguments

Template:Argument

The coordinates of the block

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

History

Template:HistoryTable

Navigation

Template:Navbox commands