We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99ca72e commit f3fd85aCopy full SHA for f3fd85a
doc/world_format.txt
@@ -510,17 +510,20 @@ Object types:
510
u8[len] itemstring
511
512
7: LuaEntity:
513
- u8 version
514
- version 1:
515
- u16 len
516
- u8[len] entity name
517
- u32 len
518
- u8[len] static data
519
- s16 hp
520
- s32 velocity.x * 10000
521
- s32 velocity.y * 10000
522
- s32 velocity.z * 10000
523
- 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:
524
+ u8 version2 (=1)
525
+ s32 pitch * 1000
526
+ s32 roll * 1000
527
528
Itemstring format
529
------------------
0 commit comments