Toggle Power
Toggles the state of a power that uses the Toggle power type from an entity.
Type ID: kaya:toggle_power
Format
| Field | Type | Default | Description |
|---|---|---|---|
power |
Power Identifier | The power to toggle the state of. | |
entity |
Entity Provider | The entity to get the power from. |
Example
This example will toggle the state of the example:toggleable_climbing@toggle sub-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. |