SubChunkPrefix_v1: {
    type: "compound";
    value: {
        layerCount: { type: "byte"; value: 1 };
        layers: {
            type: "list";
            value: { type: "compound"; value: [SubChunkPrefixLayer["value"]] };
        };
        version: { type: "byte"; value: 1 };
    };
}

The SubChunkPrefix schema for version 1.

A custom schema for the NBT structure used by the custom parser and serializer for the SubChunkPrefix content type.

Type declaration

  • type: "compound"
  • value: {
        layerCount: { type: "byte"; value: 1 };
        layers: {
            type: "list";
            value: { type: "compound"; value: [SubChunkPrefixLayer["value"]] };
        };
        version: { type: "byte"; value: 1 };
    }
    • layerCount: { type: "byte"; value: 1 }

      1

    • layers: {
          type: "list";
          value: { type: "compound"; value: [SubChunkPrefixLayer["value"]] };
      }
    • version: { type: "byte"; value: 1 }

      1