Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

NumberType

The width a trait’s number field takes, through defineTrait’s types, in what a per-entity world save keeps of it. The trait keeps the number as it is; the save writes it in this many bytes. float64 is exact for every number.

Float32: "float32"


Float64: "float64"


Int16: "int16"


Int32: "int32"


Int8: "int8"


Uint16: "uint16"


Uint32: "uint32"


Uint8: "uint8"