Variable entryContentTypeToFormatMapConst

entryContentTypeToFormatMap: {
    AABBVolumes: { type: "unknown" };
    ActorDigestVersion: { type: "unknown" };
    ActorPrefix: { type: "NBT" };
    AutonomousEntities: { type: "NBT" };
    BiomeData: { type: "NBT" };
    BiomeIdsTable: { type: "NBT" };
    BiomeState: { type: "unknown" };
    BlendingBiomeHeight: { type: "unknown" };
    BlendingData: { type: "unknown" };
    BlockEntity: {
        resultType: "JSONNBT";
        type: "custom";
        parse(
            data: Buffer,
        ): Promise<
            {
                type: "compound";
                value: {
                    blockEntities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                CustomName?: { type: ...; value: ... };
                                id: { type: "string"; value: string };
                                isMovable: { type: "byte"; value: (...) | (...) };
                                x: { type: "int"; value: number };
                                y: { type: "int"; value: number };
                                z: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        >;
        serialize(
            data: {
                type: "compound";
                value: {
                    blockEntities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                CustomName?: { type: "string"; value: string };
                                id: { type: "string"; value: string };
                                isMovable: { type: "byte"; value: 0 | 1 };
                                x: { type: "int"; value: number };
                                y: { type: "int"; value: number };
                                z: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        ): Buffer<ArrayBuffer>;
    };
    BorderBlocks: { type: "unknown" };
    Checksums: { type: "unknown" };
    ChunkLoadedRequest: { type: "NBT" };
    ConversionData: { type: "unknown" };
    Data2D: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Data2D;
        serialize(data: Data2D): Buffer<ArrayBuffer>;
    };
    Data2DLegacy: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Data2DLegacy;
        serialize(data: Data2DLegacy): Buffer<ArrayBuffer>;
    };
    Data3D: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Data3D;
        serialize(data: Data3D): Buffer<ArrayBuffer>;
    };
    Digest: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Promise<Digest>;
        serialize(data: Digest): Buffer<ArrayBuffer>;
    };
    DynamicProperties: { defaultValue: Buffer<ArrayBufferLike>; type: "NBT" };
    Entity: {
        resultType: "JSONNBT";
        type: "custom";
        parse(
            data: Buffer,
        ): Promise<
            {
                type: "compound";
                value: {
                    entities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                Chested: { type: "byte"; value: (...)
                                | (...) };
                                Color: { type: "byte"; value: (...) | (...) };
                                Color2: { type: "byte"; value: (...) | (...) };
                                CustomName?: { type: ...; value: ... };
                                CustomNameVisible?: { type: ...; value: ... };
                                definitions?: { type: ...; value: ... };
                                FallDistance: { type: "float"; value: number };
                                Fire?: { type: ...; value: ... };
                                identifier: { type: "string"; value: string };
                                internalComponents: {
                                    type: "compound";
                                    value: { EntityStorageKeyComponent: ... };
                                };
                                Invulnerable: { type: "byte"; value: (...)
                                | (...) };
                                IsAngry: { type: "byte"; value: (...) | (...) };
                                IsAutonomous: { type: "byte"; value: (...) | (...) };
                                IsBaby: { type: "byte"; value: (...) | (...) };
                                IsEating: { type: "byte"; value: (...) | (...) };
                                IsGliding: { type: "byte"; value: (...) | (...) };
                                IsGlobal: { type: "byte"; value: (...) | (...) };
                                IsIllagerCaptain: { type: "byte"; value: (...) | (...) };
                                IsOrphaned: { type: "byte"; value: (...) | (...) };
                                IsOutOfControl: { type: "byte"; value: (...) | (...) };
                                IsRoaring: { type: "byte"; value: (...) | (...) };
                                IsScared: { type: "byte"; value: (...) | (...) };
                                IsStunned: { type: "byte"; value: (...) | (...) };
                                IsSwimming: { type: "byte"; value: (...) | (...) };
                                IsTamed: { type: "byte"; value: (...) | (...) };
                                IsTrusting: { type: "byte"; value: (...) | (...) };
                                LastDimensionId?: { type: ...; value: ... };
                                LinksTag?: { type: ...; value: ... };
                                LootDropped: { type: "byte"; value: (...) | (...) };
                                MarkVariant: { type: "int"; value: number };
                                Motion?: { type: ...; value: ... };
                                OnGround: { type: "byte"; value: (...) | (...) };
                                OwnerNew: { type: "long"; value: [high: ..., low: ...] };
                                Persistent?: { type: ...; value: ... };
                                PortalCooldown: { type: "int"; value: number };
                                Pos: { type: "list"; value: { type: ...; value: ... } };
                                Rotation: { type: "list"; value: { type: ...; value: ... } };
                                Saddled: { type: "byte"; value: (...) | (...) };
                                Sheared: { type: "byte"; value: (...) | (...) };
                                ShowBottom: { type: "byte"; value: (...) | (...) };
                                Sitting: { type: "byte"; value: (...) | (...) };
                                SkinID: { type: "int"; value: number };
                                Strength: { type: "int"; value: number };
                                StrengthMax: { type: "int"; value: number };
                                Tags?: { type: ...; value: ... };
                                UniqueID: { type: "long"; value: [high: ..., low: ...] };
                                Variant: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        >;
        serialize(
            data: {
                type: "compound";
                value: {
                    entities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                Chested: { type: "byte"; value: 0 | 1 };
                                Color: { type: "byte"; value: 0 | 1 };
                                Color2: { type: "byte"; value: 0 | 1 };
                                CustomName?: { type: "string"; value: string };
                                CustomNameVisible?: { type: "byte"; value: (...) | (...) };
                                definitions?: { type: "list"; value: { type: ...; value: ... } };
                                FallDistance: { type: "float"; value: number };
                                Fire?: { type: "short"; value: number };
                                identifier: { type: "string"; value: string };
                                internalComponents: {
                                    type: "compound";
                                    value: { EntityStorageKeyComponent: { type: ...; value: ... } };
                                };
                                Invulnerable: { type: "byte"; value: 0
                                | 1 };
                                IsAngry: { type: "byte"; value: 0 | 1 };
                                IsAutonomous: { type: "byte"; value: 0 | 1 };
                                IsBaby: { type: "byte"; value: 0 | 1 };
                                IsEating: { type: "byte"; value: 0 | 1 };
                                IsGliding: { type: "byte"; value: 0 | 1 };
                                IsGlobal: { type: "byte"; value: 0 | 1 };
                                IsIllagerCaptain: { type: "byte"; value: 0 | 1 };
                                IsOrphaned: { type: "byte"; value: 0 | 1 };
                                IsOutOfControl: { type: "byte"; value: 0 | 1 };
                                IsRoaring: { type: "byte"; value: 0 | 1 };
                                IsScared: { type: "byte"; value: 0 | 1 };
                                IsStunned: { type: "byte"; value: 0 | 1 };
                                IsSwimming: { type: "byte"; value: 0 | 1 };
                                IsTamed: { type: "byte"; value: 0 | 1 };
                                IsTrusting: { type: "byte"; value: 0 | 1 };
                                LastDimensionId?: { type: "int"; value: number };
                                LinksTag?: {
                                    type: "compound";
                                    value: { entityID: ...; LinkID: ... };
                                };
                                LootDropped: { type: "byte"; value: 0
                                | 1 };
                                MarkVariant: { type: "int"; value: number };
                                Motion?: { type: "list"; value: { type: ...; value: ... } };
                                OnGround: { type: "byte"; value: 0 | 1 };
                                OwnerNew: { type: "long"; value: [high: number, low: number] };
                                Persistent?: { type: "byte"; value: (...) | (...) };
                                PortalCooldown: { type: "int"; value: number };
                                Pos: {
                                    type: "list";
                                    value: { type: "float"; value: [(...), (...), (...)] };
                                };
                                Rotation: {
                                    type: "list";
                                    value: { type: "float"; value: [(...), (...)] };
                                };
                                Saddled: { type: "byte"; value: 0
                                | 1 };
                                Sheared: { type: "byte"; value: 0 | 1 };
                                ShowBottom: { type: "byte"; value: 0 | 1 };
                                Sitting: { type: "byte"; value: 0 | 1 };
                                SkinID: { type: "int"; value: number };
                                Strength: { type: "int"; value: number };
                                StrengthMax: { type: "int"; value: number };
                                Tags?: { type: "list"; value: { type: ...; value: ... } };
                                UniqueID: { type: "long"; value: [high: number, low: number] };
                                Variant: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        ): Buffer<ArrayBuffer>;
    };
    FinalizedState: {
        bytes: 4;
        defaultValue: Buffer<ArrayBuffer>;
        format: "LE";
        signed: false;
        type: "int";
    };
    FlatWorldLayers: { type: "ASCII" };
    ForcedWorldCorruption: { defaultValue: Buffer<ArrayBuffer>; type: "UTF-8" };
    GeneratedPreCavesAndCliffsBlending: { type: "unknown" };
    GenerationSeed: { bytes: 4; format: "LE"; signed: true; type: "int" };
    HardcodedSpawners: { type: "unknown" };
    LegacyBlockExtraData: { type: "unknown" };
    LegacyNether: { type: "NBT" };
    LegacyOverworld: { type: "NBT" };
    LegacyTerrain: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): LegacyTerrain;
        serialize(data: LegacyTerrain): Buffer<ArrayBuffer>;
    };
    LegacyTheEnd: { type: "NBT" };
    LegacyVersion: { bytes: 1; format: "LE"; signed: false; type: "int" };
    LevelChunkMetaDataDictionary: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Promise<LevelChunkMetaDataDictionary>;
        serialize(data: LevelChunkMetaDataDictionary): Buffer<ArrayBuffer>;
    };
    LevelDat: {
        rawFileExtension: "dat";
        resultType: "JSONNBT";
        type: "custom";
        get defaultValue(): Buffer<ArrayBuffer>;
        parse(data: Buffer): Promise<LevelDat>;
        serialize(data: LevelDat): Buffer<ArrayBuffer>;
    };
    LevelSpawnWasFixed: { defaultValue: Buffer<ArrayBuffer>; type: "UTF-8" };
    Map: { type: "NBT" };
    MetaDataHash: { type: "unknown" };
    MobEvents: { type: "NBT" };
    MVillages: { type: "NBT" };
    Nether: { type: "NBT" };
    Overworld: { type: "NBT" };
    PendingTicks: { type: "NBT"; get defaultValue(): Buffer<ArrayBuffer> };
    Player: { type: "NBT" };
    PlayerClient: { type: "NBT" };
    Portals: { type: "NBT" };
    PositionTrackingDB: { type: "NBT" };
    PositionTrackingLastId: { type: "NBT" };
    RandomTicks: { type: "NBT"; get defaultValue(): Buffer<ArrayBuffer> };
    RealmsStoriesData: { type: "unknown" };
    SchedulerWT: { type: "NBT" };
    Scoreboard: { type: "NBT" };
    StructureTemplate: { rawFileExtension: "mcstructure"; type: "NBT" };
    SubChunkPrefix: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Promise<SubChunkPrefix>;
        serialize(data: SubChunkPrefix): Buffer<ArrayBuffer>;
    };
    TheEnd: { type: "NBT" };
    TickingArea: { type: "NBT" };
    Unknown: { type: "unknown" };
    Version: {
        bytes: 1;
        defaultValue: Buffer<ArrayBuffer>;
        format: "LE";
        signed: false;
        type: "int";
    };
    VillageDwellers: { type: "NBT" };
    VillageInfo: { type: "NBT" };
    VillagePlayers: { type: "NBT" };
    VillagePOI: { type: "NBT" };
    VillageRaid: { type: "NBT" };
    Villages: { type: "NBT" };
} = ...

