Script Rotation Util
object ScriptRotationUtil
A collection of useful rotation utilities for the ScriptAPI. This SHOULD not be changed in a way that breaks backwards compatibility.
This is a singleton object, so it can be accessed from the script API like this:
api.rotationUtil.newRaytracedRotationEntity(entity, 4.2, 0.0)
rotationUtil.newRotationEntity(entity)
rotationUtil.aimAtRotation(rotation, true)Content copied to clipboard
Functions
Link copied to clipboard
Aims at the given rotation using the in-built RotationManager.
Link copied to clipboard
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.
Link copied to clipboard