Skip to content

Power

Encodes the data of the referenced power as NBT and uses it as the provided value.

Type ID: kaya:power

Format

Field Type Default Description
power Power Identifier The ID of the power to encode as NBT.
entity Entity Provider The entity to get the power from.

Example

{
    "type": "kaya:power",
    "power": "example:power",
    "entity": "this"
}

This example encodes the data of the example:power 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.