Minecraft:Commands/destroyblock: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{Outdated feature}} | {{Outdated feature}} | ||
{{ | {{exclusive|bedrock}} | ||
{{Infobox command | {{Infobox command | ||
|name=destroyblock | |name=destroyblock | ||
|oplevel=1 | |oplevel=1 | ||
|others = Cheat only | |others = [[Minecraft:Cheat]] only | ||
}} | }} | ||
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== | ||
{{ | {{Argument|position: x y z|CommandPositionFloat}} | ||
The coordinates of the block | The coordinates of the block | ||
| Line 29: | Line 29: | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{ | |{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{cmd|link=none|destroyblock}}.}} | ||
|{{ | |{{HistoryLine||1.2.14|Removed all developer commands.}} | ||
}} | }} | ||
== Navigation == | == Navigation == | ||
{{ | {{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
The coordinates of the block
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table