minecraft-data 3.39.0 → 3.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data.js +43 -2
- package/doc/history.md +8 -0
- package/index.d.ts +12 -0
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.16.201/attributes.json +107 -0
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +4 -4
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +63 -55
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +69 -61
- package/minecraft-data/data/bedrock/1.16.210/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +70 -62
- package/minecraft-data/data/bedrock/1.16.220/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +70 -62
- package/minecraft-data/data/bedrock/1.17.0/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +70 -62
- package/minecraft-data/data/bedrock/1.17.10/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +70 -62
- package/minecraft-data/data/bedrock/1.17.30/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.17.40/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +70 -62
- package/minecraft-data/data/bedrock/1.17.40/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +70 -62
- package/minecraft-data/data/bedrock/1.18.0/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +70 -62
- package/minecraft-data/data/bedrock/1.18.11/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +72 -64
- package/minecraft-data/data/bedrock/1.18.30/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +76 -68
- package/minecraft-data/data/bedrock/1.19.1/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +76 -68
- package/minecraft-data/data/bedrock/1.19.10/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +76 -68
- package/minecraft-data/data/bedrock/1.19.20/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +76 -68
- package/minecraft-data/data/bedrock/1.19.21/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +76 -68
- package/minecraft-data/data/bedrock/1.19.30/types.yml +2 -2
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +80 -69
- package/minecraft-data/data/bedrock/1.19.40/types.yml +5 -2
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +80 -69
- package/minecraft-data/data/bedrock/1.19.50/types.yml +5 -2
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +80 -69
- package/minecraft-data/data/bedrock/1.19.60/types.yml +5 -2
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +80 -69
- package/minecraft-data/data/bedrock/1.19.62/types.yml +5 -2
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +5 -5
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +80 -69
- package/minecraft-data/data/bedrock/1.19.70/types.yml +5 -2
- package/minecraft-data/data/bedrock/1.19.80/proto.yml +6 -6
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +80 -69
- package/minecraft-data/data/bedrock/1.19.80/types.yml +5 -2
- package/minecraft-data/data/bedrock/1.20.0/proto.yml +3961 -0
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +80 -69
- package/minecraft-data/data/bedrock/1.20.0/types.yml +2096 -0
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +11452 -0
- package/minecraft-data/data/bedrock/1.20.10/version.json +6 -0
- package/minecraft-data/data/bedrock/common/features.json +5 -0
- package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
- package/minecraft-data/data/bedrock/common/versions.json +2 -1
- package/minecraft-data/data/bedrock/latest/proto.yml +49 -8
- package/minecraft-data/data/bedrock/latest/types.yml +10 -2
- package/minecraft-data/data/dataPaths.json +44 -4
- package/minecraft-data/data/pc/1.10/attributes.json +53 -14
- package/minecraft-data/data/pc/1.11/attributes.json +53 -14
- package/minecraft-data/data/pc/1.12/attributes.json +53 -14
- package/minecraft-data/data/pc/1.13/attributes.json +53 -14
- package/minecraft-data/data/pc/1.14/attributes.json +53 -14
- package/minecraft-data/data/pc/1.15/attributes.json +53 -14
- package/minecraft-data/data/pc/1.16/attributes.json +53 -14
- package/minecraft-data/data/pc/1.17/attributes.json +53 -14
- package/minecraft-data/data/pc/1.19/protocol.json +13 -8
- package/minecraft-data/data/pc/1.19.2/protocol.json +13 -8
- package/minecraft-data/data/pc/1.19.3/protocol.json +70 -8
- package/minecraft-data/data/pc/1.19.4/protocol.json +75 -17
- package/minecraft-data/data/pc/1.20/protocol.json +78 -20
- package/minecraft-data/data/pc/1.7/attributes.json +28 -7
- package/minecraft-data/data/pc/1.8/attributes.json +49 -13
- package/minecraft-data/data/pc/1.9/attributes.json +53 -14
- package/minecraft-data/data/pc/common/features.json +5 -0
- package/minecraft-data/doc/history.md +14 -0
- package/minecraft-data/schemas/attributes_schema.json +13 -1
- package/package.json +2 -2
|
@@ -939,11 +939,11 @@
|
|
|
939
939
|
},
|
|
940
940
|
{
|
|
941
941
|
"name": "block_position",
|
|
942
|
-
"type": "
|
|
942
|
+
"type": "BlockCoordinates"
|
|
943
943
|
},
|
|
944
944
|
{
|
|
945
945
|
"name": "face",
|
|
946
|
-
"type": "
|
|
946
|
+
"type": "zigzag32"
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
949
|
"name": "hotbar_slot",
|
|
@@ -4902,7 +4902,7 @@
|
|
|
4902
4902
|
"71": "balloon_pop",
|
|
4903
4903
|
"72": "treasure_hunt",
|
|
4904
4904
|
"73": "agent_summon",
|
|
4905
|
-
"74": "
|
|
4905
|
+
"74": "charged_item",
|
|
4906
4906
|
"75": "fall"
|
|
4907
4907
|
}
|
|
4908
4908
|
}
|
|
@@ -6192,66 +6192,74 @@
|
|
|
6192
6192
|
{
|
|
6193
6193
|
"countType": "varint",
|
|
6194
6194
|
"type": [
|
|
6195
|
-
"
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
"
|
|
6200
|
-
|
|
6201
|
-
{
|
|
6202
|
-
"name": "parameter_name",
|
|
6203
|
-
"type": "string"
|
|
6204
|
-
},
|
|
6205
|
-
{
|
|
6206
|
-
"name": "value_type",
|
|
6207
|
-
"type": [
|
|
6208
|
-
"mapper",
|
|
6209
|
-
{
|
|
6210
|
-
"type": "lu16",
|
|
6211
|
-
"mappings": {
|
|
6212
|
-
"1": "int",
|
|
6213
|
-
"2": "float",
|
|
6214
|
-
"3": "value",
|
|
6215
|
-
"4": "wildcard_int",
|
|
6216
|
-
"5": "operator",
|
|
6217
|
-
"6": "target",
|
|
6218
|
-
"16": "file_path",
|
|
6219
|
-
"32": "string",
|
|
6220
|
-
"40": "position",
|
|
6221
|
-
"44": "message",
|
|
6222
|
-
"46": "raw_text",
|
|
6223
|
-
"50": "json",
|
|
6224
|
-
"63": "command"
|
|
6225
|
-
}
|
|
6226
|
-
}
|
|
6227
|
-
]
|
|
6228
|
-
},
|
|
6195
|
+
"container",
|
|
6196
|
+
[
|
|
6197
|
+
{
|
|
6198
|
+
"name": "parameters",
|
|
6199
|
+
"type": [
|
|
6200
|
+
"array",
|
|
6229
6201
|
{
|
|
6230
|
-
"
|
|
6202
|
+
"countType": "varint",
|
|
6231
6203
|
"type": [
|
|
6232
|
-
"
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
"
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
"
|
|
6204
|
+
"container",
|
|
6205
|
+
[
|
|
6206
|
+
{
|
|
6207
|
+
"name": "parameter_name",
|
|
6208
|
+
"type": "string"
|
|
6209
|
+
},
|
|
6210
|
+
{
|
|
6211
|
+
"name": "value_type",
|
|
6212
|
+
"type": [
|
|
6213
|
+
"mapper",
|
|
6214
|
+
{
|
|
6215
|
+
"type": "lu16",
|
|
6216
|
+
"mappings": {
|
|
6217
|
+
"1": "int",
|
|
6218
|
+
"2": "float",
|
|
6219
|
+
"3": "value",
|
|
6220
|
+
"4": "wildcard_int",
|
|
6221
|
+
"5": "operator",
|
|
6222
|
+
"6": "target",
|
|
6223
|
+
"16": "file_path",
|
|
6224
|
+
"32": "string",
|
|
6225
|
+
"40": "position",
|
|
6226
|
+
"44": "message",
|
|
6227
|
+
"46": "raw_text",
|
|
6228
|
+
"50": "json",
|
|
6229
|
+
"63": "command"
|
|
6230
|
+
}
|
|
6231
|
+
}
|
|
6232
|
+
]
|
|
6233
|
+
},
|
|
6234
|
+
{
|
|
6235
|
+
"name": "enum_type",
|
|
6236
|
+
"type": [
|
|
6237
|
+
"mapper",
|
|
6238
|
+
{
|
|
6239
|
+
"type": "lu16",
|
|
6240
|
+
"mappings": {
|
|
6241
|
+
"16": "valid",
|
|
6242
|
+
"48": "enum",
|
|
6243
|
+
"256": "suffixed",
|
|
6244
|
+
"1040": "soft_enum"
|
|
6245
|
+
}
|
|
6246
|
+
}
|
|
6247
|
+
]
|
|
6248
|
+
},
|
|
6249
|
+
{
|
|
6250
|
+
"name": "optional",
|
|
6251
|
+
"type": "bool"
|
|
6252
|
+
},
|
|
6253
|
+
{
|
|
6254
|
+
"name": "options",
|
|
6255
|
+
"type": "CommandFlags"
|
|
6240
6256
|
}
|
|
6241
|
-
|
|
6257
|
+
]
|
|
6242
6258
|
]
|
|
6243
|
-
},
|
|
6244
|
-
{
|
|
6245
|
-
"name": "optional",
|
|
6246
|
-
"type": "bool"
|
|
6247
|
-
},
|
|
6248
|
-
{
|
|
6249
|
-
"name": "options",
|
|
6250
|
-
"type": "CommandFlags"
|
|
6251
6259
|
}
|
|
6252
6260
|
]
|
|
6253
|
-
|
|
6254
|
-
|
|
6261
|
+
}
|
|
6262
|
+
]
|
|
6255
6263
|
]
|
|
6256
6264
|
}
|
|
6257
6265
|
]
|
|
@@ -8151,7 +8159,7 @@
|
|
|
8151
8159
|
[
|
|
8152
8160
|
{
|
|
8153
8161
|
"name": "position",
|
|
8154
|
-
"type": "
|
|
8162
|
+
"type": "vec3i"
|
|
8155
8163
|
},
|
|
8156
8164
|
{
|
|
8157
8165
|
"name": "face",
|
|
@@ -8164,7 +8172,7 @@
|
|
|
8164
8172
|
[
|
|
8165
8173
|
{
|
|
8166
8174
|
"name": "position",
|
|
8167
|
-
"type": "
|
|
8175
|
+
"type": "vec3i"
|
|
8168
8176
|
},
|
|
8169
8177
|
{
|
|
8170
8178
|
"name": "face",
|
|
@@ -8177,7 +8185,7 @@
|
|
|
8177
8185
|
[
|
|
8178
8186
|
{
|
|
8179
8187
|
"name": "position",
|
|
8180
|
-
"type": "
|
|
8188
|
+
"type": "vec3i"
|
|
8181
8189
|
},
|
|
8182
8190
|
{
|
|
8183
8191
|
"name": "face",
|
|
@@ -8190,7 +8198,7 @@
|
|
|
8190
8198
|
[
|
|
8191
8199
|
{
|
|
8192
8200
|
"name": "position",
|
|
8193
|
-
"type": "
|
|
8201
|
+
"type": "vec3i"
|
|
8194
8202
|
},
|
|
8195
8203
|
{
|
|
8196
8204
|
"name": "face",
|
|
@@ -8203,7 +8211,7 @@
|
|
|
8203
8211
|
[
|
|
8204
8212
|
{
|
|
8205
8213
|
"name": "position",
|
|
8206
|
-
"type": "
|
|
8214
|
+
"type": "vec3i"
|
|
8207
8215
|
},
|
|
8208
8216
|
{
|
|
8209
8217
|
"name": "face",
|
|
@@ -468,10 +468,10 @@ TransactionUseItem:
|
|
|
468
468
|
2: break_block
|
|
469
469
|
# BlockPosition is the position of the block that was interacted with. This is only really a correct
|
|
470
470
|
# block position if ActionType is not UseItemActionClickAir.
|
|
471
|
-
block_position:
|
|
471
|
+
block_position: BlockCoordinates
|
|
472
472
|
# BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
|
|
473
473
|
# clicked. When breaking the block, it is the face that was last being hit until the block broke.
|
|
474
|
-
face:
|
|
474
|
+
face: zigzag32
|
|
475
475
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
|
|
476
476
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
477
477
|
hotbar_slot: varint
|
|
@@ -852,7 +852,7 @@ packet_entity_event:
|
|
|
852
852
|
71: balloon_pop
|
|
853
853
|
72: treasure_hunt
|
|
854
854
|
73: agent_summon
|
|
855
|
-
74:
|
|
855
|
+
74: charged_item
|
|
856
856
|
75: fall
|
|
857
857
|
data: zigzag32
|
|
858
858
|
|
|
@@ -1589,7 +1589,7 @@ packet_available_commands:
|
|
|
1589
1589
|
# The list of overload parameters for this command
|
|
1590
1590
|
overloads: []varint
|
|
1591
1591
|
# Each of the parameters gets an array of posible overloads
|
|
1592
|
-
|
|
1592
|
+
parameters: []varint
|
|
1593
1593
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1594
1594
|
parameter_name: string
|
|
1595
1595
|
value_type: lu16 =>
|
|
@@ -1609,9 +1609,9 @@ packet_available_commands:
|
|
|
1609
1609
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1610
1610
|
enum_type: lu16 =>
|
|
1611
1611
|
0x10: valid
|
|
1612
|
-
|
|
1612
|
+
0x30: enum
|
|
1613
1613
|
0x100: suffixed
|
|
1614
|
-
|
|
1614
|
+
0x410: soft_enum
|
|
1615
1615
|
# Is this parameter required?
|
|
1616
1616
|
optional: bool
|
|
1617
1617
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -2822,7 +2822,7 @@ packet_player_auth_input:
|
|
|
2822
2822
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
2823
2823
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
2824
2824
|
# block. If that is not the case, the block position will be zero.
|
|
2825
|
-
position:
|
|
2825
|
+
position: vec3i
|
|
2826
2826
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
2827
2827
|
# concerned a block. If not, the face is always 0.
|
|
2828
2828
|
face: zigzag32
|
|
@@ -3212,4 +3212,4 @@ packet_npc_dialogue:
|
|
|
3212
3212
|
# NPCName is the name of the NPC to be displayed to the client.
|
|
3213
3213
|
npc_name: string
|
|
3214
3214
|
# ActionJSON is the JSON string of the buttons/actions the server can perform.
|
|
3215
|
-
action_json: string
|
|
3215
|
+
action_json: string
|
|
@@ -939,11 +939,11 @@
|
|
|
939
939
|
},
|
|
940
940
|
{
|
|
941
941
|
"name": "block_position",
|
|
942
|
-
"type": "
|
|
942
|
+
"type": "BlockCoordinates"
|
|
943
943
|
},
|
|
944
944
|
{
|
|
945
945
|
"name": "face",
|
|
946
|
-
"type": "
|
|
946
|
+
"type": "zigzag32"
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
949
|
"name": "hotbar_slot",
|
|
@@ -4992,7 +4992,7 @@
|
|
|
4992
4992
|
"71": "balloon_pop",
|
|
4993
4993
|
"72": "treasure_hunt",
|
|
4994
4994
|
"73": "agent_summon",
|
|
4995
|
-
"74": "
|
|
4995
|
+
"74": "charged_item",
|
|
4996
4996
|
"75": "fall"
|
|
4997
4997
|
}
|
|
4998
4998
|
}
|
|
@@ -6282,66 +6282,74 @@
|
|
|
6282
6282
|
{
|
|
6283
6283
|
"countType": "varint",
|
|
6284
6284
|
"type": [
|
|
6285
|
-
"
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
"
|
|
6290
|
-
|
|
6291
|
-
{
|
|
6292
|
-
"name": "parameter_name",
|
|
6293
|
-
"type": "string"
|
|
6294
|
-
},
|
|
6295
|
-
{
|
|
6296
|
-
"name": "value_type",
|
|
6297
|
-
"type": [
|
|
6298
|
-
"mapper",
|
|
6299
|
-
{
|
|
6300
|
-
"type": "lu16",
|
|
6301
|
-
"mappings": {
|
|
6302
|
-
"1": "int",
|
|
6303
|
-
"2": "float",
|
|
6304
|
-
"3": "value",
|
|
6305
|
-
"4": "wildcard_int",
|
|
6306
|
-
"5": "operator",
|
|
6307
|
-
"6": "target",
|
|
6308
|
-
"16": "file_path",
|
|
6309
|
-
"32": "string",
|
|
6310
|
-
"40": "position",
|
|
6311
|
-
"44": "message",
|
|
6312
|
-
"46": "raw_text",
|
|
6313
|
-
"50": "json",
|
|
6314
|
-
"63": "command"
|
|
6315
|
-
}
|
|
6316
|
-
}
|
|
6317
|
-
]
|
|
6318
|
-
},
|
|
6285
|
+
"container",
|
|
6286
|
+
[
|
|
6287
|
+
{
|
|
6288
|
+
"name": "parameters",
|
|
6289
|
+
"type": [
|
|
6290
|
+
"array",
|
|
6319
6291
|
{
|
|
6320
|
-
"
|
|
6292
|
+
"countType": "varint",
|
|
6321
6293
|
"type": [
|
|
6322
|
-
"
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
"
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
"
|
|
6294
|
+
"container",
|
|
6295
|
+
[
|
|
6296
|
+
{
|
|
6297
|
+
"name": "parameter_name",
|
|
6298
|
+
"type": "string"
|
|
6299
|
+
},
|
|
6300
|
+
{
|
|
6301
|
+
"name": "value_type",
|
|
6302
|
+
"type": [
|
|
6303
|
+
"mapper",
|
|
6304
|
+
{
|
|
6305
|
+
"type": "lu16",
|
|
6306
|
+
"mappings": {
|
|
6307
|
+
"1": "int",
|
|
6308
|
+
"2": "float",
|
|
6309
|
+
"3": "value",
|
|
6310
|
+
"4": "wildcard_int",
|
|
6311
|
+
"5": "operator",
|
|
6312
|
+
"6": "target",
|
|
6313
|
+
"16": "file_path",
|
|
6314
|
+
"32": "string",
|
|
6315
|
+
"40": "position",
|
|
6316
|
+
"44": "message",
|
|
6317
|
+
"46": "raw_text",
|
|
6318
|
+
"50": "json",
|
|
6319
|
+
"63": "command"
|
|
6320
|
+
}
|
|
6321
|
+
}
|
|
6322
|
+
]
|
|
6323
|
+
},
|
|
6324
|
+
{
|
|
6325
|
+
"name": "enum_type",
|
|
6326
|
+
"type": [
|
|
6327
|
+
"mapper",
|
|
6328
|
+
{
|
|
6329
|
+
"type": "lu16",
|
|
6330
|
+
"mappings": {
|
|
6331
|
+
"16": "valid",
|
|
6332
|
+
"48": "enum",
|
|
6333
|
+
"256": "suffixed",
|
|
6334
|
+
"1040": "soft_enum"
|
|
6335
|
+
}
|
|
6336
|
+
}
|
|
6337
|
+
]
|
|
6338
|
+
},
|
|
6339
|
+
{
|
|
6340
|
+
"name": "optional",
|
|
6341
|
+
"type": "bool"
|
|
6342
|
+
},
|
|
6343
|
+
{
|
|
6344
|
+
"name": "options",
|
|
6345
|
+
"type": "CommandFlags"
|
|
6330
6346
|
}
|
|
6331
|
-
|
|
6347
|
+
]
|
|
6332
6348
|
]
|
|
6333
|
-
},
|
|
6334
|
-
{
|
|
6335
|
-
"name": "optional",
|
|
6336
|
-
"type": "bool"
|
|
6337
|
-
},
|
|
6338
|
-
{
|
|
6339
|
-
"name": "options",
|
|
6340
|
-
"type": "CommandFlags"
|
|
6341
6349
|
}
|
|
6342
6350
|
]
|
|
6343
|
-
|
|
6344
|
-
|
|
6351
|
+
}
|
|
6352
|
+
]
|
|
6345
6353
|
]
|
|
6346
6354
|
}
|
|
6347
6355
|
]
|
|
@@ -8267,7 +8275,7 @@
|
|
|
8267
8275
|
[
|
|
8268
8276
|
{
|
|
8269
8277
|
"name": "position",
|
|
8270
|
-
"type": "
|
|
8278
|
+
"type": "vec3i"
|
|
8271
8279
|
},
|
|
8272
8280
|
{
|
|
8273
8281
|
"name": "face",
|
|
@@ -8280,7 +8288,7 @@
|
|
|
8280
8288
|
[
|
|
8281
8289
|
{
|
|
8282
8290
|
"name": "position",
|
|
8283
|
-
"type": "
|
|
8291
|
+
"type": "vec3i"
|
|
8284
8292
|
},
|
|
8285
8293
|
{
|
|
8286
8294
|
"name": "face",
|
|
@@ -8293,7 +8301,7 @@
|
|
|
8293
8301
|
[
|
|
8294
8302
|
{
|
|
8295
8303
|
"name": "position",
|
|
8296
|
-
"type": "
|
|
8304
|
+
"type": "vec3i"
|
|
8297
8305
|
},
|
|
8298
8306
|
{
|
|
8299
8307
|
"name": "face",
|
|
@@ -8306,7 +8314,7 @@
|
|
|
8306
8314
|
[
|
|
8307
8315
|
{
|
|
8308
8316
|
"name": "position",
|
|
8309
|
-
"type": "
|
|
8317
|
+
"type": "vec3i"
|
|
8310
8318
|
},
|
|
8311
8319
|
{
|
|
8312
8320
|
"name": "face",
|
|
@@ -8319,7 +8327,7 @@
|
|
|
8319
8327
|
[
|
|
8320
8328
|
{
|
|
8321
8329
|
"name": "position",
|
|
8322
|
-
"type": "
|
|
8330
|
+
"type": "vec3i"
|
|
8323
8331
|
},
|
|
8324
8332
|
{
|
|
8325
8333
|
"name": "face",
|
|
@@ -468,10 +468,10 @@ TransactionUseItem:
|
|
|
468
468
|
2: break_block
|
|
469
469
|
# BlockPosition is the position of the block that was interacted with. This is only really a correct
|
|
470
470
|
# block position if ActionType is not UseItemActionClickAir.
|
|
471
|
-
block_position:
|
|
471
|
+
block_position: BlockCoordinates
|
|
472
472
|
# BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
|
|
473
473
|
# clicked. When breaking the block, it is the face that was last being hit until the block broke.
|
|
474
|
-
face:
|
|
474
|
+
face: zigzag32
|
|
475
475
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
|
|
476
476
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
477
477
|
hotbar_slot: varint
|
|
@@ -853,7 +853,7 @@ packet_entity_event:
|
|
|
853
853
|
71: balloon_pop
|
|
854
854
|
72: treasure_hunt
|
|
855
855
|
73: agent_summon
|
|
856
|
-
74:
|
|
856
|
+
74: charged_item
|
|
857
857
|
75: fall
|
|
858
858
|
data: zigzag32
|
|
859
859
|
|
|
@@ -1601,7 +1601,7 @@ packet_available_commands:
|
|
|
1601
1601
|
# The list of overload parameters for this command
|
|
1602
1602
|
overloads: []varint
|
|
1603
1603
|
# Each of the parameters gets an array of posible overloads
|
|
1604
|
-
|
|
1604
|
+
parameters: []varint
|
|
1605
1605
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1606
1606
|
parameter_name: string
|
|
1607
1607
|
value_type: lu16 =>
|
|
@@ -1621,9 +1621,9 @@ packet_available_commands:
|
|
|
1621
1621
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1622
1622
|
enum_type: lu16 =>
|
|
1623
1623
|
0x10: valid
|
|
1624
|
-
|
|
1624
|
+
0x30: enum
|
|
1625
1625
|
0x100: suffixed
|
|
1626
|
-
|
|
1626
|
+
0x410: soft_enum
|
|
1627
1627
|
# Is this parameter required?
|
|
1628
1628
|
optional: bool
|
|
1629
1629
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -2851,7 +2851,7 @@ packet_player_auth_input:
|
|
|
2851
2851
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
2852
2852
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
2853
2853
|
# block. If that is not the case, the block position will be zero.
|
|
2854
|
-
position:
|
|
2854
|
+
position: vec3i
|
|
2855
2855
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
2856
2856
|
# concerned a block. If not, the face is always 0.
|
|
2857
2857
|
face: zigzag32
|
|
@@ -3278,4 +3278,4 @@ packet_update_subchunk_blocks:
|
|
|
3278
3278
|
packet_photo_info_request:
|
|
3279
3279
|
!id: 0xad
|
|
3280
3280
|
!bound: server
|
|
3281
|
-
photo_id: zigzag64
|
|
3281
|
+
photo_id: zigzag64
|