findPosForTrap

fun findPosForTrap(target: LivingEntity, isTargetLocked: Boolean): Vec3?

Searches for a position where a trap could be laid. Currently, that is just the landing position of a jumping/falling player.

Return

position for the trap. null if the trap should not be placed.