summaryrefslogtreecommitdiff
path: root/doc/world_format.txt
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2019-08-30 19:40:32 +0200
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-08-30 19:40:32 +0200
commitf3fd85aafb3f9c0d38571cb6f6addad0bc7fea8f (patch)
tree8c4ca7d8cd8f43124bea318dfcb1637963ceb4c3 /doc/world_format.txt
parent99ca72e9dfb889c68389fb93cff98715c9821950 (diff)
downloadminetest-f3fd85aafb3f9c0d38571cb6f6addad0bc7fea8f.tar.gz
minetest-f3fd85aafb3f9c0d38571cb6f6addad0bc7fea8f.tar.bz2
minetest-f3fd85aafb3f9c0d38571cb6f6addad0bc7fea8f.zip
Document luaentity pitch and roll in world format (#8864)
Diffstat (limited to 'doc/world_format.txt')
-rw-r--r--doc/world_format.txt25
1 files changed, 14 insertions, 11 deletions
diff --git a/doc/world_format.txt b/doc/world_format.txt
index c5d1d1be1..ad49738d6 100644
--- a/doc/world_format.txt
+++ b/doc/world_format.txt
@@ -510,17 +510,20 @@ Object types:
u8[len] itemstring
7: LuaEntity:
- u8 version
- version 1:
- u16 len
- u8[len] entity name
- u32 len
- u8[len] static data
- s16 hp
- s32 velocity.x * 10000
- s32 velocity.y * 10000
- s32 velocity.z * 10000
- s32 yaw * 1000
+ u8 compatibility_byte (always 1)
+ u16 len
+ u8[len] entity name
+ u32 len
+ u8[len] static data
+ s16 hp
+ s32 velocity.x * 10000
+ s32 velocity.y * 10000
+ s32 velocity.z * 10000
+ s32 yaw * 1000
+ if PROTOCOL_VERSION >= 37:
+ u8 version2 (=1)
+ s32 pitch * 1000
+ s32 roll * 1000
Itemstring format
------------------