Skip to content

Commit

Permalink
bedrock: Fix chunk request packet field in protocol (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
irkmandeer committed Jul 1, 2023
1 parent 954d92a commit 57e5888
Show file tree
Hide file tree
Showing 28 changed files with 252 additions and 252 deletions.
18 changes: 9 additions & 9 deletions data/bedrock/1.18.11/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3301,9 +3301,9 @@ packet_photo_info_request:
photo_id: zigzag64

SubChunkEntryWithoutCaching: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8
result: u8 =>
0: undefined
1: success
Expand All @@ -3323,9 +3323,9 @@ SubChunkEntryWithoutCaching: []lu32
if has_data: '["buffer", { "count": 256 }]'

SubChunkEntryWithCaching: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8
result: u8 =>
0: undefined
1: success
Expand Down Expand Up @@ -3364,9 +3364,9 @@ packet_subchunk_request:
# Origin point
origin: vec3i
requests: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8

packet_client_start_item_cooldown:
!id: 0xb0
Expand Down
18 changes: 9 additions & 9 deletions data/bedrock/1.18.11/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -9283,15 +9283,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
},
{
"name": "result",
Expand Down Expand Up @@ -9361,15 +9361,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
},
{
"name": "result",
Expand Down Expand Up @@ -9496,15 +9496,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
}
]
]
Expand Down
18 changes: 9 additions & 9 deletions data/bedrock/1.18.30/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3319,9 +3319,9 @@ packet_photo_info_request:
photo_id: zigzag64

SubChunkEntryWithoutCaching: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8
result: u8 =>
0: undefined
1: success
Expand All @@ -3341,9 +3341,9 @@ SubChunkEntryWithoutCaching: []lu32
if has_data: '["buffer", { "count": 256 }]'

SubChunkEntryWithCaching: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8
result: u8 =>
0: undefined
1: success
Expand Down Expand Up @@ -3384,9 +3384,9 @@ packet_subchunk_request:
# Origin point
origin: vec3i
requests: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8

# ClientStartItemCooldown is sent by the client to the server to initiate a cooldown on an item. The purpose of this
# packet isn't entirely clear.
Expand Down
18 changes: 9 additions & 9 deletions data/bedrock/1.18.30/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -9392,15 +9392,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
},
{
"name": "result",
Expand Down Expand Up @@ -9470,15 +9470,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
},
{
"name": "result",
Expand Down Expand Up @@ -9605,15 +9605,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
}
]
]
Expand Down
18 changes: 9 additions & 9 deletions data/bedrock/1.19.1/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3338,9 +3338,9 @@ packet_photo_info_request:
photo_id: zigzag64

SubChunkEntryWithoutCaching: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8
result: u8 =>
0: undefined
1: success
Expand All @@ -3360,9 +3360,9 @@ SubChunkEntryWithoutCaching: []lu32
if has_data: '["buffer", { "count": 256 }]'

SubChunkEntryWithCaching: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8
result: u8 =>
0: undefined
1: success
Expand Down Expand Up @@ -3403,9 +3403,9 @@ packet_subchunk_request:
# Origin point
origin: vec3i
requests: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8

# ClientStartItemCooldown is sent by the client to the server to initiate a cooldown on an item. The purpose of this
# packet isn't entirely clear.
Expand Down
18 changes: 9 additions & 9 deletions data/bedrock/1.19.1/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -9457,15 +9457,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
},
{
"name": "result",
Expand Down Expand Up @@ -9535,15 +9535,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
},
{
"name": "result",
Expand Down Expand Up @@ -9670,15 +9670,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
}
]
]
Expand Down
18 changes: 9 additions & 9 deletions data/bedrock/1.19.10/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3389,9 +3389,9 @@ packet_photo_info_request:
photo_id: zigzag64

SubChunkEntryWithoutCaching: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8
result: u8 =>
0: undefined
1: success
Expand All @@ -3411,9 +3411,9 @@ SubChunkEntryWithoutCaching: []lu32
if has_data: '["buffer", { "count": 256 }]'

SubChunkEntryWithCaching: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8
result: u8 =>
0: undefined
1: success
Expand Down Expand Up @@ -3454,9 +3454,9 @@ packet_subchunk_request:
# Origin point
origin: vec3i
requests: []lu32
dx: u8
dy: u8
dz: u8
dx: i8
dy: i8
dz: i8

# ClientStartItemCooldown is sent by the client to the server to initiate a cooldown on an item. The purpose of this
# packet isn't entirely clear.
Expand Down
18 changes: 9 additions & 9 deletions data/bedrock/1.19.10/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -9525,15 +9525,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
},
{
"name": "result",
Expand Down Expand Up @@ -9603,15 +9603,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
},
{
"name": "result",
Expand Down Expand Up @@ -9738,15 +9738,15 @@
[
{
"name": "dx",
"type": "u8"
"type": "i8"
},
{
"name": "dy",
"type": "u8"
"type": "i8"
},
{
"name": "dz",
"type": "u8"
"type": "i8"
}
]
]
Expand Down
Loading

0 comments on commit 57e5888

Please sign in to comment.