minecraft-data 3.40.0 → 3.42.1
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 +82 -38
- package/doc/history.md +8 -0
- package/index.d.ts +24 -15
- package/minecraft-data/data/bedrock/1.16.201/attributes.json +107 -0
- package/minecraft-data/data/bedrock/1.16.201/language.json +8519 -0
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +3 -3
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +62 -54
- package/minecraft-data/data/bedrock/1.16.210/language.json +8529 -0
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +4 -4
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +62 -54
- package/minecraft-data/data/bedrock/1.16.220/language.json +8555 -0
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +4 -4
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +63 -55
- package/minecraft-data/data/bedrock/1.16.220/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.17.0/language.json +8804 -0
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +3 -3
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +63 -55
- package/minecraft-data/data/bedrock/1.17.0/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.17.10/language.json +8924 -0
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +4 -4
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +63 -55
- package/minecraft-data/data/bedrock/1.17.10/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.17.30/language.json +9110 -0
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +82 -56
- package/minecraft-data/data/bedrock/1.17.30/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.17.40/language.json +9122 -0
- package/minecraft-data/data/bedrock/1.17.40/proto.yml +7 -6
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +82 -56
- package/minecraft-data/data/bedrock/1.17.40/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.18.0/language.json +9208 -0
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +82 -56
- package/minecraft-data/data/bedrock/1.18.0/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.18.11/language.json +9408 -0
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +82 -56
- package/minecraft-data/data/bedrock/1.18.11/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.18.30/language.json +9539 -0
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +84 -58
- package/minecraft-data/data/bedrock/1.18.30/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.1/language.json +9739 -0
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +7 -6
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.1/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.10/language.json +9360 -0
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +7 -6
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.10/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.20/language.json +9404 -0
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +7 -6
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.20/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +7 -6
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.21/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.30/language.json +9462 -0
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +7 -6
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.30/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.40/language.json +9471 -0
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +7 -6
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.40/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.50/language.json +9489 -0
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.50/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.60/language.json +9544 -0
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.60/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.62/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.70/language.json +9597 -0
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +7 -6
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.70/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.19.80/language.json +9649 -0
- package/minecraft-data/data/bedrock/1.19.80/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.19.80/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.20.0/biomes.json +1073 -0
- package/minecraft-data/data/bedrock/1.20.0/blockCollisionShapes.json +1015 -0
- package/minecraft-data/data/bedrock/1.20.0/blockStates.json +266796 -0
- package/minecraft-data/data/bedrock/1.20.0/blocks.json +15070 -0
- package/minecraft-data/data/bedrock/1.20.0/blocksB2J.json +8203 -0
- package/minecraft-data/data/bedrock/1.20.0/blocksJ2B.json +24137 -0
- package/minecraft-data/data/bedrock/1.20.0/items.json +10482 -0
- package/minecraft-data/data/bedrock/1.20.0/language.json +9858 -0
- package/minecraft-data/data/bedrock/1.20.0/proto.yml +8 -7
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +88 -62
- package/minecraft-data/data/bedrock/1.20.0/types.yml +1 -1
- package/minecraft-data/data/bedrock/1.20.10/language.json +9904 -0
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +23 -5
- package/minecraft-data/data/bedrock/common/features.json +5 -0
- package/minecraft-data/data/bedrock/latest/proto.yml +7 -6
- package/minecraft-data/data/bedrock/latest/types.yml +1 -1
- package/minecraft-data/data/dataPaths.json +83 -39
- 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 +14 -8
- package/minecraft-data/data/pc/1.19.4/protocol.json +19 -17
- package/minecraft-data/data/pc/1.20/protocol.json +22 -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/bedrock.md +3 -1
- package/minecraft-data/doc/history.md +18 -0
- package/minecraft-data/schemas/attributes_schema.json +13 -1
- package/minecraft-data/schemas/blockLoot_schema.json +5 -2
- package/minecraft-data/schemas/entityLoot_schema.json +5 -2
- package/minecraft-data/schemas/language_schema.json +2 -2
- package/minecraft-data/schemas/particles_schema.json +3 -1
- package/package.json +2 -2
- package/typings/index-template.d.ts +3 -5
|
@@ -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...)
|
|
@@ -2822,9 +2822,10 @@ packet_education_settings:
|
|
|
2822
2822
|
HasQuiz: bool
|
|
2823
2823
|
has_external_link_settings: bool
|
|
2824
2824
|
external_link_settings: has_external_link_settings ?
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2825
|
+
if true:
|
|
2826
|
+
has: bool
|
|
2827
|
+
url: string
|
|
2828
|
+
display_name: string
|
|
2828
2829
|
|
|
2829
2830
|
# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
|
|
2830
2831
|
# the server, after which the server will broadcast the packet to other players online.
|
|
@@ -989,7 +989,7 @@
|
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
991
|
"name": "hotbar_slot",
|
|
992
|
-
"type": "
|
|
992
|
+
"type": "zigzag32"
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
995
|
"name": "held_item",
|
|
@@ -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
|
]
|
|
@@ -8674,7 +8682,25 @@
|
|
|
8674
8682
|
"switch",
|
|
8675
8683
|
{
|
|
8676
8684
|
"compareTo": "has_external_link_settings",
|
|
8677
|
-
"fields": {
|
|
8685
|
+
"fields": {
|
|
8686
|
+
"true": [
|
|
8687
|
+
"container",
|
|
8688
|
+
[
|
|
8689
|
+
{
|
|
8690
|
+
"name": "has",
|
|
8691
|
+
"type": "bool"
|
|
8692
|
+
},
|
|
8693
|
+
{
|
|
8694
|
+
"name": "url",
|
|
8695
|
+
"type": "string"
|
|
8696
|
+
},
|
|
8697
|
+
{
|
|
8698
|
+
"name": "display_name",
|
|
8699
|
+
"type": "string"
|
|
8700
|
+
}
|
|
8701
|
+
]
|
|
8702
|
+
]
|
|
8703
|
+
},
|
|
8678
8704
|
"default": "void"
|
|
8679
8705
|
}
|
|
8680
8706
|
]
|
|
@@ -493,7 +493,7 @@ TransactionUseItem:
|
|
|
493
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
|
-
hotbar_slot:
|
|
496
|
+
hotbar_slot: zigzag32
|
|
497
497
|
# HeldItem is the item that was held to interact with the block. The server should check if this item
|
|
498
498
|
# is actually present in the HotBarSlot.
|
|
499
499
|
held_item: Item
|
|
@@ -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...)
|
|
@@ -2822,9 +2822,10 @@ packet_education_settings:
|
|
|
2822
2822
|
HasQuiz: bool
|
|
2823
2823
|
has_external_link_settings: bool
|
|
2824
2824
|
external_link_settings: has_external_link_settings ?
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2825
|
+
if true:
|
|
2826
|
+
has: bool
|
|
2827
|
+
url: string
|
|
2828
|
+
display_name: string
|
|
2828
2829
|
|
|
2829
2830
|
# Emote is sent by both the server and the client. When the client sends an emote, it sends this packet to
|
|
2830
2831
|
# the server, after which the server will broadcast the packet to other players online.
|
|
@@ -989,7 +989,7 @@
|
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
991
|
"name": "hotbar_slot",
|
|
992
|
-
"type": "
|
|
992
|
+
"type": "zigzag32"
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
995
|
"name": "held_item",
|
|
@@ -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
|
]
|
|
@@ -8674,7 +8682,25 @@
|
|
|
8674
8682
|
"switch",
|
|
8675
8683
|
{
|
|
8676
8684
|
"compareTo": "has_external_link_settings",
|
|
8677
|
-
"fields": {
|
|
8685
|
+
"fields": {
|
|
8686
|
+
"true": [
|
|
8687
|
+
"container",
|
|
8688
|
+
[
|
|
8689
|
+
{
|
|
8690
|
+
"name": "has",
|
|
8691
|
+
"type": "bool"
|
|
8692
|
+
},
|
|
8693
|
+
{
|
|
8694
|
+
"name": "url",
|
|
8695
|
+
"type": "string"
|
|
8696
|
+
},
|
|
8697
|
+
{
|
|
8698
|
+
"name": "display_name",
|
|
8699
|
+
"type": "string"
|
|
8700
|
+
}
|
|
8701
|
+
]
|
|
8702
|
+
]
|
|
8703
|
+
},
|
|
8678
8704
|
"default": "void"
|
|
8679
8705
|
}
|
|
8680
8706
|
]
|
|
@@ -493,7 +493,7 @@ TransactionUseItem:
|
|
|
493
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
|
-
hotbar_slot:
|
|
496
|
+
hotbar_slot: zigzag32
|
|
497
497
|
# HeldItem is the item that was held to interact with the block. The server should check if this item
|
|
498
498
|
# is actually present in the HotBarSlot.
|
|
499
499
|
held_item: Item
|