Skip to content

Commit 803fce1

Browse files
bedrock protocol: use ZigZag64 instead of VarInt64 in packet_player_location (#1081)
* fix(protocol): use ZigZag64 instead of VarInt64 for entity_unique_id at packet_player_location * fix(protocol): use ZigZag64 for entity_unique_id in packet_player_location across all versions * fix(protocol): include missing file for entity_unique_id fix in packet_player_location * apply to other versions --------- Co-authored-by: extremeheat <extreme@protonmail.ch>
1 parent c7048f2 commit 803fce1

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

data/bedrock/1.21.100/proto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4533,7 +4533,7 @@ packet_player_location:
45334533
type: li32 =>
45344534
- coordinates
45354535
- type_hide
4536-
entity_unique_id: varint64
4536+
entity_unique_id: zigzag64
45374537
position: type ?
45384538
if coordinates: vec3f
45394539

data/bedrock/1.21.100/protocol.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14171,7 +14171,7 @@
1417114171
},
1417214172
{
1417314173
"name": "entity_unique_id",
14174-
"type": "varint64"
14174+
"type": "zigzag64"
1417514175
},
1417614176
{
1417714177
"name": "position",

data/bedrock/1.21.111/proto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4524,7 +4524,7 @@ packet_player_location:
45244524
type: li32 =>
45254525
- coordinates
45264526
- type_hide
4527-
entity_unique_id: varint64
4527+
entity_unique_id: zigzag64
45284528
position: type ?
45294529
if coordinates: vec3f
45304530

data/bedrock/1.21.111/protocol.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14167,7 +14167,7 @@
1416714167
},
1416814168
{
1416914169
"name": "entity_unique_id",
14170-
"type": "varint64"
14170+
"type": "zigzag64"
1417114171
},
1417214172
{
1417314173
"name": "position",

data/bedrock/1.21.120/proto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4529,7 +4529,7 @@ packet_player_location:
45294529
type: li32 =>
45304530
- coordinates
45314531
- type_hide
4532-
entity_unique_id: varint64
4532+
entity_unique_id: zigzag64
45334533
position: type ?
45344534
if coordinates: vec3f
45354535

data/bedrock/1.21.120/protocol.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14331,7 +14331,7 @@
1433114331
},
1433214332
{
1433314333
"name": "entity_unique_id",
14334-
"type": "varint64"
14334+
"type": "zigzag64"
1433514335
},
1433614336
{
1433714337
"name": "position",

data/bedrock/1.21.124/proto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4529,7 +4529,7 @@ packet_player_location:
45294529
type: li32 =>
45304530
- coordinates
45314531
- type_hide
4532-
entity_unique_id: varint64
4532+
entity_unique_id: zigzag64
45334533
position: type ?
45344534
if coordinates: vec3f
45354535

data/bedrock/1.21.124/protocol.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14331,7 +14331,7 @@
1433114331
},
1433214332
{
1433314333
"name": "entity_unique_id",
14334-
"type": "varint64"
14334+
"type": "zigzag64"
1433514335
},
1433614336
{
1433714337
"name": "position",

data/bedrock/1.21.130/protocol.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14390,7 +14390,7 @@
1439014390
},
1439114391
{
1439214392
"name": "entity_unique_id",
14393-
"type": "varint64"
14393+
"type": "zigzag64"
1439414394
},
1439514395
{
1439614396
"name": "position",

data/bedrock/1.21.80/proto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4562,7 +4562,7 @@ packet_player_location:
45624562
type: li32 =>
45634563
- coordinates
45644564
- type_hide
4565-
entity_unique_id: varint64
4565+
entity_unique_id: zigzag64
45664566
position: type ?
45674567
if coordinates: vec3f
45684568

0 commit comments

Comments
 (0)