-
Bug
-
Resolution: Won't Fix
-
None
-
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, 21w03a, 21w05b
-
Confirmed
-
Commands
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
- Create a new world
- Use the following command
/summon villager ~ ~ ~ {Tags:["testVillager"],Health:0f,DeathTime:-32768s}
- 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