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
|
@@ -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
|
|
@@ -942,7 +942,7 @@ packet_entity_event:
|
|
|
942
942
|
71: balloon_pop
|
|
943
943
|
72: treasure_hunt
|
|
944
944
|
73: agent_summon
|
|
945
|
-
74:
|
|
945
|
+
74: charged_item
|
|
946
946
|
75: fall
|
|
947
947
|
76: grow_up
|
|
948
948
|
77: vibration_detected
|
|
@@ -1705,7 +1705,7 @@ packet_available_commands:
|
|
|
1705
1705
|
# The list of overload parameters for this command
|
|
1706
1706
|
overloads: []varint
|
|
1707
1707
|
# Each of the parameters gets an array of posible overloads
|
|
1708
|
-
|
|
1708
|
+
parameters: []varint
|
|
1709
1709
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1710
1710
|
parameter_name: string
|
|
1711
1711
|
value_type: lu16 =>
|
|
@@ -1731,9 +1731,9 @@ packet_available_commands:
|
|
|
1731
1731
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1732
1732
|
enum_type: lu16 =>
|
|
1733
1733
|
0x10: valid
|
|
1734
|
-
|
|
1734
|
+
0x30: enum
|
|
1735
1735
|
0x100: suffixed
|
|
1736
|
-
|
|
1736
|
+
0x410: soft_enum
|
|
1737
1737
|
# Is this parameter required?
|
|
1738
1738
|
optional: bool
|
|
1739
1739
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -3001,7 +3001,7 @@ packet_player_auth_input:
|
|
|
3001
3001
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
3002
3002
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
3003
3003
|
# block. If that is not the case, the block position will be zero.
|
|
3004
|
-
position:
|
|
3004
|
+
position: vec3i
|
|
3005
3005
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
3006
3006
|
# concerned a block. If not, the face is always 0.
|
|
3007
3007
|
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",
|
|
@@ -5559,7 +5559,7 @@
|
|
|
5559
5559
|
"71": "balloon_pop",
|
|
5560
5560
|
"72": "treasure_hunt",
|
|
5561
5561
|
"73": "agent_summon",
|
|
5562
|
-
"74": "
|
|
5562
|
+
"74": "charged_item",
|
|
5563
5563
|
"75": "fall",
|
|
5564
5564
|
"76": "grow_up",
|
|
5565
5565
|
"77": "vibration_detected",
|
|
@@ -6908,72 +6908,80 @@
|
|
|
6908
6908
|
{
|
|
6909
6909
|
"countType": "varint",
|
|
6910
6910
|
"type": [
|
|
6911
|
-
"
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
"
|
|
6916
|
-
|
|
6917
|
-
{
|
|
6918
|
-
"name": "parameter_name",
|
|
6919
|
-
"type": "string"
|
|
6920
|
-
},
|
|
6921
|
-
{
|
|
6922
|
-
"name": "value_type",
|
|
6923
|
-
"type": [
|
|
6924
|
-
"mapper",
|
|
6925
|
-
{
|
|
6926
|
-
"type": "lu16",
|
|
6927
|
-
"mappings": {
|
|
6928
|
-
"1": "int",
|
|
6929
|
-
"3": "float",
|
|
6930
|
-
"4": "value",
|
|
6931
|
-
"5": "wildcard_int",
|
|
6932
|
-
"6": "operator",
|
|
6933
|
-
"7": "command_operator",
|
|
6934
|
-
"8": "target",
|
|
6935
|
-
"10": "wildcard_target",
|
|
6936
|
-
"17": "file_path",
|
|
6937
|
-
"23": "integer_range",
|
|
6938
|
-
"38": "equipment_slots",
|
|
6939
|
-
"39": "string",
|
|
6940
|
-
"47": "block_position",
|
|
6941
|
-
"48": "position",
|
|
6942
|
-
"51": "message",
|
|
6943
|
-
"53": "raw_text",
|
|
6944
|
-
"57": "json",
|
|
6945
|
-
"67": "block_states",
|
|
6946
|
-
"70": "command"
|
|
6947
|
-
}
|
|
6948
|
-
}
|
|
6949
|
-
]
|
|
6950
|
-
},
|
|
6911
|
+
"container",
|
|
6912
|
+
[
|
|
6913
|
+
{
|
|
6914
|
+
"name": "parameters",
|
|
6915
|
+
"type": [
|
|
6916
|
+
"array",
|
|
6951
6917
|
{
|
|
6952
|
-
"
|
|
6918
|
+
"countType": "varint",
|
|
6953
6919
|
"type": [
|
|
6954
|
-
"
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
"
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
"
|
|
6920
|
+
"container",
|
|
6921
|
+
[
|
|
6922
|
+
{
|
|
6923
|
+
"name": "parameter_name",
|
|
6924
|
+
"type": "string"
|
|
6925
|
+
},
|
|
6926
|
+
{
|
|
6927
|
+
"name": "value_type",
|
|
6928
|
+
"type": [
|
|
6929
|
+
"mapper",
|
|
6930
|
+
{
|
|
6931
|
+
"type": "lu16",
|
|
6932
|
+
"mappings": {
|
|
6933
|
+
"1": "int",
|
|
6934
|
+
"3": "float",
|
|
6935
|
+
"4": "value",
|
|
6936
|
+
"5": "wildcard_int",
|
|
6937
|
+
"6": "operator",
|
|
6938
|
+
"7": "command_operator",
|
|
6939
|
+
"8": "target",
|
|
6940
|
+
"10": "wildcard_target",
|
|
6941
|
+
"17": "file_path",
|
|
6942
|
+
"23": "integer_range",
|
|
6943
|
+
"38": "equipment_slots",
|
|
6944
|
+
"39": "string",
|
|
6945
|
+
"47": "block_position",
|
|
6946
|
+
"48": "position",
|
|
6947
|
+
"51": "message",
|
|
6948
|
+
"53": "raw_text",
|
|
6949
|
+
"57": "json",
|
|
6950
|
+
"67": "block_states",
|
|
6951
|
+
"70": "command"
|
|
6952
|
+
}
|
|
6953
|
+
}
|
|
6954
|
+
]
|
|
6955
|
+
},
|
|
6956
|
+
{
|
|
6957
|
+
"name": "enum_type",
|
|
6958
|
+
"type": [
|
|
6959
|
+
"mapper",
|
|
6960
|
+
{
|
|
6961
|
+
"type": "lu16",
|
|
6962
|
+
"mappings": {
|
|
6963
|
+
"16": "valid",
|
|
6964
|
+
"48": "enum",
|
|
6965
|
+
"256": "suffixed",
|
|
6966
|
+
"1040": "soft_enum"
|
|
6967
|
+
}
|
|
6968
|
+
}
|
|
6969
|
+
]
|
|
6970
|
+
},
|
|
6971
|
+
{
|
|
6972
|
+
"name": "optional",
|
|
6973
|
+
"type": "bool"
|
|
6974
|
+
},
|
|
6975
|
+
{
|
|
6976
|
+
"name": "options",
|
|
6977
|
+
"type": "CommandFlags"
|
|
6962
6978
|
}
|
|
6963
|
-
|
|
6979
|
+
]
|
|
6964
6980
|
]
|
|
6965
|
-
},
|
|
6966
|
-
{
|
|
6967
|
-
"name": "optional",
|
|
6968
|
-
"type": "bool"
|
|
6969
|
-
},
|
|
6970
|
-
{
|
|
6971
|
-
"name": "options",
|
|
6972
|
-
"type": "CommandFlags"
|
|
6973
6981
|
}
|
|
6974
6982
|
]
|
|
6975
|
-
|
|
6976
|
-
|
|
6983
|
+
}
|
|
6984
|
+
]
|
|
6977
6985
|
]
|
|
6978
6986
|
}
|
|
6979
6987
|
]
|
|
@@ -9087,7 +9095,7 @@
|
|
|
9087
9095
|
[
|
|
9088
9096
|
{
|
|
9089
9097
|
"name": "position",
|
|
9090
|
-
"type": "
|
|
9098
|
+
"type": "vec3i"
|
|
9091
9099
|
},
|
|
9092
9100
|
{
|
|
9093
9101
|
"name": "face",
|
|
@@ -9100,7 +9108,7 @@
|
|
|
9100
9108
|
[
|
|
9101
9109
|
{
|
|
9102
9110
|
"name": "position",
|
|
9103
|
-
"type": "
|
|
9111
|
+
"type": "vec3i"
|
|
9104
9112
|
},
|
|
9105
9113
|
{
|
|
9106
9114
|
"name": "face",
|
|
@@ -9113,7 +9121,7 @@
|
|
|
9113
9121
|
[
|
|
9114
9122
|
{
|
|
9115
9123
|
"name": "position",
|
|
9116
|
-
"type": "
|
|
9124
|
+
"type": "vec3i"
|
|
9117
9125
|
},
|
|
9118
9126
|
{
|
|
9119
9127
|
"name": "face",
|
|
@@ -9126,7 +9134,7 @@
|
|
|
9126
9134
|
[
|
|
9127
9135
|
{
|
|
9128
9136
|
"name": "position",
|
|
9129
|
-
"type": "
|
|
9137
|
+
"type": "vec3i"
|
|
9130
9138
|
},
|
|
9131
9139
|
{
|
|
9132
9140
|
"name": "face",
|
|
@@ -9139,7 +9147,7 @@
|
|
|
9139
9147
|
[
|
|
9140
9148
|
{
|
|
9141
9149
|
"name": "position",
|
|
9142
|
-
"type": "
|
|
9150
|
+
"type": "vec3i"
|
|
9143
9151
|
},
|
|
9144
9152
|
{
|
|
9145
9153
|
"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
|
|
@@ -949,7 +949,7 @@ packet_entity_event:
|
|
|
949
949
|
71: balloon_pop
|
|
950
950
|
72: treasure_hunt
|
|
951
951
|
73: agent_summon
|
|
952
|
-
74:
|
|
952
|
+
74: charged_item
|
|
953
953
|
75: fall
|
|
954
954
|
76: grow_up
|
|
955
955
|
77: vibration_detected
|
|
@@ -1715,7 +1715,7 @@ packet_available_commands:
|
|
|
1715
1715
|
# The list of overload parameters for this command
|
|
1716
1716
|
overloads: []varint
|
|
1717
1717
|
# Each of the parameters gets an array of posible overloads
|
|
1718
|
-
|
|
1718
|
+
parameters: []varint
|
|
1719
1719
|
# The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
|
|
1720
1720
|
parameter_name: string
|
|
1721
1721
|
value_type: lu16 =>
|
|
@@ -1741,9 +1741,9 @@ packet_available_commands:
|
|
|
1741
1741
|
# In MC, this + prior field are combined to one 32bit bitfield
|
|
1742
1742
|
enum_type: lu16 =>
|
|
1743
1743
|
0x10: valid
|
|
1744
|
-
|
|
1744
|
+
0x30: enum
|
|
1745
1745
|
0x100: suffixed
|
|
1746
|
-
|
|
1746
|
+
0x410: soft_enum
|
|
1747
1747
|
# Is this parameter required?
|
|
1748
1748
|
optional: bool
|
|
1749
1749
|
# Additinal options for this command (thanks macroshaft...)
|
|
@@ -3011,7 +3011,7 @@ packet_player_auth_input:
|
|
|
3011
3011
|
if start_break or abort_break or crack_break or predict_break or continue_break:
|
|
3012
3012
|
# BlockPosition is the position of the target block, if the action with the ActionType set concerned a
|
|
3013
3013
|
# block. If that is not the case, the block position will be zero.
|
|
3014
|
-
position:
|
|
3014
|
+
position: vec3i
|
|
3015
3015
|
# BlockFace is the face of the target block that was touched. If the action with the ActionType set
|
|
3016
3016
|
# concerned a block. If not, the face is always 0.
|
|
3017
3017
|
face: zigzag32
|