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

Cannot select dying entities

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.10.2, Minecraft 16w39c, Minecraft 16w42a, Minecraft 1.11, Minecraft 1.12, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w11b, Minecraft 19w12b, 1.15.2, 20w07a, 1.16.1, 1.16.2 Pre-release 1, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w46a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands

      Description

      The bug

      You cannot select dying entities. This is a great problem when you modify the value of the DeathTime tag of an entity.

      Expected behavior

      You should be able to select dying mobs with the entity selector @e and position arguments because the entity is still in the world and prevents for example block placement.

      How to reproduce

      1. Create a new world
      2. Use the following command
        /summon villager ~ ~ ~ {Tags:["testVillager"],Health:0f,DeathTime:-32768s}
        
      1. Try using the following command
        /execute as @e[type=minecraft:villager,tag=testVillager] run say Test
        

        It will result in an empty message. This is a problem because the villager is still there, which can be seen when reopening the world

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marcono1234 [Mod] Marcono1234
              Votes:
              12 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: