SubChunkPrefix_v8: {
    type: "compound";
    value: {
        layerCount: { type: "byte"; value: number };
        layers: {
            type: "list";
            value: { type: "compound"; value: SubChunkPrefixLayer["value"][] };
        };
        subChunkIndex?: { type: "byte"; value: number };
        version: { type: "byte"; value: 8 | 9 };
    };
}

The SubChunkPrefix schema for versions 8 and 9.

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: number };
        layers: {
            type: "list";
            value: { type: "compound"; value: SubChunkPrefixLayer["value"][] };
        };
        subChunkIndex?: { type: "byte"; value: number };
        version: { type: "byte"; value: 8 | 9 };
    }
    • layerCount: { type: "byte"; value: number }
    • layers: {
          type: "list";
          value: { type: "compound"; value: SubChunkPrefixLayer["value"][] };
      }
    • OptionalsubChunkIndex?: { type: "byte"; value: number }
    • version: { type: "byte"; value: 8 | 9 }

      8 | 9