Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-65290

/execute kill requires arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 14w31a, Minecraft 1.8.4
    • None
    • Windows 7 64-bit
    • Community Consensus

      Running a command such as
      /execute @p ~ ~ ~ kill
      requires arguments to be added to kill, despite /kill not requiring any arguments when ran by a player.
      A good example would be a command that kills any entity standing on a specific block.
      /execute @e ~ ~ ~ detect ~ ~-1 ~ dirt 2 kill @e
      This command kills every entity on the map, so ideally we would drop the arguments to kill, so entities kill themselves, but you cannot.

            grum [Mojang] Grum (Erik Broes)
            iWasHere Nicholas Hill
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: