Grant Power
Grants a power or a collection of powers to an entity.
Type ID: kaya:grant_power
Format
| Field | Type | Default | Description |
|---|---|---|---|
power |
Power Identifier or Power Tag | The ID or tag of the power(s) to grant. | |
source |
Identifier | Indicates where the power is from. | |
entity |
Entity Provider | The entity to grant the power(s) to. |
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 grant all the powers included in the #example:all_the_good_stuff power tag to the entity provided by the kaya:this_entity context parameter with the source example:epic_stuff.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |