Skip to content

Commit

Permalink
Add missing selector arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ExDrill committed Nov 6, 2024
1 parent e5f0766 commit 1939c3d
Showing 1 changed file with 55 additions and 2 deletions.
57 changes: 55 additions & 2 deletions packages/minecraftBedrock/language/mcfunction/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -7024,6 +7024,17 @@
"requires": {
"targetVersion": [">=", "1.19.80"]
},
"selectorArguments": [
{
"argumentName": "haspermission",
"description": "Filter target selection based on the input permissions of the target entities.",
"type": "scoreData", // TODO: support other object types that just score data
"additionalData": {
"multipleInstancesAllowed": "never",
"supportsNegation": false
}
}
],
"commands": [
{
"commandName": "inputpermission",
Expand All @@ -7043,7 +7054,19 @@
"argumentName": "permission",
"type": "string",
"additionalData": {
"values": ["movement", "camera"]
"values": [
"camera",
"dismount",
"jump",
"lateral_movement",
"mount",
"move_backward",
"move_forward",
"move_left",
"move_right",
"movement",
"sneak"
]
}
},
{
Expand Down Expand Up @@ -7073,7 +7096,19 @@
"argumentName": "permission",
"type": "string",
"additionalData": {
"values": ["movement", "camera"]
"values": [
"camera",
"dismount",
"jump",
"lateral_movement",
"mount",
"move_backward",
"move_forward",
"move_left",
"move_right",
"movement",
"sneak"
]
}
},
{
Expand Down Expand Up @@ -7120,8 +7155,10 @@
"horse_health",
"hotbar",
"hunger",
"item_text",
"paperdoll",
"progress_bar",
"status_effects",
"tooltips",
"touch_controls"
]
Expand Down Expand Up @@ -7167,6 +7204,22 @@
}
]
},
{
"requires": {
"targetVersion": [">=", "1.20.70"]
},
"selectorArguments": [
{
"argumentName": "has_property",
"description": "Filter target selection based on the property map of the target entities.",
"type": "scoreData", // TODO: support more than just score data!!
"additionalData": {
"multipleInstancesAllowed": "never",
"supportsNegation": false
}
}
]
},
{
"requires": {
"targetVersion": [">=", "1.21.40"]
Expand Down

0 comments on commit 1939c3d

Please sign in to comment.