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

@r works only for players if it doesn't have type=

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 15w47b
    • None
    • Windows 7 64 bit, latest normal Java
    • Unconfirmed

      The command
      /kill @r
      only kills a player (in singleplayer me), it can't target a random entity.
      The command
      /kill @r[type=ArmorStand]
      actually kills a random armor stand. But if I want to kill a random entity in the world (or a random one that fits a certain condition), it isn't possible (except, of course, I summon an armor stand with a name at every entity and execute at a random armor stand and and and...).
      I think this is a bug, since with @e it always works.

            Unassigned Unassigned
            FaRo1 Fabian Röling
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: