/attack

BlockSprite rose.png: Sprite image for rose in Minecraft
This page describes content that has been removed from the game.
 
This feature was present in earlier versions of Minecraft, but has since been removed.
This feature is exclusive to Bedrock Edition and Minecraft Education.
 
This page describes an education-related feature.
 
This feature is available only in Minecraft Education or when enabling the "Education" option in Bedrock Edition.
/attack
Visibility

Hidden

Permission level
required

0

Restrictions

None

Let the agent attack in the direction specified.

Syntax

attack <direction: string>

Arguments

direction: string

Specifies the direction of Agent to attack.
Must be one of:
  • forward to attack forward.
  • back to attack backward.
  • left to attack leftward.
  • right to attack rightward.
  • up to attack upward.
  • down to attack downward.

Result

Always success, Agent attacks in the specified direction by 8HP♥♥♥♥ attack damage.

History

This section of the article is empty.
 
You can help by expanding it.

Navigation