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
|
@@ -943,11 +943,11 @@
|
|
|
943
943
|
},
|
|
944
944
|
{
|
|
945
945
|
"name": "block_position",
|
|
946
|
-
"type": "
|
|
946
|
+
"type": "BlockCoordinates"
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
949
|
"name": "face",
|
|
950
|
-
"type": "
|
|
950
|
+
"type": "zigzag32"
|
|
951
951
|
},
|
|
952
952
|
{
|
|
953
953
|
"name": "hotbar_slot",
|
|
@@ -5389,7 +5389,7 @@
|
|
|
5389
5389
|
"71": "balloon_pop",
|
|
5390
5390
|
"72": "treasure_hunt",
|
|
5391
5391
|
"73": "agent_summon",
|
|
5392
|
-
"74": "
|
|
5392
|
+
"74": "charged_item",
|
|
5393
5393
|
"75": "fall",
|
|
5394
5394
|
"76": "grow_up",
|
|
5395
5395
|
"77": "vibration_detected",
|
|
@@ -6712,72 +6712,80 @@
|
|
|
6712
6712
|
{
|
|
6713
6713
|
"countType": "varint",
|
|
6714
6714
|
"type": [
|
|
6715
|
-
"
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
"
|
|
6720
|
-
|
|
6721
|
-
{
|
|
6722
|
-
"name": "parameter_name",
|
|
6723
|
-
"type": "string"
|
|
6724
|
-
},
|
|
6725
|
-
{
|
|
6726
|
-
"name": "value_type",
|
|
6727
|
-
"type": [
|
|
6728
|
-
"mapper",
|
|
6729
|
-
{
|
|
6730
|
-
"type": "lu16",
|
|
6731
|
-
"mappings": {
|
|
6732
|
-
"1": "int",
|
|
6733
|
-
"3": "float",
|
|
6734
|
-
"4": "value",
|
|
6735
|
-
"5": "wildcard_int",
|
|
6736
|
-
"6": "operator",
|
|
6737
|
-
"7": "command_operator",
|
|
6738
|
-
"8": "target",
|
|
6739
|
-
"10": "wildcard_target",
|
|
6740
|
-
"17": "file_path",
|
|
6741
|
-
"23": "integer_range",
|
|
6742
|
-
"38": "equipment_slots",
|
|
6743
|
-
"39": "string",
|
|
6744
|
-
"47": "block_position",
|
|
6745
|
-
"48": "position",
|
|
6746
|
-
"51": "message",
|
|
6747
|
-
"53": "raw_text",
|
|
6748
|
-
"57": "json",
|
|
6749
|
-
"67": "block_states",
|
|
6750
|
-
"70": "command"
|
|
6751
|
-
}
|
|
6752
|
-
}
|
|
6753
|
-
]
|
|
6754
|
-
},
|
|
6715
|
+
"container",
|
|
6716
|
+
[
|
|
6717
|
+
{
|
|
6718
|
+
"name": "parameters",
|
|
6719
|
+
"type": [
|
|
6720
|
+
"array",
|
|
6755
6721
|
{
|
|
6756
|
-
"
|
|
6722
|
+
"countType": "varint",
|
|
6757
6723
|
"type": [
|
|
6758
|
-
"
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
"
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
"
|
|
6724
|
+
"container",
|
|
6725
|
+
[
|
|
6726
|
+
{
|
|
6727
|
+
"name": "parameter_name",
|
|
6728
|
+
"type": "string"
|
|
6729
|
+
},
|
|
6730
|
+
{
|
|
6731
|
+
"name": "value_type",
|
|
6732
|
+
"type": [
|
|
6733
|
+
"mapper",
|
|
6734
|
+
{
|
|
6735
|
+
"type": "lu16",
|
|
6736
|
+
"mappings": {
|
|
6737
|
+
"1": "int",
|
|
6738
|
+
"3": "float",
|
|
6739
|
+
"4": "value",
|
|
6740
|
+
"5": "wildcard_int",
|
|
6741
|
+
"6": "operator",
|
|
6742
|
+
"7": "command_operator",
|
|
6743
|
+
"8": "target",
|
|
6744
|
+
"10": "wildcard_target",
|
|
6745
|
+
"17": "file_path",
|
|
6746
|
+
"23": "integer_range",
|
|
6747
|
+
"38": "equipment_slots",
|
|
6748
|
+
"39": "string",
|
|
6749
|
+
"47": "block_position",
|
|
6750
|
+
"48": "position",
|
|
6751
|
+
"51": "message",
|
|
6752
|
+
"53": "raw_text",
|
|
6753
|
+
"57": "json",
|
|
6754
|
+
"67": "block_states",
|
|
6755
|
+
"70": "command"
|
|
6756
|
+
}
|
|
6757
|
+
}
|
|
6758
|
+
]
|
|
6759
|
+
},
|
|
6760
|
+
{
|
|
6761
|
+
"name": "enum_type",
|
|
6762
|
+
"type": [
|
|
6763
|
+
"mapper",
|
|
6764
|
+
{
|
|
6765
|
+
"type": "lu16",
|
|
6766
|
+
"mappings": {
|
|
6767
|
+
"16": "valid",
|
|
6768
|
+
"48": "enum",
|
|
6769
|
+
"256": "suffixed",
|
|
6770
|
+
"1040": "soft_enum"
|
|
6771
|
+
}
|
|
6772
|
+
}
|
|
6773
|
+
]
|
|
6774
|
+
},
|
|
6775
|
+
{
|
|
6776
|
+
"name": "optional",
|
|
6777
|
+
"type": "bool"
|
|
6778
|
+
},
|
|
6779
|
+
{
|
|
6780
|
+
"name": "options",
|
|
6781
|
+
"type": "CommandFlags"
|
|
6766
6782
|
}
|
|
6767
|
-
|
|
6783
|
+
]
|
|
6768
6784
|
]
|
|
6769
|
-
},
|
|
6770
|
-
{
|
|
6771
|
-
"name": "optional",
|
|
6772
|
-
"type": "bool"
|
|
6773
|
-
},
|
|
6774
|
-
{
|
|
6775
|
-
"name": "options",
|
|
6776
|
-
"type": "CommandFlags"
|
|
6777
6785
|
}
|
|
6778
6786
|
]
|
|
6779
|
-
|
|
6780
|
-
|
|
6787
|
+
}
|
|
6788
|
+
]
|
|
6781
6789
|
]
|
|
6782
6790
|
}
|
|
6783
6791
|
]
|
|
@@ -8793,7 +8801,7 @@
|
|
|
8793
8801
|
[
|
|
8794
8802
|
{
|
|
8795
8803
|
"name": "position",
|
|
8796
|
-
"type": "
|
|
8804
|
+
"type": "vec3i"
|
|
8797
8805
|
},
|
|
8798
8806
|
{
|
|
8799
8807
|
"name": "face",
|
|
@@ -8806,7 +8814,7 @@
|
|
|
8806
8814
|
[
|
|
8807
8815
|
{
|
|
8808
8816
|
"name": "position",
|
|
8809
|
-
"type": "
|
|
8817
|
+
"type": "vec3i"
|
|
8810
8818
|
},
|
|
8811
8819
|
{
|
|
8812
8820
|
"name": "face",
|
|
@@ -8819,7 +8827,7 @@
|
|
|
8819
8827
|
[
|
|
8820
8828
|
{
|
|
8821
8829
|
"name": "position",
|
|
8822
|
-
"type": "
|
|
8830
|
+
"type": "vec3i"
|
|
8823
8831
|
},
|
|
8824
8832
|
{
|
|
8825
8833
|
"name": "face",
|
|
@@ -8832,7 +8840,7 @@
|
|
|
8832
8840
|
[
|
|
8833
8841
|
{
|
|
8834
8842
|
"name": "position",
|
|
8835
|
-
"type": "
|
|
8843
|
+
"type": "vec3i"
|
|
8836
8844
|
},
|
|
8837
8845
|
{
|
|
8838
8846
|
"name": "face",
|
|
@@ -8845,7 +8853,7 @@
|
|
|
8845
8853
|
[
|
|
8846
8854
|
{
|
|
8847
8855
|
"name": "position",
|
|
8848
|
-
"type": "
|
|
8856
|
+
"type": "vec3i"
|
|
8849
8857
|
},
|
|
8850
8858
|
{
|
|
8851
8859
|
"name": "face",
|
|
@@ -480,10 +480,10 @@ TransactionUseItem:
|
|
|
480
480
|
2: break_block
|
|
481
481
|
# BlockPosition is the position of the block that was interacted with. This is only really a correct
|
|
482
482
|
# block position if ActionType is not UseItemActionClickAir.
|
|
483
|
-
block_position:
|
|
483
|
+
block_position: BlockCoordinates
|
|
484
484
|
# BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
|
|
485
485
|
# clicked. When breaking the block, it is the face that was last being hit until the block broke.
|
|
486
|
-
face:
|
|
486
|
+
face: zigzag32
|
|
487
487
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
|
|
488
488
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
489
489
|
hotbar_slot: varint
|
|
@@ -941,7 +941,7 @@ packet_entity_event:
|
|
|
941
941
|
71: balloon_pop
|
|
942
942
|
72: treasure_hunt
|
|
943
943
|
73: agent_summon
|
|
944
|
-
74:
|
|
944
|
+
74: charged_item
|
|
945
945
|
75: fall
|
|
946
946
|
76: grow_up
|
|
947
947
|
77: vibration_detected
|
|
@@ -1704,7 +1704,7 @@ packet_available_commands:
|
|
|
1704
1704
|
# The list of overload parameters for this command
|
|
1705
1705
|
overloads: []varint
|
|
1706
1706
|
# Each of the parameters gets an array of posible overloads
|
|
1707
|
-
|
|
1707
|
+
parameters: []varint
|
|
1708
1708
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1709
1709
|
parameter_name: string
|
|
1710
1710
|
value_type: lu16 =>
|
|
@@ -1730,9 +1730,9 @@ packet_available_commands:
|
|
|
1730
1730
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1731
1731
|
enum_type: lu16 =>
|
|
1732
1732
|
0x10: valid
|
|
1733
|
-
|
|
1733
|
+
0x30: enum
|
|
1734
1734
|
0x100: suffixed
|
|
1735
|
-
|
|
1735
|
+
0x410: soft_enum
|
|
1736
1736
|
# Is this parameter required?
|
|
1737
1737
|
optional: bool
|
|
1738
1738
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -2986,7 +2986,7 @@ packet_player_auth_input:
|
|
|
2986
2986
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
2987
2987
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
2988
2988
|
# block. If that is not the case, the block position will be zero.
|
|
2989
|
-
position:
|
|
2989
|
+
position: vec3i
|
|
2990
2990
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
2991
2991
|
# concerned a block. If not, the face is always 0.
|
|
2992
2992
|
face: zigzag32
|
|
@@ -981,11 +981,11 @@
|
|
|
981
981
|
},
|
|
982
982
|
{
|
|
983
983
|
"name": "block_position",
|
|
984
|
-
"type": "
|
|
984
|
+
"type": "BlockCoordinates"
|
|
985
985
|
},
|
|
986
986
|
{
|
|
987
987
|
"name": "face",
|
|
988
|
-
"type": "
|
|
988
|
+
"type": "zigzag32"
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
991
|
"name": "hotbar_slot",
|
|
@@ -5459,7 +5459,7 @@
|
|
|
5459
5459
|
"71": "balloon_pop",
|
|
5460
5460
|
"72": "treasure_hunt",
|
|
5461
5461
|
"73": "agent_summon",
|
|
5462
|
-
"74": "
|
|
5462
|
+
"74": "charged_item",
|
|
5463
5463
|
"75": "fall",
|
|
5464
5464
|
"76": "grow_up",
|
|
5465
5465
|
"77": "vibration_detected",
|
|
@@ -6808,72 +6808,80 @@
|
|
|
6808
6808
|
{
|
|
6809
6809
|
"countType": "varint",
|
|
6810
6810
|
"type": [
|
|
6811
|
-
"
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
"
|
|
6816
|
-
|
|
6817
|
-
{
|
|
6818
|
-
"name": "parameter_name",
|
|
6819
|
-
"type": "string"
|
|
6820
|
-
},
|
|
6821
|
-
{
|
|
6822
|
-
"name": "value_type",
|
|
6823
|
-
"type": [
|
|
6824
|
-
"mapper",
|
|
6825
|
-
{
|
|
6826
|
-
"type": "lu16",
|
|
6827
|
-
"mappings": {
|
|
6828
|
-
"1": "int",
|
|
6829
|
-
"3": "float",
|
|
6830
|
-
"4": "value",
|
|
6831
|
-
"5": "wildcard_int",
|
|
6832
|
-
"6": "operator",
|
|
6833
|
-
"7": "command_operator",
|
|
6834
|
-
"8": "target",
|
|
6835
|
-
"10": "wildcard_target",
|
|
6836
|
-
"17": "file_path",
|
|
6837
|
-
"23": "integer_range",
|
|
6838
|
-
"38": "equipment_slots",
|
|
6839
|
-
"39": "string",
|
|
6840
|
-
"47": "block_position",
|
|
6841
|
-
"48": "position",
|
|
6842
|
-
"51": "message",
|
|
6843
|
-
"53": "raw_text",
|
|
6844
|
-
"57": "json",
|
|
6845
|
-
"67": "block_states",
|
|
6846
|
-
"70": "command"
|
|
6847
|
-
}
|
|
6848
|
-
}
|
|
6849
|
-
]
|
|
6850
|
-
},
|
|
6811
|
+
"container",
|
|
6812
|
+
[
|
|
6813
|
+
{
|
|
6814
|
+
"name": "parameters",
|
|
6815
|
+
"type": [
|
|
6816
|
+
"array",
|
|
6851
6817
|
{
|
|
6852
|
-
"
|
|
6818
|
+
"countType": "varint",
|
|
6853
6819
|
"type": [
|
|
6854
|
-
"
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
"
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
"
|
|
6820
|
+
"container",
|
|
6821
|
+
[
|
|
6822
|
+
{
|
|
6823
|
+
"name": "parameter_name",
|
|
6824
|
+
"type": "string"
|
|
6825
|
+
},
|
|
6826
|
+
{
|
|
6827
|
+
"name": "value_type",
|
|
6828
|
+
"type": [
|
|
6829
|
+
"mapper",
|
|
6830
|
+
{
|
|
6831
|
+
"type": "lu16",
|
|
6832
|
+
"mappings": {
|
|
6833
|
+
"1": "int",
|
|
6834
|
+
"3": "float",
|
|
6835
|
+
"4": "value",
|
|
6836
|
+
"5": "wildcard_int",
|
|
6837
|
+
"6": "operator",
|
|
6838
|
+
"7": "command_operator",
|
|
6839
|
+
"8": "target",
|
|
6840
|
+
"10": "wildcard_target",
|
|
6841
|
+
"17": "file_path",
|
|
6842
|
+
"23": "integer_range",
|
|
6843
|
+
"38": "equipment_slots",
|
|
6844
|
+
"39": "string",
|
|
6845
|
+
"47": "block_position",
|
|
6846
|
+
"48": "position",
|
|
6847
|
+
"51": "message",
|
|
6848
|
+
"53": "raw_text",
|
|
6849
|
+
"57": "json",
|
|
6850
|
+
"67": "block_states",
|
|
6851
|
+
"70": "command"
|
|
6852
|
+
}
|
|
6853
|
+
}
|
|
6854
|
+
]
|
|
6855
|
+
},
|
|
6856
|
+
{
|
|
6857
|
+
"name": "enum_type",
|
|
6858
|
+
"type": [
|
|
6859
|
+
"mapper",
|
|
6860
|
+
{
|
|
6861
|
+
"type": "lu16",
|
|
6862
|
+
"mappings": {
|
|
6863
|
+
"16": "valid",
|
|
6864
|
+
"48": "enum",
|
|
6865
|
+
"256": "suffixed",
|
|
6866
|
+
"1040": "soft_enum"
|
|
6867
|
+
}
|
|
6868
|
+
}
|
|
6869
|
+
]
|
|
6870
|
+
},
|
|
6871
|
+
{
|
|
6872
|
+
"name": "optional",
|
|
6873
|
+
"type": "bool"
|
|
6874
|
+
},
|
|
6875
|
+
{
|
|
6876
|
+
"name": "options",
|
|
6877
|
+
"type": "CommandFlags"
|
|
6862
6878
|
}
|
|
6863
|
-
|
|
6879
|
+
]
|
|
6864
6880
|
]
|
|
6865
|
-
},
|
|
6866
|
-
{
|
|
6867
|
-
"name": "optional",
|
|
6868
|
-
"type": "bool"
|
|
6869
|
-
},
|
|
6870
|
-
{
|
|
6871
|
-
"name": "options",
|
|
6872
|
-
"type": "CommandFlags"
|
|
6873
6881
|
}
|
|
6874
6882
|
]
|
|
6875
|
-
|
|
6876
|
-
|
|
6883
|
+
}
|
|
6884
|
+
]
|
|
6877
6885
|
]
|
|
6878
6886
|
}
|
|
6879
6887
|
]
|
|
@@ -8958,7 +8966,7 @@
|
|
|
8958
8966
|
[
|
|
8959
8967
|
{
|
|
8960
8968
|
"name": "position",
|
|
8961
|
-
"type": "
|
|
8969
|
+
"type": "vec3i"
|
|
8962
8970
|
},
|
|
8963
8971
|
{
|
|
8964
8972
|
"name": "face",
|
|
@@ -8971,7 +8979,7 @@
|
|
|
8971
8979
|
[
|
|
8972
8980
|
{
|
|
8973
8981
|
"name": "position",
|
|
8974
|
-
"type": "
|
|
8982
|
+
"type": "vec3i"
|
|
8975
8983
|
},
|
|
8976
8984
|
{
|
|
8977
8985
|
"name": "face",
|
|
@@ -8984,7 +8992,7 @@
|
|
|
8984
8992
|
[
|
|
8985
8993
|
{
|
|
8986
8994
|
"name": "position",
|
|
8987
|
-
"type": "
|
|
8995
|
+
"type": "vec3i"
|
|
8988
8996
|
},
|
|
8989
8997
|
{
|
|
8990
8998
|
"name": "face",
|
|
@@ -8997,7 +9005,7 @@
|
|
|
8997
9005
|
[
|
|
8998
9006
|
{
|
|
8999
9007
|
"name": "position",
|
|
9000
|
-
"type": "
|
|
9008
|
+
"type": "vec3i"
|
|
9001
9009
|
},
|
|
9002
9010
|
{
|
|
9003
9011
|
"name": "face",
|
|
@@ -9010,7 +9018,7 @@
|
|
|
9010
9018
|
[
|
|
9011
9019
|
{
|
|
9012
9020
|
"name": "position",
|
|
9013
|
-
"type": "
|
|
9021
|
+
"type": "vec3i"
|
|
9014
9022
|
},
|
|
9015
9023
|
{
|
|
9016
9024
|
"name": "face",
|
|
@@ -487,10 +487,10 @@ TransactionUseItem:
|
|
|
487
487
|
2: break_block
|
|
488
488
|
# BlockPosition is the position of the block that was interacted with. This is only really a correct
|
|
489
489
|
# block position if ActionType is not UseItemActionClickAir.
|
|
490
|
-
block_position:
|
|
490
|
+
block_position: BlockCoordinates
|
|
491
491
|
# BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
|
|
492
492
|
# clicked. When breaking the block, it is the face that was last being hit until the block broke.
|
|
493
|
-
face:
|
|
493
|
+
face: zigzag32
|
|
494
494
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
|
|
495
495
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
496
496
|
hotbar_slot: varint
|
|
@@ -941,7 +941,7 @@ packet_entity_event:
|
|
|
941
941
|
71: balloon_pop
|
|
942
942
|
72: treasure_hunt
|
|
943
943
|
73: agent_summon
|
|
944
|
-
74:
|
|
944
|
+
74: charged_item
|
|
945
945
|
75: fall
|
|
946
946
|
76: grow_up
|
|
947
947
|
77: vibration_detected
|
|
@@ -1704,7 +1704,7 @@ packet_available_commands:
|
|
|
1704
1704
|
# The list of overload parameters for this command
|
|
1705
1705
|
overloads: []varint
|
|
1706
1706
|
# Each of the parameters gets an array of posible overloads
|
|
1707
|
-
|
|
1707
|
+
parameters: []varint
|
|
1708
1708
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1709
1709
|
parameter_name: string
|
|
1710
1710
|
value_type: lu16 =>
|
|
@@ -1730,9 +1730,9 @@ packet_available_commands:
|
|
|
1730
1730
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1731
1731
|
enum_type: lu16 =>
|
|
1732
1732
|
0x10: valid
|
|
1733
|
-
|
|
1733
|
+
0x30: enum
|
|
1734
1734
|
0x100: suffixed
|
|
1735
|
-
|
|
1735
|
+
0x410: soft_enum
|
|
1736
1736
|
# Is this parameter required?
|
|
1737
1737
|
optional: bool
|
|
1738
1738
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -2986,7 +2986,7 @@ packet_player_auth_input:
|
|
|
2986
2986
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
2987
2987
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
2988
2988
|
# block. If that is not the case, the block position will be zero.
|
|
2989
|
-
position:
|
|
2989
|
+
position: vec3i
|
|
2990
2990
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
2991
2991
|
# concerned a block. If not, the face is always 0.
|
|
2992
2992
|
face: zigzag32
|