Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
Paeonia (texture) TU1.png
This page describes content that exists only in outdated versions of Minecraft. 
This feature used to be in the game but has since been removed.
Information icon.svg
This feature is exclusive to Bedrock Edition and Education Edition. 
destroy
Visibility

Hidden

Permission level
required

0

Restrictions

None

Makes your agent destroy a block or item in the specified direction.

Syntax[]

destroy <direction: string>

Arguments[]

direction: string

Specifies the direction of Agent to destroy.
Must be one of:
  • forward to destroy block/item on the front.
  • back to destroy block/item on the back.
  • left to destroy block/item on the left-hand side.
  • right to destroy block/item on the right-hand side.
  • up to destroy block/item on the top-hand side.
  • down to destroy block/item on the bottom-hand side.

Result[]

Fails if the block was unbreakable or a non-solid block.

On success, the Agent destroys the block/item by one hit as expected.

History[]

Education Edition
?Added /destroy.
Advertisement