Types
Identifier = object namespace*, value*: string
- An MC identifier. Source Edit
PositionFormat = enum XYZ = 0, XZY
- An enum that allows for users to choose how a Position is encoded/decoded. Source Edit
Procs
proc `$`(i: Identifier): string {....raises: [], tags: [], forbids: [].}
- Get an identifier as a string. Source Edit
func fromJsonHook(uuid: var UUID; node: JsonNode) {....raises: [ValueError], tags: [], forbids: [].}
- Converts a UUID from JSON. Source Edit
proc new(_: typedesc[Identifier]; identStr: string): Identifier
- Constructs a minecraft identifier from a string Source Edit
func toJsonHook(uuid: UUID): JsonNode {....raises: [], tags: [], forbids: [].}
- Converts a UUID to JSON. Source Edit