mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Document luaentity pitch and roll in world format (#8864)
This commit is contained in:
parent
99ca72e9df
commit
f3fd85aafb
1 changed files with 14 additions and 11 deletions
|
@ -510,8 +510,7 @@ Object types:
|
||||||
u8[len] itemstring
|
u8[len] itemstring
|
||||||
|
|
||||||
7: LuaEntity:
|
7: LuaEntity:
|
||||||
u8 version
|
u8 compatibility_byte (always 1)
|
||||||
version 1:
|
|
||||||
u16 len
|
u16 len
|
||||||
u8[len] entity name
|
u8[len] entity name
|
||||||
u32 len
|
u32 len
|
||||||
|
@ -521,6 +520,10 @@ Object types:
|
||||||
s32 velocity.y * 10000
|
s32 velocity.y * 10000
|
||||||
s32 velocity.z * 10000
|
s32 velocity.z * 10000
|
||||||
s32 yaw * 1000
|
s32 yaw * 1000
|
||||||
|
if PROTOCOL_VERSION >= 37:
|
||||||
|
u8 version2 (=1)
|
||||||
|
s32 pitch * 1000
|
||||||
|
s32 roll * 1000
|
||||||
|
|
||||||
Itemstring format
|
Itemstring format
|
||||||
------------------
|
------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue