io.github.kory33.s2mctest.core.client.api

Type members

Classlikes

class DiscretePath[V, F](val points: Vector[V])(using nvs: NormedVectorSpace[V, F], order: Order[F])

Class of discrete path on a normed vector space V which consists of points in V of positive number. These objects, unlike continuous (with respect to the metric induced by norm on V) paths represented by [0, 1] -> V, has lost information on how fast these points should be traversed.

Class of discrete path on a normed vector space V which consists of points in V of positive number. These objects, unlike continuous (with respect to the metric induced by norm on V) paths represented by [0, 1] -> V, has lost information on how fast these points should be traversed.

V must be a normed vector space over an ordered field F, which should be a subfield of the set of real numbers. It is required that the field operations are compatible with order relations. For more details, see https://en.wikipedia.org/w/index.php?title=Ordered_field&oldid=1049796158#Definitions.

Value Params
points

a nonempty sequence of points of V

Companion
object
Companion
class
case
class MinecraftVector(x: Double, y: Double, z: Double)

A point in the Minecraft space.

A point in the Minecraft space.

Companion
object
Companion
class
case
class PathTraverseStrategy(movementPacketInterval: FiniteDuration, speed: Double)
Value Params
movementPacketInterval

The interval at which serverbound movement packets are sent

speed

The maximum speed of traversal in blocks per second.

Companion
object
Companion
class
case
class Vector2D(x: Double, y: Double)

A vector in 2-dimensional Euclidean space (where reals are approximated by Doubles).

A vector in 2-dimensional Euclidean space (where reals are approximated by Doubles).

Companion
object
object Vector2D
Companion
class