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",
|
|
@@ -5098,7 +5098,7 @@
|
|
|
5098
5098
|
"71": "balloon_pop",
|
|
5099
5099
|
"72": "treasure_hunt",
|
|
5100
5100
|
"73": "agent_summon",
|
|
5101
|
-
"74": "
|
|
5101
|
+
"74": "charged_item",
|
|
5102
5102
|
"75": "fall"
|
|
5103
5103
|
}
|
|
5104
5104
|
}
|
|
@@ -6410,66 +6410,74 @@
|
|
|
6410
6410
|
{
|
|
6411
6411
|
"countType": "varint",
|
|
6412
6412
|
"type": [
|
|
6413
|
-
"
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
"
|
|
6418
|
-
|
|
6419
|
-
{
|
|
6420
|
-
"name": "parameter_name",
|
|
6421
|
-
"type": "string"
|
|
6422
|
-
},
|
|
6423
|
-
{
|
|
6424
|
-
"name": "value_type",
|
|
6425
|
-
"type": [
|
|
6426
|
-
"mapper",
|
|
6427
|
-
{
|
|
6428
|
-
"type": "lu16",
|
|
6429
|
-
"mappings": {
|
|
6430
|
-
"1": "int",
|
|
6431
|
-
"2": "float",
|
|
6432
|
-
"3": "value",
|
|
6433
|
-
"4": "wildcard_int",
|
|
6434
|
-
"5": "operator",
|
|
6435
|
-
"6": "target",
|
|
6436
|
-
"16": "file_path",
|
|
6437
|
-
"32": "string",
|
|
6438
|
-
"40": "position",
|
|
6439
|
-
"44": "message",
|
|
6440
|
-
"46": "raw_text",
|
|
6441
|
-
"50": "json",
|
|
6442
|
-
"63": "command"
|
|
6443
|
-
}
|
|
6444
|
-
}
|
|
6445
|
-
]
|
|
6446
|
-
},
|
|
6413
|
+
"container",
|
|
6414
|
+
[
|
|
6415
|
+
{
|
|
6416
|
+
"name": "parameters",
|
|
6417
|
+
"type": [
|
|
6418
|
+
"array",
|
|
6447
6419
|
{
|
|
6448
|
-
"
|
|
6420
|
+
"countType": "varint",
|
|
6449
6421
|
"type": [
|
|
6450
|
-
"
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
"
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
"
|
|
6422
|
+
"container",
|
|
6423
|
+
[
|
|
6424
|
+
{
|
|
6425
|
+
"name": "parameter_name",
|
|
6426
|
+
"type": "string"
|
|
6427
|
+
},
|
|
6428
|
+
{
|
|
6429
|
+
"name": "value_type",
|
|
6430
|
+
"type": [
|
|
6431
|
+
"mapper",
|
|
6432
|
+
{
|
|
6433
|
+
"type": "lu16",
|
|
6434
|
+
"mappings": {
|
|
6435
|
+
"1": "int",
|
|
6436
|
+
"2": "float",
|
|
6437
|
+
"3": "value",
|
|
6438
|
+
"4": "wildcard_int",
|
|
6439
|
+
"5": "operator",
|
|
6440
|
+
"6": "target",
|
|
6441
|
+
"16": "file_path",
|
|
6442
|
+
"32": "string",
|
|
6443
|
+
"40": "position",
|
|
6444
|
+
"44": "message",
|
|
6445
|
+
"46": "raw_text",
|
|
6446
|
+
"50": "json",
|
|
6447
|
+
"63": "command"
|
|
6448
|
+
}
|
|
6449
|
+
}
|
|
6450
|
+
]
|
|
6451
|
+
},
|
|
6452
|
+
{
|
|
6453
|
+
"name": "enum_type",
|
|
6454
|
+
"type": [
|
|
6455
|
+
"mapper",
|
|
6456
|
+
{
|
|
6457
|
+
"type": "lu16",
|
|
6458
|
+
"mappings": {
|
|
6459
|
+
"16": "valid",
|
|
6460
|
+
"48": "enum",
|
|
6461
|
+
"256": "suffixed",
|
|
6462
|
+
"1040": "soft_enum"
|
|
6463
|
+
}
|
|
6464
|
+
}
|
|
6465
|
+
]
|
|
6466
|
+
},
|
|
6467
|
+
{
|
|
6468
|
+
"name": "optional",
|
|
6469
|
+
"type": "bool"
|
|
6470
|
+
},
|
|
6471
|
+
{
|
|
6472
|
+
"name": "options",
|
|
6473
|
+
"type": "CommandFlags"
|
|
6458
6474
|
}
|
|
6459
|
-
|
|
6475
|
+
]
|
|
6460
6476
|
]
|
|
6461
|
-
},
|
|
6462
|
-
{
|
|
6463
|
-
"name": "optional",
|
|
6464
|
-
"type": "bool"
|
|
6465
|
-
},
|
|
6466
|
-
{
|
|
6467
|
-
"name": "options",
|
|
6468
|
-
"type": "CommandFlags"
|
|
6469
6477
|
}
|
|
6470
6478
|
]
|
|
6471
|
-
|
|
6472
|
-
|
|
6479
|
+
}
|
|
6480
|
+
]
|
|
6473
6481
|
]
|
|
6474
6482
|
}
|
|
6475
6483
|
]
|
|
@@ -8467,7 +8475,7 @@
|
|
|
8467
8475
|
[
|
|
8468
8476
|
{
|
|
8469
8477
|
"name": "position",
|
|
8470
|
-
"type": "
|
|
8478
|
+
"type": "vec3i"
|
|
8471
8479
|
},
|
|
8472
8480
|
{
|
|
8473
8481
|
"name": "face",
|
|
@@ -8480,7 +8488,7 @@
|
|
|
8480
8488
|
[
|
|
8481
8489
|
{
|
|
8482
8490
|
"name": "position",
|
|
8483
|
-
"type": "
|
|
8491
|
+
"type": "vec3i"
|
|
8484
8492
|
},
|
|
8485
8493
|
{
|
|
8486
8494
|
"name": "face",
|
|
@@ -8493,7 +8501,7 @@
|
|
|
8493
8501
|
[
|
|
8494
8502
|
{
|
|
8495
8503
|
"name": "position",
|
|
8496
|
-
"type": "
|
|
8504
|
+
"type": "vec3i"
|
|
8497
8505
|
},
|
|
8498
8506
|
{
|
|
8499
8507
|
"name": "face",
|
|
@@ -8506,7 +8514,7 @@
|
|
|
8506
8514
|
[
|
|
8507
8515
|
{
|
|
8508
8516
|
"name": "position",
|
|
8509
|
-
"type": "
|
|
8517
|
+
"type": "vec3i"
|
|
8510
8518
|
},
|
|
8511
8519
|
{
|
|
8512
8520
|
"name": "face",
|
|
@@ -8519,7 +8527,7 @@
|
|
|
8519
8527
|
[
|
|
8520
8528
|
{
|
|
8521
8529
|
"name": "position",
|
|
8522
|
-
"type": "
|
|
8530
|
+
"type": "vec3i"
|
|
8523
8531
|
},
|
|
8524
8532
|
{
|
|
8525
8533
|
"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
|
|
@@ -856,7 +856,7 @@ packet_entity_event:
|
|
|
856
856
|
71: balloon_pop
|
|
857
857
|
72: treasure_hunt
|
|
858
858
|
73: agent_summon
|
|
859
|
-
74:
|
|
859
|
+
74: charged_item
|
|
860
860
|
75: fall
|
|
861
861
|
data: zigzag32
|
|
862
862
|
|
|
@@ -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
|
|
@@ -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",
|
|
@@ -5129,7 +5129,7 @@
|
|
|
5129
5129
|
"71": "balloon_pop",
|
|
5130
5130
|
"72": "treasure_hunt",
|
|
5131
5131
|
"73": "agent_summon",
|
|
5132
|
-
"74": "
|
|
5132
|
+
"74": "charged_item",
|
|
5133
5133
|
"75": "fall"
|
|
5134
5134
|
}
|
|
5135
5135
|
}
|
|
@@ -6411,66 +6411,74 @@
|
|
|
6411
6411
|
{
|
|
6412
6412
|
"countType": "varint",
|
|
6413
6413
|
"type": [
|
|
6414
|
-
"
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
"
|
|
6419
|
-
|
|
6420
|
-
{
|
|
6421
|
-
"name": "parameter_name",
|
|
6422
|
-
"type": "string"
|
|
6423
|
-
},
|
|
6424
|
-
{
|
|
6425
|
-
"name": "value_type",
|
|
6426
|
-
"type": [
|
|
6427
|
-
"mapper",
|
|
6428
|
-
{
|
|
6429
|
-
"type": "lu16",
|
|
6430
|
-
"mappings": {
|
|
6431
|
-
"1": "int",
|
|
6432
|
-
"2": "float",
|
|
6433
|
-
"3": "value",
|
|
6434
|
-
"4": "wildcard_int",
|
|
6435
|
-
"5": "operator",
|
|
6436
|
-
"6": "target",
|
|
6437
|
-
"16": "file_path",
|
|
6438
|
-
"32": "string",
|
|
6439
|
-
"40": "position",
|
|
6440
|
-
"44": "message",
|
|
6441
|
-
"46": "raw_text",
|
|
6442
|
-
"50": "json",
|
|
6443
|
-
"63": "command"
|
|
6444
|
-
}
|
|
6445
|
-
}
|
|
6446
|
-
]
|
|
6447
|
-
},
|
|
6414
|
+
"container",
|
|
6415
|
+
[
|
|
6416
|
+
{
|
|
6417
|
+
"name": "parameters",
|
|
6418
|
+
"type": [
|
|
6419
|
+
"array",
|
|
6448
6420
|
{
|
|
6449
|
-
"
|
|
6421
|
+
"countType": "varint",
|
|
6450
6422
|
"type": [
|
|
6451
|
-
"
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
"
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
"
|
|
6423
|
+
"container",
|
|
6424
|
+
[
|
|
6425
|
+
{
|
|
6426
|
+
"name": "parameter_name",
|
|
6427
|
+
"type": "string"
|
|
6428
|
+
},
|
|
6429
|
+
{
|
|
6430
|
+
"name": "value_type",
|
|
6431
|
+
"type": [
|
|
6432
|
+
"mapper",
|
|
6433
|
+
{
|
|
6434
|
+
"type": "lu16",
|
|
6435
|
+
"mappings": {
|
|
6436
|
+
"1": "int",
|
|
6437
|
+
"2": "float",
|
|
6438
|
+
"3": "value",
|
|
6439
|
+
"4": "wildcard_int",
|
|
6440
|
+
"5": "operator",
|
|
6441
|
+
"6": "target",
|
|
6442
|
+
"16": "file_path",
|
|
6443
|
+
"32": "string",
|
|
6444
|
+
"40": "position",
|
|
6445
|
+
"44": "message",
|
|
6446
|
+
"46": "raw_text",
|
|
6447
|
+
"50": "json",
|
|
6448
|
+
"63": "command"
|
|
6449
|
+
}
|
|
6450
|
+
}
|
|
6451
|
+
]
|
|
6452
|
+
},
|
|
6453
|
+
{
|
|
6454
|
+
"name": "enum_type",
|
|
6455
|
+
"type": [
|
|
6456
|
+
"mapper",
|
|
6457
|
+
{
|
|
6458
|
+
"type": "lu16",
|
|
6459
|
+
"mappings": {
|
|
6460
|
+
"16": "valid",
|
|
6461
|
+
"48": "enum",
|
|
6462
|
+
"256": "suffixed",
|
|
6463
|
+
"1040": "soft_enum"
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
]
|
|
6467
|
+
},
|
|
6468
|
+
{
|
|
6469
|
+
"name": "optional",
|
|
6470
|
+
"type": "bool"
|
|
6471
|
+
},
|
|
6472
|
+
{
|
|
6473
|
+
"name": "options",
|
|
6474
|
+
"type": "CommandFlags"
|
|
6459
6475
|
}
|
|
6460
|
-
|
|
6476
|
+
]
|
|
6461
6477
|
]
|
|
6462
|
-
},
|
|
6463
|
-
{
|
|
6464
|
-
"name": "optional",
|
|
6465
|
-
"type": "bool"
|
|
6466
|
-
},
|
|
6467
|
-
{
|
|
6468
|
-
"name": "options",
|
|
6469
|
-
"type": "CommandFlags"
|
|
6470
6478
|
}
|
|
6471
6479
|
]
|
|
6472
|
-
|
|
6473
|
-
|
|
6480
|
+
}
|
|
6481
|
+
]
|
|
6474
6482
|
]
|
|
6475
6483
|
}
|
|
6476
6484
|
]
|
|
@@ -8468,7 +8476,7 @@
|
|
|
8468
8476
|
[
|
|
8469
8477
|
{
|
|
8470
8478
|
"name": "position",
|
|
8471
|
-
"type": "
|
|
8479
|
+
"type": "vec3i"
|
|
8472
8480
|
},
|
|
8473
8481
|
{
|
|
8474
8482
|
"name": "face",
|
|
@@ -8481,7 +8489,7 @@
|
|
|
8481
8489
|
[
|
|
8482
8490
|
{
|
|
8483
8491
|
"name": "position",
|
|
8484
|
-
"type": "
|
|
8492
|
+
"type": "vec3i"
|
|
8485
8493
|
},
|
|
8486
8494
|
{
|
|
8487
8495
|
"name": "face",
|
|
@@ -8494,7 +8502,7 @@
|
|
|
8494
8502
|
[
|
|
8495
8503
|
{
|
|
8496
8504
|
"name": "position",
|
|
8497
|
-
"type": "
|
|
8505
|
+
"type": "vec3i"
|
|
8498
8506
|
},
|
|
8499
8507
|
{
|
|
8500
8508
|
"name": "face",
|
|
@@ -8507,7 +8515,7 @@
|
|
|
8507
8515
|
[
|
|
8508
8516
|
{
|
|
8509
8517
|
"name": "position",
|
|
8510
|
-
"type": "
|
|
8518
|
+
"type": "vec3i"
|
|
8511
8519
|
},
|
|
8512
8520
|
{
|
|
8513
8521
|
"name": "face",
|
|
@@ -8520,7 +8528,7 @@
|
|
|
8520
8528
|
[
|
|
8521
8529
|
{
|
|
8522
8530
|
"name": "position",
|
|
8523
|
-
"type": "
|
|
8531
|
+
"type": "vec3i"
|
|
8524
8532
|
},
|
|
8525
8533
|
{
|
|
8526
8534
|
"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
|
|
@@ -859,7 +859,7 @@ packet_entity_event:
|
|
|
859
859
|
71: balloon_pop
|
|
860
860
|
72: treasure_hunt
|
|
861
861
|
73: agent_summon
|
|
862
|
-
74:
|
|
862
|
+
74: charged_item
|
|
863
863
|
75: fall
|
|
864
864
|
data: zigzag32
|
|
865
865
|
|
|
@@ -1607,7 +1607,7 @@ packet_available_commands:
|
|
|
1607
1607
|
# The list of overload parameters for this command
|
|
1608
1608
|
overloads: []varint
|
|
1609
1609
|
# Each of the parameters gets an array of posible overloads
|
|
1610
|
-
|
|
1610
|
+
parameters: []varint
|
|
1611
1611
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1612
1612
|
parameter_name: string
|
|
1613
1613
|
value_type: lu16 =>
|
|
@@ -1627,9 +1627,9 @@ packet_available_commands:
|
|
|
1627
1627
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1628
1628
|
enum_type: lu16 =>
|
|
1629
1629
|
0x10: valid
|
|
1630
|
-
|
|
1630
|
+
0x30: enum
|
|
1631
1631
|
0x100: suffixed
|
|
1632
|
-
|
|
1632
|
+
0x410: soft_enum
|
|
1633
1633
|
# Is this parameter required?
|
|
1634
1634
|
optional: bool
|
|
1635
1635
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -2858,7 +2858,7 @@ packet_player_auth_input:
|
|
|
2858
2858
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
2859
2859
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
2860
2860
|
# block. If that is not the case, the block position will be zero.
|
|
2861
|
-
position:
|
|
2861
|
+
position: vec3i
|
|
2862
2862
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
2863
2863
|
# concerned a block. If not, the face is always 0.
|
|
2864
2864
|
face: zigzag32
|
|
@@ -3319,4 +3319,4 @@ packet_subchunk_request:
|
|
|
3319
3319
|
dimension: zigzag32
|
|
3320
3320
|
x: zigzag32
|
|
3321
3321
|
y: zigzag32
|
|
3322
|
-
z: zigzag32
|
|
3322
|
+
z: zigzag32
|