Skip to content

Primitives

Blittable value types shared with the native side.

Type Kind Description
BlockPos struct Integer block coordinates.
Location struct A position with a rotation in a world.
NativeBytes struct Borrowed byte buffer (McBytes).
Utf8String struct Borrowed UTF-8 string (McStr).
Uuid struct Java-style UUID (two big-endian halves).
Vec3d struct A 3D vector of doubles (positions, velocities).