Minecraft:Commands/ability
From SAS Gaming Wiki
More actions
Template:Education feature Template:Infobox command
Sets or queries a player with a specific ability.
Syntax
ability <player: target> <ability: Ability> [value: Boolean]ability <player: target> [ability: Ability]
Arguments
- Specifies the target for which to grant/revoke/query the ability.
- Specifies the player ability.
- These abilities are:
worldbuildergives the selector the ability to become a world builder. This allows the player to build - even in Adventure Mode.mayflylets the selector fly as if they were in Minecraft:Creative Mode.mutemutes the selector. If they Minecraft:chat, no one can hear (or see) their message.
- Specifies the value to set the ability to, must be either
trueorfalse. If not specified, returns the current ability's value.
Result
Fails if the arguments are not specified correctly.
On success, sets the player ability into the specified ability. If value: Boolean isn't specified, returns whether the player has the specified ability. If ability: Ability isn't specified, returns what abilities the player has.
History
Bedrock Edition
Minecraft Education
Minecraft:es:Comandos/ability Minecraft:fr:Commandes#ability Minecraft:ja:コマンド/ability Minecraft:lzh:令/ability Minecraft:pt:Comandos/ability Minecraft:ru:Команды консоли/ability Minecraft:zh:命令/ability Minecraft:de:Befehl/ability