tryTrigger

fun tryTrigger(entity: LivingEntity, from: Location, to: Location)

Fires the appropriate enter/exit/inside zone event(s) for entity moving fromto. Called by the movement listeners; rarely needed directly.