02-02-2015, 05:41 AM
(02-02-2015, 05:10 AM)DiamondToaster Wrote: Maybe every few ticks, poll all entities and if they're a mob, add their ID to a table, check if the entity of that ID is nil or not, if its not, do routines, and on death, remove their ID from the table?
If there are alot of mobs, it may cause some slowdowns tho, but I doubt it with your i7.
That's what I'm doing. But, I'm also only interfering with a mob if it is within 50 blocks of a player. That setting will be configurable of course.