Commands/remove

Minecraft Wiki article. Categories: Minecraft_Education, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/remove on the Minecraft Wiki. Mirrored from revision 3331409. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This feature is exclusive to Minecraft Education.
 
/remove

Has the same function as /kill.

Syntax

remove [target: target]

Arguments

target

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

Result

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

Examples

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

History

Minecraft Education
1.7Added the /remove command.

See also

/kill – kill any entity

Sources