You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"takes a slot name followed by any tag you want to check for in the form of 'tag_name' and returns 1 if all of the tags are on that equipped item, 0 otherwise",
{id: 'tag',documentation: 'tag name to check',type: 'string'},
756
+
{id: 'tag',documentation: 'tag name to check',type: 'string',repeatable: true},
777
757
],
778
-
minParams: 2,
779
-
repeatableParam: {
780
-
id: 'tag',
781
-
documentation: 'Additional tag name',
782
-
type: 'string',
783
-
},
784
758
},
785
759
{
786
760
id: 'equipped_item_any_tag',
787
761
documentation:
788
762
"takes a slot name followed by any tag you want to check for in the form of 'tag_name' and returns 0 if none of the tags are on that equipped item or 1 if at least 1 tag exists",
{id: 'tag',documentation: 'tag name to check',type: 'string'},
765
+
{id: 'tag',documentation: 'tag name to check',type: 'string',repeatable: true},
792
766
],
793
-
minParams: 2,
794
-
repeatableParam: {
795
-
id: 'tag',
796
-
documentation: 'Additional tag name',
797
-
type: 'string',
798
-
},
799
767
},
800
768
{
801
769
id: 'equipped_item_is_attachable',
@@ -844,14 +812,8 @@ export namespace General {
844
812
documentation:
845
813
"Takes in one or more arguments ('simple', 'fancy', 'deferred', 'raytraced'). If the graphics mode of the client matches any of the arguments, return 1.0. Available on the Client (Resource Packs) only.",
{id: 'slot_index',documentation: 'optional slot index value',type: 'float'},
1196
-
{id: 'item',documentation: 'item name to check',type: 'string'},
1158
+
{id: 'item',documentation: 'item name to check',type: 'string',repeatable: true},
1197
1159
],
1198
-
minParams: 3,
1199
-
repeatableParam: {
1200
-
id: 'item',
1201
-
documentation: 'Additional item name',
1202
-
type: 'string',
1203
-
},
1204
1160
},
1205
1161
1206
1162
{
@@ -1245,14 +1201,8 @@ export namespace General {
1245
1201
documentation:
1246
1202
"Takes one or more arguments. If the entity's name is any of the specified string values, returns 1.0. Otherwise returns 0.0. A preferred query to query.get_name, as it can be adjusted by Mojang to avoid breaking content if names are changed.",
'Takes one or more arguments. Returns whether the root actor identifier is any of the specified strings. A preferred query to query.owner_identifier, as it can be adjusted by Mojang to avoid breaking content if names are changed.',
"Takes one or more arguments ('keyboard_and_mouse', 'touch', or 'gamepad'). If the last input used is any of the specified string values, returns 1.0. Otherwise returns 0.0. Available on the Client (Resource Packs) only.",
1488
1432
parameters: [
1489
-
{id: 'mode',documentation: "input mode ('keyboard_and_mouse', 'touch', or 'gamepad')",type: 'string'},
1433
+
{id: 'mode',documentation: "input mode ('keyboard_and_mouse', 'touch', or 'gamepad')",type: 'string',repeatable: true},
1490
1434
],
1491
-
minParams: 1,
1492
-
repeatableParam: {
1493
-
id: 'mode',
1494
-
documentation: 'Additional input mode',
1495
-
type: 'string',
1496
-
},
1497
1435
},
1498
1436
{
1499
1437
id: 'lie_amount',
@@ -1625,14 +1563,8 @@ export namespace General {
1625
1563
{id: 'x',documentation: 'entity-relative position on the x axis',type: 'float'},
1626
1564
{id: 'y',documentation: 'entity-relative position on the y axis',type: 'float'},
1627
1565
{id: 'z',documentation: 'entity-relative position on the z axis',type: 'float'},
1628
-
{id: 'tag',documentation: 'tag name to check',type: 'string'},
1566
+
{id: 'tag',documentation: 'tag name to check',type: 'string',repeatable: true},
1629
1567
],
1630
-
minParams: 4,
1631
-
repeatableParam: {
1632
-
id: 'tag',
1633
-
documentation: 'Additional tag name',
1634
-
type: 'string',
1635
-
},
1636
1568
},
1637
1569
{
1638
1570
id: 'relative_block_has_any_tag',
@@ -1642,14 +1574,8 @@ export namespace General {
1642
1574
{id: 'x',documentation: 'entity-relative position on the x axis',type: 'float'},
1643
1575
{id: 'y',documentation: 'entity-relative position on the y axis',type: 'float'},
1644
1576
{id: 'z',documentation: 'entity-relative position on the z axis',type: 'float'},
1645
-
{id: 'tag',documentation: 'tag name to check',type: 'string'},
1577
+
{id: 'tag',documentation: 'tag name to check',type: 'string',repeatable: true},
1646
1578
],
1647
-
minParams: 4,
1648
-
repeatableParam: {
1649
-
id: 'tag',
1650
-
documentation: 'Additional tag name',
1651
-
type: 'string',
1652
-
},
1653
1579
},
1654
1580
{
1655
1581
id: 'ride_body_x_rotation',
@@ -1870,40 +1796,22 @@ export namespace General {
1870
1796
id: 'entity_biome_has_all_tags',
1871
1797
documentation: '(EXPERIMENTAL) Compares the biome the entity is standing in with one or more tag names, and returns either 0 or 1 based on if all of the tag names match. Only supported in resource packs (client-side).',
1872
1798
parameters: [
1873
-
{id: 'tag',documentation: 'biome tag name to check',type: 'string'},
1799
+
{id: 'tag',documentation: 'biome tag name to check',type: 'string',repeatable: true},
1874
1800
],
1875
-
minParams: 1,
1876
-
repeatableParam: {
1877
-
id: 'tag',
1878
-
documentation: 'Additional biome tag name',
1879
-
type: 'string',
1880
-
},
1881
1801
},
1882
1802
{
1883
1803
id: 'entity_biome_has_any_identifier',
1884
1804
documentation: '(EXPERIMENTAL) Compares the biome the entity is standing in with one or more identifier names, and returns either 0 or 1 based on if any of the identifier names match. Only supported in resource packs (client-side).',
1885
1805
parameters: [
1886
-
{id: 'identifier',documentation: 'biome identifier to check',type: 'string'},
1806
+
{id: 'identifier',documentation: 'biome identifier to check',type: 'string',repeatable: true},
1887
1807
],
1888
-
minParams: 1,
1889
-
repeatableParam: {
1890
-
id: 'identifier',
1891
-
documentation: 'Additional biome identifier',
1892
-
type: 'string',
1893
-
},
1894
1808
},
1895
1809
{
1896
1810
id: 'entity_biome_has_any_tags',
1897
1811
documentation: '(EXPERIMENTAL) Compares the biome the entity is standing in with one or more tag names, and returns either 0 or 1 based on if any of the tag names match. Only supported in resource packs (client-side).',
1898
1812
parameters: [
1899
-
{id: 'tag',documentation: 'biome tag name to check',type: 'string'},
1813
+
{id: 'tag',documentation: 'biome tag name to check',type: 'string',repeatable: true},
0 commit comments