diff options
author | DS <vorunbekannt75@web.de> | 2019-08-31 14:47:13 +0200 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-08-31 14:47:12 +0200 |
commit | 049256573b6fc379ab4cd1f867f33504de6abeee (patch) | |
tree | 2151c81055500129e9d153ce447eec19d5b3ca72 /doc | |
parent | f3fd85aafb3f9c0d38571cb6f6addad0bc7fea8f (diff) | |
download | minetest-049256573b6fc379ab4cd1f867f33504de6abeee.tar.gz minetest-049256573b6fc379ab4cd1f867f33504de6abeee.tar.bz2 minetest-049256573b6fc379ab4cd1f867f33504de6abeee.zip |
Document world format version 28 (private nodemeta) (#8857)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/world_format.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/world_format.txt b/doc/world_format.txt index ad49738d6..7cbf13af6 100644 --- a/doc/world_format.txt +++ b/doc/world_format.txt @@ -365,7 +365,9 @@ if map format version <= 22: u16 content_size u8[content_size] content of metadata. Format depends on type_id, see below. if map format version >= 23: - u8 version (=1) -- Note the type is u8, while for map format version <= 22 it's u16 + u8 version -- Note: type was u16 for map format version <= 22 + -- = 1 for map format version < 28 + -- = 2 since map format version 28 u16 count of metadata foreach count: u16 position (p.Z*MAP_BLOCKSIZE*MAP_BLOCKSIZE + p.Y*MAP_BLOCKSIZE + p.X) @@ -375,6 +377,7 @@ if map format version >= 23: u8[key_len] key u32 val_len u8[val_len] value + u8 is_private -- only for version >= 2. 0 = not private, 1 = private serialized inventory - Node timers |