Started by
CodaZeal
on
Topic category: Help with Minecraft modding (Java Edition)
Is there a way to run a procedure when a mob is about to despawn?
If it is not possible to detect when the mob despawns without the use of a custom despawning procedure, what would be the most lag friendly way to implement it?
You can try using global trigger: entity leaves the world
There is no trigger with that name.