The content type to format mapping for LevelDB entries.

Type declaration

  • ReadonlyAABBVolumes: { type: "unknown" }

    Bounding boxes for structures, including structure spawns (such as a Pillager Outpost) and volumes where mobs cannot spawn through the normal biome-based means (such as Trial Chambers).

    Figure out how to parse this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyActorDigestVersion: { type: "unknown" }

    Figure out how to parse this.

    Add a description for this.

    Seems to always be one byte with a value of 0x00.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyActorPrefix: { type: "NBT" }

    The data for an entity in the world.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyAutonomousEntities: { type: "NBT" }

    The content type of the AutonomousEntities LevelDB key, which stores a list of autonomous entities.

    Add a better description for this, that includes what an autonomous entity is.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyBiomeData: { type: "NBT" }

    The content type of the BiomeData LevelDB key, which stores data for certain biome types.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyBiomeIdsTable: { type: "NBT" }

    The content type of the BiomeIdsTable LevelDB key, which stores the numeric ID mappings for custom biomes.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyBiomeState: { type: "unknown" }

    Figure out how to parse this.

    Add a description for this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyBlendingBiomeHeight: { type: "unknown" }

    Figure out how to parse this.

    Add a description for this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyBlendingData: { type: "unknown" }

    Figure out how to parse this.

    Add a description for this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyBlockEntity: {
        resultType: "JSONNBT";
        type: "custom";
        parse(
            data: Buffer,
        ): Promise<
            {
                type: "compound";
                value: {
                    blockEntities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                CustomName?: { type: ...; value: ... };
                                id: { type: "string"; value: string };
                                isMovable: { type: "byte"; value: (...) | (...) };
                                x: { type: "int"; value: number };
                                y: { type: "int"; value: number };
                                z: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        >;
        serialize(
            data: {
                type: "compound";
                value: {
                    blockEntities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                CustomName?: { type: "string"; value: string };
                                id: { type: "string"; value: string };
                                isMovable: { type: "byte"; value: 0 | 1 };
                                x: { type: "int"; value: number };
                                y: { type: "int"; value: number };
                                z: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        ): Buffer<ArrayBuffer>;
    }

    A list of block entities associated with a chunk.

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns Promise<
            {
                type: "compound";
                value: {
                    blockEntities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                CustomName?: { type: ...; value: ... };
                                id: { type: "string"; value: string };
                                isMovable: { type: "byte"; value: (...) | (...) };
                                x: { type: "int"; value: number };
                                y: { type: "int"; value: number };
                                z: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        >

        A promise that resolves with the parsed data.

        If an error occurs while parsing the data.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        • data: {
              type: "compound";
              value: {
                  blockEntities: {
                      type: "list";
                      value: {
                          type: "compound";
                          value: {
                              CustomName?: { type: "string"; value: string };
                              id: { type: "string"; value: string };
                              isMovable: { type: "byte"; value: 0 | 1 };
                              x: { type: "int"; value: number };
                              y: { type: "int"; value: number };
                              z: { type: "int"; value: number };
                          }[];
                      };
                  };
              };
          }

          The data to serialize.

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

  • ReadonlyBorderBlocks: { type: "unknown" }

    Figure out how to parse this.

    Add a description for this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyChecksums: { type: "unknown" }

    xxHash64 checksums of SubChunkPrefix, BlockEntity, Entity, and Data2D values.

    Only used in versions < 1.18.0.

    Figure out how to parse this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyChunkLoadedRequest: { type: "NBT" }

    Add a schema for this.

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyConversionData: { type: "unknown" }

    No longer used.

    Figure out how to parse this.

    Add a description for this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyData2D: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Data2D;
        serialize(data: Data2D): Buffer<ArrayBuffer>;
    }

    The Data2D content type contains heightmap and biome data for 16x128x16 chunks of the world.

    Unlike Data3D, this only stores biome data for xz coordinates, so in this format all y coordinates have the same biome.

    Only used in versions < 1.18.0.

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns Data2D

        The parsed data.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        • data: Data2D

          The data to serialize.

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

  • ReadonlyData2DLegacy: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Data2DLegacy;
        serialize(data: Data2DLegacy): Buffer<ArrayBuffer>;
    }

    The Data2D content type contains heightmap and biome data for 16x128x16 chunks of the world.

    Unlike Data3D, this only stores biome data for xz coordinates, so in this format all y coordinates have the same biome.

    Unlike both Data3D and Data2D, this also stores biome color data.

    Only used in versions < 1.0.0.

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns Data2DLegacy

        The parsed data.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

  • ReadonlyData3D: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Data3D;
        serialize(data: Data3D): Buffer<ArrayBuffer>;
    }

    The Data3D content type contains heightmap and biome data for 16x16x16 chunks of the world.

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns Data3D

        The parsed data.

        If the value does not contain at least one subchunk of biome data.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        • data: Data3D

          The data to serialize.

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

  • ReadonlyDigest: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Promise<Digest>;
        serialize(data: Digest): Buffer<ArrayBuffer>;
    }

    A list of entity IDs in a chunk.

    These IDs are the ones used in the entities' LevelDB keys.

    The IDs are 32-bit signed integers.

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns Promise<Digest>

        A promise that resolves with the parsed data.

        If an error occurs while parsing the data.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        • data: Digest

          The data to serialize.

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

        If an error occurs while parsing the data.

  • ReadonlyDynamicProperties: { defaultValue: Buffer<ArrayBufferLike>; type: "NBT" }

    The content type of the DynamicProperties LevelDB key, which stores dynamic properties data for add-ons.

    • ReadonlydefaultValue: Buffer<ArrayBufferLike>

      The default value to use when initializing a new entry.

      Value:

      { "name": "", "type": "compound", "value": {} }
      
    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyEntity: {
        resultType: "JSONNBT";
        type: "custom";
        parse(
            data: Buffer,
        ): Promise<
            {
                type: "compound";
                value: {
                    entities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                Chested: { type: "byte"; value: (...)
                                | (...) };
                                Color: { type: "byte"; value: (...) | (...) };
                                Color2: { type: "byte"; value: (...) | (...) };
                                CustomName?: { type: ...; value: ... };
                                CustomNameVisible?: { type: ...; value: ... };
                                definitions?: { type: ...; value: ... };
                                FallDistance: { type: "float"; value: number };
                                Fire?: { type: ...; value: ... };
                                identifier: { type: "string"; value: string };
                                internalComponents: {
                                    type: "compound";
                                    value: { EntityStorageKeyComponent: ... };
                                };
                                Invulnerable: { type: "byte"; value: (...)
                                | (...) };
                                IsAngry: { type: "byte"; value: (...) | (...) };
                                IsAutonomous: { type: "byte"; value: (...) | (...) };
                                IsBaby: { type: "byte"; value: (...) | (...) };
                                IsEating: { type: "byte"; value: (...) | (...) };
                                IsGliding: { type: "byte"; value: (...) | (...) };
                                IsGlobal: { type: "byte"; value: (...) | (...) };
                                IsIllagerCaptain: { type: "byte"; value: (...) | (...) };
                                IsOrphaned: { type: "byte"; value: (...) | (...) };
                                IsOutOfControl: { type: "byte"; value: (...) | (...) };
                                IsRoaring: { type: "byte"; value: (...) | (...) };
                                IsScared: { type: "byte"; value: (...) | (...) };
                                IsStunned: { type: "byte"; value: (...) | (...) };
                                IsSwimming: { type: "byte"; value: (...) | (...) };
                                IsTamed: { type: "byte"; value: (...) | (...) };
                                IsTrusting: { type: "byte"; value: (...) | (...) };
                                LastDimensionId?: { type: ...; value: ... };
                                LinksTag?: { type: ...; value: ... };
                                LootDropped: { type: "byte"; value: (...) | (...) };
                                MarkVariant: { type: "int"; value: number };
                                Motion?: { type: ...; value: ... };
                                OnGround: { type: "byte"; value: (...) | (...) };
                                OwnerNew: { type: "long"; value: [high: ..., low: ...] };
                                Persistent?: { type: ...; value: ... };
                                PortalCooldown: { type: "int"; value: number };
                                Pos: { type: "list"; value: { type: ...; value: ... } };
                                Rotation: { type: "list"; value: { type: ...; value: ... } };
                                Saddled: { type: "byte"; value: (...) | (...) };
                                Sheared: { type: "byte"; value: (...) | (...) };
                                ShowBottom: { type: "byte"; value: (...) | (...) };
                                Sitting: { type: "byte"; value: (...) | (...) };
                                SkinID: { type: "int"; value: number };
                                Strength: { type: "int"; value: number };
                                StrengthMax: { type: "int"; value: number };
                                Tags?: { type: ...; value: ... };
                                UniqueID: { type: "long"; value: [high: ..., low: ...] };
                                Variant: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        >;
        serialize(
            data: {
                type: "compound";
                value: {
                    entities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                Chested: { type: "byte"; value: 0 | 1 };
                                Color: { type: "byte"; value: 0 | 1 };
                                Color2: { type: "byte"; value: 0 | 1 };
                                CustomName?: { type: "string"; value: string };
                                CustomNameVisible?: { type: "byte"; value: (...) | (...) };
                                definitions?: { type: "list"; value: { type: ...; value: ... } };
                                FallDistance: { type: "float"; value: number };
                                Fire?: { type: "short"; value: number };
                                identifier: { type: "string"; value: string };
                                internalComponents: {
                                    type: "compound";
                                    value: { EntityStorageKeyComponent: { type: ...; value: ... } };
                                };
                                Invulnerable: { type: "byte"; value: 0
                                | 1 };
                                IsAngry: { type: "byte"; value: 0 | 1 };
                                IsAutonomous: { type: "byte"; value: 0 | 1 };
                                IsBaby: { type: "byte"; value: 0 | 1 };
                                IsEating: { type: "byte"; value: 0 | 1 };
                                IsGliding: { type: "byte"; value: 0 | 1 };
                                IsGlobal: { type: "byte"; value: 0 | 1 };
                                IsIllagerCaptain: { type: "byte"; value: 0 | 1 };
                                IsOrphaned: { type: "byte"; value: 0 | 1 };
                                IsOutOfControl: { type: "byte"; value: 0 | 1 };
                                IsRoaring: { type: "byte"; value: 0 | 1 };
                                IsScared: { type: "byte"; value: 0 | 1 };
                                IsStunned: { type: "byte"; value: 0 | 1 };
                                IsSwimming: { type: "byte"; value: 0 | 1 };
                                IsTamed: { type: "byte"; value: 0 | 1 };
                                IsTrusting: { type: "byte"; value: 0 | 1 };
                                LastDimensionId?: { type: "int"; value: number };
                                LinksTag?: {
                                    type: "compound";
                                    value: { entityID: ...; LinkID: ... };
                                };
                                LootDropped: { type: "byte"; value: 0
                                | 1 };
                                MarkVariant: { type: "int"; value: number };
                                Motion?: { type: "list"; value: { type: ...; value: ... } };
                                OnGround: { type: "byte"; value: 0 | 1 };
                                OwnerNew: { type: "long"; value: [high: number, low: number] };
                                Persistent?: { type: "byte"; value: (...) | (...) };
                                PortalCooldown: { type: "int"; value: number };
                                Pos: {
                                    type: "list";
                                    value: { type: "float"; value: [(...), (...), (...)] };
                                };
                                Rotation: {
                                    type: "list";
                                    value: { type: "float"; value: [(...), (...)] };
                                };
                                Saddled: { type: "byte"; value: 0
                                | 1 };
                                Sheared: { type: "byte"; value: 0 | 1 };
                                ShowBottom: { type: "byte"; value: 0 | 1 };
                                Sitting: { type: "byte"; value: 0 | 1 };
                                SkinID: { type: "int"; value: number };
                                Strength: { type: "int"; value: number };
                                StrengthMax: { type: "int"; value: number };
                                Tags?: { type: "list"; value: { type: ...; value: ... } };
                                UniqueID: { type: "long"; value: [high: number, low: number] };
                                Variant: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        ): Buffer<ArrayBuffer>;
    }

    A list of entities associated with a chunk.

    No longer used.

    Figure out what version this was deprecated in (it exists in v1.16.40 but not in 1.21.51).

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns Promise<
            {
                type: "compound";
                value: {
                    entities: {
                        type: "list";
                        value: {
                            type: "compound";
                            value: {
                                Chested: { type: "byte"; value: (...)
                                | (...) };
                                Color: { type: "byte"; value: (...) | (...) };
                                Color2: { type: "byte"; value: (...) | (...) };
                                CustomName?: { type: ...; value: ... };
                                CustomNameVisible?: { type: ...; value: ... };
                                definitions?: { type: ...; value: ... };
                                FallDistance: { type: "float"; value: number };
                                Fire?: { type: ...; value: ... };
                                identifier: { type: "string"; value: string };
                                internalComponents: {
                                    type: "compound";
                                    value: { EntityStorageKeyComponent: ... };
                                };
                                Invulnerable: { type: "byte"; value: (...)
                                | (...) };
                                IsAngry: { type: "byte"; value: (...) | (...) };
                                IsAutonomous: { type: "byte"; value: (...) | (...) };
                                IsBaby: { type: "byte"; value: (...) | (...) };
                                IsEating: { type: "byte"; value: (...) | (...) };
                                IsGliding: { type: "byte"; value: (...) | (...) };
                                IsGlobal: { type: "byte"; value: (...) | (...) };
                                IsIllagerCaptain: { type: "byte"; value: (...) | (...) };
                                IsOrphaned: { type: "byte"; value: (...) | (...) };
                                IsOutOfControl: { type: "byte"; value: (...) | (...) };
                                IsRoaring: { type: "byte"; value: (...) | (...) };
                                IsScared: { type: "byte"; value: (...) | (...) };
                                IsStunned: { type: "byte"; value: (...) | (...) };
                                IsSwimming: { type: "byte"; value: (...) | (...) };
                                IsTamed: { type: "byte"; value: (...) | (...) };
                                IsTrusting: { type: "byte"; value: (...) | (...) };
                                LastDimensionId?: { type: ...; value: ... };
                                LinksTag?: { type: ...; value: ... };
                                LootDropped: { type: "byte"; value: (...) | (...) };
                                MarkVariant: { type: "int"; value: number };
                                Motion?: { type: ...; value: ... };
                                OnGround: { type: "byte"; value: (...) | (...) };
                                OwnerNew: { type: "long"; value: [high: ..., low: ...] };
                                Persistent?: { type: ...; value: ... };
                                PortalCooldown: { type: "int"; value: number };
                                Pos: { type: "list"; value: { type: ...; value: ... } };
                                Rotation: { type: "list"; value: { type: ...; value: ... } };
                                Saddled: { type: "byte"; value: (...) | (...) };
                                Sheared: { type: "byte"; value: (...) | (...) };
                                ShowBottom: { type: "byte"; value: (...) | (...) };
                                Sitting: { type: "byte"; value: (...) | (...) };
                                SkinID: { type: "int"; value: number };
                                Strength: { type: "int"; value: number };
                                StrengthMax: { type: "int"; value: number };
                                Tags?: { type: ...; value: ... };
                                UniqueID: { type: "long"; value: [high: ..., low: ...] };
                                Variant: { type: "int"; value: number };
                            }[];
                        };
                    };
                };
            },
        >

        A promise that resolves with the parsed data.

        If an error occurs while parsing the data.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        • data: {
              type: "compound";
              value: {
                  entities: {
                      type: "list";
                      value: {
                          type: "compound";
                          value: {
                              Chested: { type: "byte"; value: 0 | 1 };
                              Color: { type: "byte"; value: 0 | 1 };
                              Color2: { type: "byte"; value: 0 | 1 };
                              CustomName?: { type: "string"; value: string };
                              CustomNameVisible?: { type: "byte"; value: (...) | (...) };
                              definitions?: { type: "list"; value: { type: ...; value: ... } };
                              FallDistance: { type: "float"; value: number };
                              Fire?: { type: "short"; value: number };
                              identifier: { type: "string"; value: string };
                              internalComponents: {
                                  type: "compound";
                                  value: { EntityStorageKeyComponent: { type: ...; value: ... } };
                              };
                              Invulnerable: { type: "byte"; value: 0
                              | 1 };
                              IsAngry: { type: "byte"; value: 0 | 1 };
                              IsAutonomous: { type: "byte"; value: 0 | 1 };
                              IsBaby: { type: "byte"; value: 0 | 1 };
                              IsEating: { type: "byte"; value: 0 | 1 };
                              IsGliding: { type: "byte"; value: 0 | 1 };
                              IsGlobal: { type: "byte"; value: 0 | 1 };
                              IsIllagerCaptain: { type: "byte"; value: 0 | 1 };
                              IsOrphaned: { type: "byte"; value: 0 | 1 };
                              IsOutOfControl: { type: "byte"; value: 0 | 1 };
                              IsRoaring: { type: "byte"; value: 0 | 1 };
                              IsScared: { type: "byte"; value: 0 | 1 };
                              IsStunned: { type: "byte"; value: 0 | 1 };
                              IsSwimming: { type: "byte"; value: 0 | 1 };
                              IsTamed: { type: "byte"; value: 0 | 1 };
                              IsTrusting: { type: "byte"; value: 0 | 1 };
                              LastDimensionId?: { type: "int"; value: number };
                              LinksTag?: { type: "compound"; value: { entityID: ...; LinkID: ... } };
                              LootDropped: { type: "byte"; value: 0 | 1 };
                              MarkVariant: { type: "int"; value: number };
                              Motion?: { type: "list"; value: { type: ...; value: ... } };
                              OnGround: { type: "byte"; value: 0 | 1 };
                              OwnerNew: { type: "long"; value: [high: number, low: number] };
                              Persistent?: { type: "byte"; value: (...) | (...) };
                              PortalCooldown: { type: "int"; value: number };
                              Pos: {
                                  type: "list";
                                  value: { type: "float"; value: [(...), (...), (...)] };
                              };
                              Rotation: {
                                  type: "list";
                                  value: { type: "float"; value: [(...), (...)] };
                              };
                              Saddled: { type: "byte"; value: 0
                              | 1 };
                              Sheared: { type: "byte"; value: 0 | 1 };
                              ShowBottom: { type: "byte"; value: 0 | 1 };
                              Sitting: { type: "byte"; value: 0 | 1 };
                              SkinID: { type: "int"; value: number };
                              Strength: { type: "int"; value: number };
                              StrengthMax: { type: "int"; value: number };
                              Tags?: { type: "list"; value: { type: ...; value: ... } };
                              UniqueID: { type: "long"; value: [high: number, low: number] };
                              Variant: { type: "int"; value: number };
                          }[];
                      };
                  };
              };
          }

          The data to serialize.

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

  • ReadonlyFinalizedState: {
        bytes: 4;
        defaultValue: Buffer<ArrayBuffer>;
        format: "LE";
        signed: false;
        type: "int";
    }

    A value that indicates the finalization state of a chunk's data.

    Possible values:

    • 0: Unknown
    • 1: Unknown
    • 2: Unknown

    Figure out the meanings of the values.

    • Readonlybytes: 4

      How many bytes this integer is.

    • ReadonlydefaultValue: Buffer<ArrayBuffer>

      The default value to use when initializing a new entry.

      Bytes:

      [0,0,0,0]
      
    • Readonlyformat: "LE"

      The endianness of the data.

    • Readonlysigned: false

      The signedness of the data.

    • Readonlytype: "int"

      The format type of the data.

  • ReadonlyFlatWorldLayers: { type: "ASCII" }

    Only used in versions < 1.5.0.

    Add a description for this.

    • Readonlytype: "ASCII"

      The format type of the data.

  • ReadonlyForcedWorldCorruption: { defaultValue: Buffer<ArrayBuffer>; type: "UTF-8" }

    The content type used for LevelDB keys that are used for the forced world corruption feature of the developer version of Bedrock Edition.

    These keys are normally only found when the /corruptworld command is used.

    Removing these keys fixes the forced world corruption.

    • ReadonlydefaultValue: Buffer<ArrayBuffer>

      The default value to use when initializing a new entry.

      Value:

      Buffer.from("true", "utf-8")
      
    • Readonlytype: "UTF-8"

      The format type of the data.

  • ReadonlyGeneratedPreCavesAndCliffsBlending: { type: "unknown" }

    Unused.

    Figure out how to parse this.

    Add a description for this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyGenerationSeed: { bytes: 4; format: "LE"; signed: true; type: "int" }

    The low segment of the 4 byte halves of the seed value used to generate the chunk.

    The low segment can also be found by reading the first 4 bytes of the seed as a little-endian signed integer when it is encoded as a little-endian 64-bit signed integer.

    Check if this still exists (I have only seen it in a world from a 1.19.60.22 dev build).

    • Readonlybytes: 4

      How many bytes this integer is.

    • Readonlyformat: "LE"

      The endianness of the data.

    • Readonlysigned: true

      The signedness of the data.

    • Readonlytype: "int"

      The format type of the data.

  • ReadonlyHardcodedSpawners: { type: "unknown" }

    Bounding boxes for structure spawns, such as a Nether Fortress or Pillager Outpost.

    Replaced with AABBVolumes in either 1.21.120 or one of the 1.21.120 previews.

    Figure out how to parse this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyLegacyBlockExtraData: { type: "unknown" }

    Only used in versions < 1.2.3.

    Figure out how to parse this.

    Add a description for this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyLegacyNether: { type: "NBT" }

    The structure data of the Nether dimension.

    This content type coexists with the Nether content type in some versions (such as v1.0.0.16 and v1.1.5.0).

    It is unknown when this was removed, it was found in a Windows 10 Edition Beta v0.15.0 world.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyLegacyOverworld: { type: "NBT" }

    The structure data of the Overworld dimension.

    This content type coexists with the Overworld content type in some versions (such as v1.0.0.16 and v1.1.5.0).

    It is unknown when this was removed, it was found in a Windows 10 Edition Beta v0.15.0 world.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyLegacyTerrain: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): LegacyTerrain;
        serialize(data: LegacyTerrain): Buffer<ArrayBuffer>;
    }

    The LegacyTerrain content type contains block, sky light, block light, dirty columns, and grass color data for 16x16x128 chunks of the world.

    Only used in versions < 1.0.0.

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns LegacyTerrain

        The parsed data.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

  • ReadonlyLegacyTheEnd: { type: "NBT" }

    The structure data of the End dimension.

    This content type coexists with the TheEnd content type in some versions (such as v1.0.0.16 and v1.1.5.0).

    It is unknown when this was removed, it was found in a Windows 10 Edition Beta v0.15.0 world.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyLegacyVersion: { bytes: 1; format: "LE"; signed: false; type: "int" }

    Only used in versions < 1.16.100. Later versions use entryContentTypeToFormatMap.Version

    Add a description for this.

    • Readonlybytes: 1

      How many bytes this integer is.

    • Readonlyformat: "LE"

      The endianness of the data.

    • Readonlysigned: false

      The signedness of the data.

    • Readonlytype: "int"

      The format type of the data.

  • ReadonlyLevelChunkMetaDataDictionary: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Promise<LevelChunkMetaDataDictionary>;
        serialize(data: LevelChunkMetaDataDictionary): Buffer<ArrayBuffer>;
    }

    Stores the NBT metadata of all chunks. Maps the xxHash64 hash of NBT data to that NBT data, so that each chunk need only store 8 bytes instead of the entire NBT; most chunks have the same metadata.

    The first 4 bytes represent the number of entries as a 32-bit little-endian integer (it is unknown if it is signed or not).

    The first 4 bytes are followed by multiple chunks of data formatted as the 8 byte hash of the NBT data plus the NBT compound.

    {BYTEx4}{BYTEx8}{NBTCompound}{BYTEx8}{NBTCompound}{BYTEx8}{NBTCompound}{BYTEx8}{NBTCompound}
    
  • ReadonlyLevelDat: {
        rawFileExtension: "dat";
        resultType: "JSONNBT";
        type: "custom";
        get defaultValue(): Buffer<ArrayBuffer>;
        parse(data: Buffer): Promise<LevelDat>;
        serialize(data: LevelDat): Buffer<ArrayBuffer>;
    }

    The content type of the level.dat and level.dat_old files.

    This stores all the world settings.

    • ReadonlyrawFileExtension: "dat"

      The raw file extension of the data.

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • get defaultValue(): Buffer<ArrayBuffer>

      The default value to use when initializing a new entry.

      Add a link to the object with the default level.dat value once it is made.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns Promise<LevelDat>

        A promise that resolves with the parsed data.

        If an error occurs while parsing the data.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

        If data has a name property at the top level that is not of type string.

  • ReadonlyLevelSpawnWasFixed: { defaultValue: Buffer<ArrayBuffer>; type: "UTF-8" }

    It is unknown when this was removed, it was found in a Windows 10 Edition Beta v0.15.0 world.

    Add a description for this.

    • ReadonlydefaultValue: Buffer<ArrayBuffer>

      The default value to use when initializing a new entry.

      Value:

      Buffer.from("True", "utf-8")
      
    • Readonlytype: "UTF-8"

      The format type of the data.

  • ReadonlyMap: { type: "NBT" }

    The data for a map.

    This includes things such as location, image data, and decorations.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyMetaDataHash: { type: "unknown" }

    A hash which is the key in the LevelChunkMetaDataDictionary record for the NBT metadata of this chunk. Seems like it might default to something dependent on the current game or chunk version.

    Figure out how to parse this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyMobEvents: { type: "NBT" }

    The content type of the mobevents LevelDB key, which stores what mob events are enabled or disabled.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyMVillages: { type: "NBT" }

    It is unknown when this was removed, it was found in a Windows 10 Edition Beta v0.15.0 world.

    Add a schema for this.

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyNether: { type: "NBT" }

    The data of the Nether dimension.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyOverworld: { type: "NBT" }

    The data of the Overworld dimension.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyPendingTicks: { type: "NBT"; get defaultValue(): Buffer<ArrayBuffer> }

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

    • get defaultValue(): Buffer<ArrayBuffer>

      The default value to use when initializing a new entry.

      Add a link to the object with the default value once it is made.

  • ReadonlyPlayer: { type: "NBT" }

    A player's data.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyPlayerClient: { type: "NBT" }

    A player's client data.

    This includes the key for the player's server data, the player's Microsoft account ID, and the player's self-signed ID.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyPortals: { type: "NBT" }

    The content type of the portals LevelDB key, which stores portal data.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyPositionTrackingDB: { type: "NBT" }

    Stores the location of a lodestone compass.

    Add a schema for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyPositionTrackingLastId: { type: "NBT" }

    The last ID used for a lodestone compass.

    Add a schema for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyRandomTicks: { type: "NBT"; get defaultValue(): Buffer<ArrayBuffer> }

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

    • get defaultValue(): Buffer<ArrayBuffer>

      The default value to use when initializing a new entry.

      Add a link to the object with the default value once it is made.

  • ReadonlyRealmsStoriesData: { type: "unknown" }

    Figure out how to parse this. (It seems that each one just has a value of 1 (0x31). It also seems that the data is actually based on the key, which has an id that can be used with the realms API to get the corresponding data.)

    Add a description for this.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlySchedulerWT: { type: "NBT" }

    The content type of the schedulerWT LevelDB key, which stores wandering trader data.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyScoreboard: { type: "NBT" }

    The scoreboard data (ex. from the /scoreboard command).

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyStructureTemplate: { rawFileExtension: "mcstructure"; type: "NBT" }

    Date for a structure (the kind saved by a structure block or the /structure command).

    • ReadonlyrawFileExtension: "mcstructure"

      The raw file extension of the data.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlySubChunkPrefix: {
        resultType: "JSONNBT";
        type: "custom";
        parse(data: Buffer): Promise<SubChunkPrefix>;
        serialize(data: SubChunkPrefix): Buffer<ArrayBuffer>;
    }

    The SubChunkPrefix content type contains block data for 16x16x16 subchunks of the world.

    In older versions, it may also contain sky and block light data.

    • ReadonlyresultType: "JSONNBT"

      The format type that results from the parse method.

    • Readonlytype: "custom"

      The format type of the data.

    • parse:function
      • The function to parse the data.

        The data parameter should be the buffer read directly from the file or LevelDB entry.

        Parameters

        • data: Buffer

          The data to parse, as a buffer.

        Returns Promise<SubChunkPrefix>

        A promise that resolves with the parsed data.

        If the SubChunkPrefix version is unknown.

        If the storage version is unknown.

    • serialize:function
      • The function to serialize the data.

        This result of this can be written directly to the file or LevelDB entry.

        Parameters

        Returns Buffer<ArrayBuffer>

        The serialized data, as a buffer.

  • ReadonlyTheEnd: { type: "NBT" }

    The data of the End dimension.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyTickingArea: { type: "NBT" }

    A ticking area, either from an entity or the /tickingarea command.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyUnknown: { type: "unknown" }

    All data that has a key that is not recognized.

    • Readonlytype: "unknown"

      The format type of the data.

  • ReadonlyVersion: {
        bytes: 1;
        defaultValue: Buffer<ArrayBuffer>;
        format: "LE";
        signed: false;
        type: "int";
    }

    The version of a chunk.

    The current chunk version as of v1.21.111 is 41 (0x29).

    Deleting think key causes the game to completely regenerate the corresponding chunk.

    • Readonlybytes: 1

      How many bytes this integer is.

    • ReadonlydefaultValue: Buffer<ArrayBuffer>

      The default value to use when initializing a new entry.

      Bytes:

      [41]
      
    • Readonlyformat: "LE"

      The endianness of the data.

    • Readonlysigned: false

      The signedness of the data.

    • Readonlytype: "int"

      The format type of the data.

  • ReadonlyVillageDwellers: { type: "NBT" }

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyVillageInfo: { type: "NBT" }

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyVillagePlayers: { type: "NBT" }

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyVillagePOI: { type: "NBT" }

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyVillageRaid: { type: "NBT" }

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.

  • ReadonlyVillages: { type: "NBT" }

    It is unknown when this was removed.

    Add a schema for this.

    Add a description for this.

    • Readonlytype: "NBT"

      The format type of the data.