Revoke Power
Revokes a power or a collection of powers from an entity.
Type ID: kaya:revoke_power
Format
| Field | Type | Default | Description |
|---|---|---|---|
power |
Power Identifier or Power Tag | The ID or tag of the power(s) to revoke. | |
source |
Identifier | The source of the power(s) to revoke. | |
entity |
Entity Provider | The entity to revoke the power(s) of. |
Example
{
"type": "kaya:grant_power",
"power": "#example:all_the_good_stuff"/*(1)!*/,
"source": "example:epic_stuff",
"entity": "this"
}
- The location of the file is
data/example/tags/kaya/power/all_the_good_stuff.json
This example will revoke all the powers included in the #example:all_the_good_stuff power tag from the entity provided by the kaya:this_entity context parameter granted with the source example:epic_stuff.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |