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
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
},
|
|
773
773
|
{
|
|
774
774
|
"name": "face",
|
|
775
|
-
"type": "
|
|
775
|
+
"type": "zigzag32"
|
|
776
776
|
},
|
|
777
777
|
{
|
|
778
778
|
"name": "hotbar_slot",
|
|
@@ -4394,7 +4394,7 @@
|
|
|
4394
4394
|
"71": "balloon_pop",
|
|
4395
4395
|
"72": "treasure_hunt",
|
|
4396
4396
|
"73": "agent_summon",
|
|
4397
|
-
"74": "
|
|
4397
|
+
"74": "charged_item",
|
|
4398
4398
|
"75": "fall"
|
|
4399
4399
|
}
|
|
4400
4400
|
}
|
|
@@ -5547,66 +5547,74 @@
|
|
|
5547
5547
|
{
|
|
5548
5548
|
"countType": "varint",
|
|
5549
5549
|
"type": [
|
|
5550
|
-
"
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
"
|
|
5555
|
-
|
|
5556
|
-
{
|
|
5557
|
-
"name": "parameter_name",
|
|
5558
|
-
"type": "string"
|
|
5559
|
-
},
|
|
5560
|
-
{
|
|
5561
|
-
"name": "value_type",
|
|
5562
|
-
"type": [
|
|
5563
|
-
"mapper",
|
|
5564
|
-
{
|
|
5565
|
-
"type": "lu16",
|
|
5566
|
-
"mappings": {
|
|
5567
|
-
"1": "int",
|
|
5568
|
-
"2": "float",
|
|
5569
|
-
"3": "value",
|
|
5570
|
-
"4": "wildcard_int",
|
|
5571
|
-
"5": "operator",
|
|
5572
|
-
"6": "target",
|
|
5573
|
-
"16": "file_path",
|
|
5574
|
-
"32": "string",
|
|
5575
|
-
"40": "position",
|
|
5576
|
-
"44": "message",
|
|
5577
|
-
"46": "raw_text",
|
|
5578
|
-
"50": "json",
|
|
5579
|
-
"63": "command"
|
|
5580
|
-
}
|
|
5581
|
-
}
|
|
5582
|
-
]
|
|
5583
|
-
},
|
|
5550
|
+
"container",
|
|
5551
|
+
[
|
|
5552
|
+
{
|
|
5553
|
+
"name": "parameters",
|
|
5554
|
+
"type": [
|
|
5555
|
+
"array",
|
|
5584
5556
|
{
|
|
5585
|
-
"
|
|
5557
|
+
"countType": "varint",
|
|
5586
5558
|
"type": [
|
|
5587
|
-
"
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
"
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
"
|
|
5559
|
+
"container",
|
|
5560
|
+
[
|
|
5561
|
+
{
|
|
5562
|
+
"name": "parameter_name",
|
|
5563
|
+
"type": "string"
|
|
5564
|
+
},
|
|
5565
|
+
{
|
|
5566
|
+
"name": "value_type",
|
|
5567
|
+
"type": [
|
|
5568
|
+
"mapper",
|
|
5569
|
+
{
|
|
5570
|
+
"type": "lu16",
|
|
5571
|
+
"mappings": {
|
|
5572
|
+
"1": "int",
|
|
5573
|
+
"2": "float",
|
|
5574
|
+
"3": "value",
|
|
5575
|
+
"4": "wildcard_int",
|
|
5576
|
+
"5": "operator",
|
|
5577
|
+
"6": "target",
|
|
5578
|
+
"16": "file_path",
|
|
5579
|
+
"32": "string",
|
|
5580
|
+
"40": "position",
|
|
5581
|
+
"44": "message",
|
|
5582
|
+
"46": "raw_text",
|
|
5583
|
+
"50": "json",
|
|
5584
|
+
"63": "command"
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
]
|
|
5588
|
+
},
|
|
5589
|
+
{
|
|
5590
|
+
"name": "enum_type",
|
|
5591
|
+
"type": [
|
|
5592
|
+
"mapper",
|
|
5593
|
+
{
|
|
5594
|
+
"type": "lu16",
|
|
5595
|
+
"mappings": {
|
|
5596
|
+
"16": "valid",
|
|
5597
|
+
"48": "enum",
|
|
5598
|
+
"256": "suffixed",
|
|
5599
|
+
"1040": "soft_enum"
|
|
5600
|
+
}
|
|
5601
|
+
}
|
|
5602
|
+
]
|
|
5603
|
+
},
|
|
5604
|
+
{
|
|
5605
|
+
"name": "optional",
|
|
5606
|
+
"type": "bool"
|
|
5607
|
+
},
|
|
5608
|
+
{
|
|
5609
|
+
"name": "options",
|
|
5610
|
+
"type": "CommandFlags"
|
|
5595
5611
|
}
|
|
5596
|
-
|
|
5612
|
+
]
|
|
5597
5613
|
]
|
|
5598
|
-
},
|
|
5599
|
-
{
|
|
5600
|
-
"name": "optional",
|
|
5601
|
-
"type": "bool"
|
|
5602
|
-
},
|
|
5603
|
-
{
|
|
5604
|
-
"name": "options",
|
|
5605
|
-
"type": "CommandFlags"
|
|
5606
5614
|
}
|
|
5607
5615
|
]
|
|
5608
|
-
|
|
5609
|
-
|
|
5616
|
+
}
|
|
5617
|
+
]
|
|
5610
5618
|
]
|
|
5611
5619
|
}
|
|
5612
5620
|
]
|
|
@@ -7229,7 +7237,7 @@
|
|
|
7229
7237
|
[
|
|
7230
7238
|
{
|
|
7231
7239
|
"name": "position",
|
|
7232
|
-
"type": "
|
|
7240
|
+
"type": "vec3i"
|
|
7233
7241
|
},
|
|
7234
7242
|
{
|
|
7235
7243
|
"name": "face",
|
|
@@ -7242,7 +7250,7 @@
|
|
|
7242
7250
|
[
|
|
7243
7251
|
{
|
|
7244
7252
|
"name": "position",
|
|
7245
|
-
"type": "
|
|
7253
|
+
"type": "vec3i"
|
|
7246
7254
|
},
|
|
7247
7255
|
{
|
|
7248
7256
|
"name": "face",
|
|
@@ -7255,7 +7263,7 @@
|
|
|
7255
7263
|
[
|
|
7256
7264
|
{
|
|
7257
7265
|
"name": "position",
|
|
7258
|
-
"type": "
|
|
7266
|
+
"type": "vec3i"
|
|
7259
7267
|
},
|
|
7260
7268
|
{
|
|
7261
7269
|
"name": "face",
|
|
@@ -7268,7 +7276,7 @@
|
|
|
7268
7276
|
[
|
|
7269
7277
|
{
|
|
7270
7278
|
"name": "position",
|
|
7271
|
-
"type": "
|
|
7279
|
+
"type": "vec3i"
|
|
7272
7280
|
},
|
|
7273
7281
|
{
|
|
7274
7282
|
"name": "face",
|
|
@@ -7281,7 +7289,7 @@
|
|
|
7281
7289
|
[
|
|
7282
7290
|
{
|
|
7283
7291
|
"name": "position",
|
|
7284
|
-
"type": "
|
|
7292
|
+
"type": "vec3i"
|
|
7285
7293
|
},
|
|
7286
7294
|
{
|
|
7287
7295
|
"name": "face",
|
|
@@ -416,7 +416,7 @@ TransactionUseItem:
|
|
|
416
416
|
block_position: BlockCoordinates
|
|
417
417
|
# BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
|
|
418
418
|
# clicked. When breaking the block, it is the face that was last being hit until the block broke.
|
|
419
|
-
face:
|
|
419
|
+
face: zigzag32
|
|
420
420
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
|
|
421
421
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
422
422
|
hotbar_slot: varint
|
|
@@ -768,7 +768,7 @@ packet_entity_event:
|
|
|
768
768
|
71: balloon_pop
|
|
769
769
|
72: treasure_hunt
|
|
770
770
|
73: agent_summon
|
|
771
|
-
74:
|
|
771
|
+
74: charged_item
|
|
772
772
|
75: fall
|
|
773
773
|
data: zigzag32
|
|
774
774
|
|
|
@@ -1504,7 +1504,7 @@ packet_available_commands:
|
|
|
1504
1504
|
# The list of overload parameters for this command
|
|
1505
1505
|
overloads: []varint
|
|
1506
1506
|
# Each of the parameters gets an array of posible overloads
|
|
1507
|
-
|
|
1507
|
+
parameters: []varint
|
|
1508
1508
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1509
1509
|
parameter_name: string
|
|
1510
1510
|
value_type: lu16 =>
|
|
@@ -1524,9 +1524,9 @@ packet_available_commands:
|
|
|
1524
1524
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1525
1525
|
enum_type: lu16 =>
|
|
1526
1526
|
0x10: valid
|
|
1527
|
-
|
|
1527
|
+
0x30: enum
|
|
1528
1528
|
0x100: suffixed
|
|
1529
|
-
|
|
1529
|
+
0x410: soft_enum
|
|
1530
1530
|
# Is this parameter required?
|
|
1531
1531
|
optional: bool
|
|
1532
1532
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -2723,7 +2723,7 @@ packet_player_auth_input:
|
|
|
2723
2723
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
2724
2724
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
2725
2725
|
# block. If that is not the case, the block position will be zero.
|
|
2726
|
-
position:
|
|
2726
|
+
position: vec3i
|
|
2727
2727
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
2728
2728
|
# concerned a block. If not, the face is always 0.
|
|
2729
2729
|
face: zigzag32
|
|
@@ -3063,4 +3063,4 @@ packet_debug_renderer:
|
|
|
3063
3063
|
# Alpha is the alpha value from the RGBA colour rendered on the debug.
|
|
3064
3064
|
alpha: lf32
|
|
3065
3065
|
# Duration is how long the debug will last in the world for. It is measured in milliseconds.
|
|
3066
|
-
duration: li64
|
|
3066
|
+
duration: li64
|
|
@@ -936,11 +936,11 @@
|
|
|
936
936
|
},
|
|
937
937
|
{
|
|
938
938
|
"name": "block_position",
|
|
939
|
-
"type": "
|
|
939
|
+
"type": "BlockCoordinates"
|
|
940
940
|
},
|
|
941
941
|
{
|
|
942
942
|
"name": "face",
|
|
943
|
-
"type": "
|
|
943
|
+
"type": "zigzag32"
|
|
944
944
|
},
|
|
945
945
|
{
|
|
946
946
|
"name": "hotbar_slot",
|
|
@@ -4824,7 +4824,7 @@
|
|
|
4824
4824
|
"71": "balloon_pop",
|
|
4825
4825
|
"72": "treasure_hunt",
|
|
4826
4826
|
"73": "agent_summon",
|
|
4827
|
-
"74": "
|
|
4827
|
+
"74": "charged_item",
|
|
4828
4828
|
"75": "fall"
|
|
4829
4829
|
}
|
|
4830
4830
|
}
|
|
@@ -6113,66 +6113,74 @@
|
|
|
6113
6113
|
{
|
|
6114
6114
|
"countType": "varint",
|
|
6115
6115
|
"type": [
|
|
6116
|
-
"
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
"
|
|
6121
|
-
|
|
6122
|
-
{
|
|
6123
|
-
"name": "parameter_name",
|
|
6124
|
-
"type": "string"
|
|
6125
|
-
},
|
|
6126
|
-
{
|
|
6127
|
-
"name": "value_type",
|
|
6128
|
-
"type": [
|
|
6129
|
-
"mapper",
|
|
6130
|
-
{
|
|
6131
|
-
"type": "lu16",
|
|
6132
|
-
"mappings": {
|
|
6133
|
-
"1": "int",
|
|
6134
|
-
"2": "float",
|
|
6135
|
-
"3": "value",
|
|
6136
|
-
"4": "wildcard_int",
|
|
6137
|
-
"5": "operator",
|
|
6138
|
-
"6": "target",
|
|
6139
|
-
"16": "file_path",
|
|
6140
|
-
"32": "string",
|
|
6141
|
-
"40": "position",
|
|
6142
|
-
"44": "message",
|
|
6143
|
-
"46": "raw_text",
|
|
6144
|
-
"50": "json",
|
|
6145
|
-
"63": "command"
|
|
6146
|
-
}
|
|
6147
|
-
}
|
|
6148
|
-
]
|
|
6149
|
-
},
|
|
6116
|
+
"container",
|
|
6117
|
+
[
|
|
6118
|
+
{
|
|
6119
|
+
"name": "parameters",
|
|
6120
|
+
"type": [
|
|
6121
|
+
"array",
|
|
6150
6122
|
{
|
|
6151
|
-
"
|
|
6123
|
+
"countType": "varint",
|
|
6152
6124
|
"type": [
|
|
6153
|
-
"
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
"
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
"
|
|
6125
|
+
"container",
|
|
6126
|
+
[
|
|
6127
|
+
{
|
|
6128
|
+
"name": "parameter_name",
|
|
6129
|
+
"type": "string"
|
|
6130
|
+
},
|
|
6131
|
+
{
|
|
6132
|
+
"name": "value_type",
|
|
6133
|
+
"type": [
|
|
6134
|
+
"mapper",
|
|
6135
|
+
{
|
|
6136
|
+
"type": "lu16",
|
|
6137
|
+
"mappings": {
|
|
6138
|
+
"1": "int",
|
|
6139
|
+
"2": "float",
|
|
6140
|
+
"3": "value",
|
|
6141
|
+
"4": "wildcard_int",
|
|
6142
|
+
"5": "operator",
|
|
6143
|
+
"6": "target",
|
|
6144
|
+
"16": "file_path",
|
|
6145
|
+
"32": "string",
|
|
6146
|
+
"40": "position",
|
|
6147
|
+
"44": "message",
|
|
6148
|
+
"46": "raw_text",
|
|
6149
|
+
"50": "json",
|
|
6150
|
+
"63": "command"
|
|
6151
|
+
}
|
|
6152
|
+
}
|
|
6153
|
+
]
|
|
6154
|
+
},
|
|
6155
|
+
{
|
|
6156
|
+
"name": "enum_type",
|
|
6157
|
+
"type": [
|
|
6158
|
+
"mapper",
|
|
6159
|
+
{
|
|
6160
|
+
"type": "lu16",
|
|
6161
|
+
"mappings": {
|
|
6162
|
+
"16": "valid",
|
|
6163
|
+
"48": "enum",
|
|
6164
|
+
"256": "suffixed",
|
|
6165
|
+
"1040": "soft_enum"
|
|
6166
|
+
}
|
|
6167
|
+
}
|
|
6168
|
+
]
|
|
6169
|
+
},
|
|
6170
|
+
{
|
|
6171
|
+
"name": "optional",
|
|
6172
|
+
"type": "bool"
|
|
6173
|
+
},
|
|
6174
|
+
{
|
|
6175
|
+
"name": "options",
|
|
6176
|
+
"type": "CommandFlags"
|
|
6161
6177
|
}
|
|
6162
|
-
|
|
6178
|
+
]
|
|
6163
6179
|
]
|
|
6164
|
-
},
|
|
6165
|
-
{
|
|
6166
|
-
"name": "optional",
|
|
6167
|
-
"type": "bool"
|
|
6168
|
-
},
|
|
6169
|
-
{
|
|
6170
|
-
"name": "options",
|
|
6171
|
-
"type": "CommandFlags"
|
|
6172
6180
|
}
|
|
6173
6181
|
]
|
|
6174
|
-
|
|
6175
|
-
|
|
6182
|
+
}
|
|
6183
|
+
]
|
|
6176
6184
|
]
|
|
6177
6185
|
}
|
|
6178
6186
|
]
|
|
@@ -8072,7 +8080,7 @@
|
|
|
8072
8080
|
[
|
|
8073
8081
|
{
|
|
8074
8082
|
"name": "position",
|
|
8075
|
-
"type": "
|
|
8083
|
+
"type": "vec3i"
|
|
8076
8084
|
},
|
|
8077
8085
|
{
|
|
8078
8086
|
"name": "face",
|
|
@@ -8085,7 +8093,7 @@
|
|
|
8085
8093
|
[
|
|
8086
8094
|
{
|
|
8087
8095
|
"name": "position",
|
|
8088
|
-
"type": "
|
|
8096
|
+
"type": "vec3i"
|
|
8089
8097
|
},
|
|
8090
8098
|
{
|
|
8091
8099
|
"name": "face",
|
|
@@ -8098,7 +8106,7 @@
|
|
|
8098
8106
|
[
|
|
8099
8107
|
{
|
|
8100
8108
|
"name": "position",
|
|
8101
|
-
"type": "
|
|
8109
|
+
"type": "vec3i"
|
|
8102
8110
|
},
|
|
8103
8111
|
{
|
|
8104
8112
|
"name": "face",
|
|
@@ -8111,7 +8119,7 @@
|
|
|
8111
8119
|
[
|
|
8112
8120
|
{
|
|
8113
8121
|
"name": "position",
|
|
8114
|
-
"type": "
|
|
8122
|
+
"type": "vec3i"
|
|
8115
8123
|
},
|
|
8116
8124
|
{
|
|
8117
8125
|
"name": "face",
|
|
@@ -8124,7 +8132,7 @@
|
|
|
8124
8132
|
[
|
|
8125
8133
|
{
|
|
8126
8134
|
"name": "position",
|
|
8127
|
-
"type": "
|
|
8135
|
+
"type": "vec3i"
|
|
8128
8136
|
},
|
|
8129
8137
|
{
|
|
8130
8138
|
"name": "face",
|
|
@@ -465,10 +465,10 @@ TransactionUseItem:
|
|
|
465
465
|
2: break_block
|
|
466
466
|
# BlockPosition is the position of the block that was interacted with. This is only really a correct
|
|
467
467
|
# block position if ActionType is not UseItemActionClickAir.
|
|
468
|
-
block_position:
|
|
468
|
+
block_position: BlockCoordinates
|
|
469
469
|
# BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
|
|
470
470
|
# clicked. When breaking the block, it is the face that was last being hit until the block broke.
|
|
471
|
-
face:
|
|
471
|
+
face: zigzag32
|
|
472
472
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
|
|
473
473
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
474
474
|
hotbar_slot: varint
|
|
@@ -769,7 +769,7 @@ packet_entity_event:
|
|
|
769
769
|
71: balloon_pop
|
|
770
770
|
72: treasure_hunt
|
|
771
771
|
73: agent_summon
|
|
772
|
-
74:
|
|
772
|
+
74: charged_item
|
|
773
773
|
75: fall
|
|
774
774
|
data: zigzag32
|
|
775
775
|
|
|
@@ -1506,7 +1506,7 @@ packet_available_commands:
|
|
|
1506
1506
|
# The list of overload parameters for this command
|
|
1507
1507
|
overloads: []varint
|
|
1508
1508
|
# Each of the parameters gets an array of posible overloads
|
|
1509
|
-
|
|
1509
|
+
parameters: []varint
|
|
1510
1510
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1511
1511
|
parameter_name: string
|
|
1512
1512
|
value_type: lu16 =>
|
|
@@ -1526,9 +1526,9 @@ packet_available_commands:
|
|
|
1526
1526
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1527
1527
|
enum_type: lu16 =>
|
|
1528
1528
|
0x10: valid
|
|
1529
|
-
|
|
1529
|
+
0x30: enum
|
|
1530
1530
|
0x100: suffixed
|
|
1531
|
-
|
|
1531
|
+
0x410: soft_enum
|
|
1532
1532
|
# Is this parameter required?
|
|
1533
1533
|
optional: bool
|
|
1534
1534
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -2725,7 +2725,7 @@ packet_player_auth_input:
|
|
|
2725
2725
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
2726
2726
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
2727
2727
|
# block. If that is not the case, the block position will be zero.
|
|
2728
|
-
position:
|
|
2728
|
+
position: vec3i
|
|
2729
2729
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
2730
2730
|
# concerned a block. If not, the face is always 0.
|
|
2731
2731
|
face: zigzag32
|