From Minecraft Wiki
Jump to: navigation, search
Information icon.svg
This feature is exclusive to Bedrock Edition and Education Edition.


First introduced

BE Alpha 0.16.0 (1)

Sets or queries player with a specific ability.


ability <player: target> <ability: Ability> <value: Boolean>
ability <player: target> [ability: Ability]


player: target

Specifies the target for which to grant/revoke/query the ability. Must be a player name or target selector.

ability: Ability

Specifies the player ability.
These abilities are:
  • worldbuilder gives the selector the ability to become a world builder.
  • mayfly lets the selector fly.
  • mute mutes the selector. If they chat, no one can hear (or see) them.

value: Boolean

Specifies the value to set the ability to, must be either true or false.


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.


Education Edition
?Added /ability.
?Added the function of query.