SubChunkPrefixLayer: {
    type: "compound";
    value: {
        block_indices: {
            type: "list";
            value: { type: "int"; value: number[] };
        };
        palette: { type: "compound"; value: { [key: string]: Block } };
        storageVersion: { type: "byte"; value: 1 | 2 | 3 | 4 | 5 | 6 | 8 | 16 };
    };
}

The SubChunkPrefixLayer schema.

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

Type declaration

  • type: "compound"
  • value: {
        block_indices: { type: "list"; value: { type: "int"; value: number[] } };
        palette: { type: "compound"; value: { [key: string]: Block } };
        storageVersion: { type: "byte"; value: 1 | 2 | 3 | 4 | 5 | 6 | 8 | 16 };
    }
    • block_indices: { type: "list"; value: { type: "int"; value: number[] } }

      4096

      4096

    • palette: { type: "compound"; value: { [key: string]: Block } }
    • storageVersion: { type: "byte"; value: 1 | 2 | 3 | 4 | 5 | 6 | 8 | 16 }

      1 | 2 | 3 | 4 | 5 | 6 | 8 | 16