TrapPlayerSimulation

Functions

Link copied to clipboard
fun findPosForTrap(target: LivingEntity, isTargetLocked: Boolean): Vec3?

Searches for a position where a trap could be laid. Currently, that is the landing position of a jumping/falling player, or the current position of a player standing on the ground.

Link copied to clipboard
fun runSimulations(enemies: List<LivingEntity>)