Records
Store permanent alterations about your game world.
This page is an incomplete work-in-progress.
A Record is a permanent piece of information stored by WorldQL. All records have a position in 3D space and can store arbitrary encoded information.
On the back-end, records are stored using PostgreSQL. For fast lookup and scalability, Records are partitioned across multiple tables and indexed using an n-tree structure.
Records for a given world can be looked up in bulk using an instruction like Record.Get.Blocks.all (Java example in the Mammoth repo).
They can also be looked up by location with a Record.Get.RecordName.location instruction and passing a location in the Flatbuffer.
Last modified 1mo ago
Copy link