ClipTools

object ClipTools

Collection of methods used for clipping

Author

Aton

Functions

Link copied to clipboard
fun clip(x: Double, y: Double, z: Double)

Teleport relative to the current position.

Link copied to clipboard
fun dClip(dist: Double, yaw: Float = yaw(), pitch: Float = 0.0f)
Link copied to clipboard
fun executeClipRoute(route: MutableList<Double>, rotation: Int = 0, startDelay: Int = 0, relative: Boolean = true, startPos: MutableList<Double> = mutableListOf(0.0, 0.0, 0.0), delayOffs: Int = 0): Long

Performs the clip route given as route, starting at startPos. The argument relative determines, whether the coordinates in route are relative to the previous position or absolute. The startPos and route coordinates all get rotated according to rotation.

Link copied to clipboard
fun hClip(dist: Double, yaw: Float = yaw(), yOffs: Double = 0.0)
Link copied to clipboard
fun teleport(x: Double, y: Double, z: Double)

Teleport to the specified coordinates.