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

Brackets to define a mob don't work with /kill, /tp, /effect,..

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 14w04b, Minecraft 14w05b, Minecraft 14w06a
    • Unconfirmed

      Brackets to define a mob don't work with /kill, /tp, /effect,..

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      /testfor @e[...] {...}
      

      does work, but for example

      /kill @e[...] {...}
      

      does not.

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      More examples:

      /testfor @e[type=Slime] {Riding:{id:Zombie}}
      

      is working.

      /kill @e[r=3,c=-1,type=Slime] {Riding:{id:Zombie}}
      

      is not.

      Making this work would help me to create a headshot detection system for my awesome soon to be playable 'Tower Defense' style game.

      Also i think it would be nice to have a RiddenBy-Tag to see if another entity is riding on the specific entity I want to be checked or manipulated.
      (Because I want to kill the ZOMBIES that have NO invisible slime on their head)

      I think a lot of people could make a use of this.

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      I have created a reddit post for this, but it does not feel like this issues are getting upvoted much because it does only affect map makers and not normal players (which are most of the people obviously).

      http://redd.it/1wdrwu

      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      Edit: Used proper formatting. Thanks to [Mod] Talven81.

      Edit2: Can you think of any other way to kill a zombie that has no slime riding on it, without the above suggestions (RiddenBy-Tag for example)?
      Think of the multiple options this would give to the players!

      Edit3: How can I reopen this issue? How could I verificate the answer?

            Unassigned Unassigned
            EscoreFairplay EscoreFairplay
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: