SilkPosition
@Serializable
A class which can be initialized with all kinds of positions and has the ability to convert them to nearly every other kind of position.
Additionally, this class is serializable.
Constructors
Link copied to clipboard
constructor(blockPos: BlockPos, worldIdentifier: ResourceLocation? = null, pitch: Float = 0.0f, yaw: Float = 0.0f)
constructor(vec3i: Vec3i, worldIdentifier: ResourceLocation? = null, pitch: Float = 0.0f, yaw: Float = 0.0f)
constructor(vec3f: Vector3f, worldIdentifier: ResourceLocation? = null, pitch: Float = 0.0f, yaw: Float = 0.0f)
constructor(vec3d: Vec3, worldIdentifier: ResourceLocation? = null, pitch: Float = 0.0f, yaw: Float = 0.0f)
constructor(entity: Entity)
constructor(chunkPos: ChunkPos, worldIdentifier: ResourceLocation? = null, pitch: Float = 0.0f, yaw: Float = 0.0f)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard