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

Target selector fails with mobs that have been spawned using Spawn Eggs



    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Minecraft 15w32c
    • None
    • None
    • SO: Windows 10.
      Here is the F3 information:
    • Unconfirmed


      When I used a Zombie Spawn Egg and I tried to kill them using /kill @e[type=!Player], I discovered that all the entities died but me and the Zombies I've spawned. So I tried to execute /kill @e, but they were still alive. Nevetheless, I could hit them till death.
      It also works with any command that uses target selector and with any mob.

      In the attached images, I did the same but using renamed pigs and a saddle, to make it more graphic.
      As you can see, the first one is a pig spawned with /summon. It's like a natural spawned pig and the saddle is just to mark him. The second one is spawned using an egg. When I execute /kill @e, all entities dies except the spawned with egg.
      Then I tried /tp @e DanielFerG_, but "That entity cannot be found". Finally, I typed /tp @e[name=SpawnedWithEgg] DanielFerG_ and the same happened.

      I've tested this by using a real naturally spawned mob and a spawned egg mob, no renaming it, and the result is the same.

      Hope I have been helpful. Cheers and I hope we will receive hugs! u


        1. 2015-08-09_16.37.35.png
          252 kB
          Daniel Fernández
        2. 2015-08-09_16.37.40.png
          241 kB
          Daniel Fernández
        3. 2015-08-09_16.38.12.png
          311 kB
          Daniel Fernández
        4. 2015-08-09_16.38.21_2.png
          283 kB
          Daniel Fernández
        5. 2015-08-09_16.38.58.png
          179 kB
          Daniel Fernández
        6. 2015-08-09_16.39.08.png
          204 kB
          Daniel Fernández
        7. 2015-08-09_16.40.21.png
          300 kB
          Daniel Fernández

        Issue Links



              Unassigned Unassigned
              DanielFerG_ Daniel Fernández
              0 Vote for this issue
              1 Start watching this issue