newRaytracedRotationEntity

@JvmName(name = "newRaytracedRotationEntity")
fun newRaytracedRotationEntity(entity: Entity, range: Double, throughWallsRange: Double): Rotation?

Creates a new net.ccbluex.liquidbounce.utils.aiming.data.Rotation from entity's bounding box. This uses raytracing, so it's guaranteed to be the best spot.

It has a performance impact, so it's recommended to use newRotationEntity if you don't need the best spot.