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
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Outdated feature}}
{{Removed feature|edition=bedrock}}
{{exclusive|bedrock}}
{{Infobox command
{{Infobox command
|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==
Line 17: Line 16:
{{Argument|position: x y z|CommandPositionFloat}}
{{Argument|position: x y z|CommandPositionFloat}}


The coordinates of the block
The coordinates of the block.


==Result==
==Result==

Latest revision as of 11:10, 18 September 2026

Template:Removed feature 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