Versions in this module Expand all Collapse all v0 v0.1.1 Feb 3, 2023 v0.1.0 Feb 3, 2023 Changes in this version + var InvalidMTSSignature = errors.New("invalid MTS signature: expected MTSM") + var UnsupportedMTSVersion = errors.New("unsupported MTS version") + type Node struct + Content uint16 + Param1 uint8 + Param2 uint8 + type Schematic struct + Names []string + Nodes []Node + Size Vec3i + YProbs []uint8 + func FromJSONStream(ins io.Reader) (Schematic, error) + func FromMTSStream(ins io.Reader) (s Schematic, err error) + func FromYAMLStream(ins io.Reader) (Schematic, error) + func (s Schematic) WriteJSON(outs io.Writer, indent string) error + func (s Schematic) WriteLua(outs io.Writer, indent string, comments bool) (err error) + func (s Schematic) WriteMTS(outs io.Writer) (err error) + func (s Schematic) WriteYAML(outs io.Writer, indent string) error + type Vec3i struct + X uint16 + Y uint16 + Z uint16