Entity despawned with minecraft:despawn component still “valid entity”
Partner Rank: 3
Partner Team Reporting: Spark Squared
Verification builds: 1.13.0.5
Summary: Entity despawned with minecraft:despawn component still “valid entity” per isValidEntity scripting entity binding
Impact: Impacting development on a future project involving scripting
Repro Steps:
- Create a new world with the behaviour pack and resource pack attached installed (Experimental gameplay enabled)
- /summon despawn_bug:bug
- Notice in the chat that the entity is detected by the script, and the isValidEntity binding output is printed to the chat every second
- Walk more than 10 blocks away from entity
- The entity despawns and yet the binding still states that the entity is “valid”
Observed Results: The entity is still deemed “valid” while having despawned
Expected Results: The entity should be invalid once it despawns
Screenshots/Videos attached: No
Notes: