Commands/remove

From Minecraft Wiki
Jump to: navigation, search
remove
Restrictions

None

First introduced

Education 1.7

Information icon.svg
This feature is exclusive to Bedrock Edition and Education Edition.
Hydrogen.png
This page describes an education-related feature.
This feature is available only in Education Edition or when enabling the "Education Edition" option in Bedrock Edition.

Removes an agent.

Syntax[edit]

remove [target: target]

Arguments[edit]

target

Specifies the target to be removed. Must be a target selector.

Result[edit]

Fails if the arguments are not specified correctly, or if the executor is not a worldbuilder while targeting other people's agents.

Examples[edit]

  • To remove the executor's agent.
    • /remove @c
  • To remove all agents.
    • /remove @v

See also[edit]

/kill – kill any entity