Resource
Provides the value of a power that uses the Resource Int power type.
Type ID: kaya:resource
Format
| Field | Type | Default | Description |
|---|---|---|---|
power |
Power Identifier | The resource power to get the value of. | |
entity |
Entity Provider | The entity to get the power from. |
Example
This example will provide the integer value of the example:resource_awesome_sauce power from the entity provided by the kaya:this_entity context parameter.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |