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)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 1: Line 1:
{{Outdated feature}}
{{Outdated feature}}
{{MC/Exclusive|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 15: Line 15:


==Arguments==
==Arguments==
{{MC/Argument|position: x y z|CommandPositionFloat}}
{{Argument|position: x y z|CommandPositionFloat}}


The coordinates of the block
The coordinates of the block
Line 29: Line 29:


{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{MC/Cmd|link=none|destroyblock}}.}}
|{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{cmd|link=none|destroyblock}}.}}
|{{MC/HistoryLine||1.2.14|Removed all developer commands.}}
|{{HistoryLine||1.2.14|Removed all developer commands.}}
}}
}}


== Navigation ==
== Navigation ==
{{MC/Navbox commands}}
{{Navbox commands}}

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