Skip to content

Remove Power

Removes a power or a collection of powers from an entity.

Type ID: kaya:remove_power

Format

Field Type Default Description
power Power Identifier or Power Tag The ID or tag of the power(s) to remove.
entity Entity Provider The entity to remove the power(s) from.

Example

{
    "type": "kaya:remove_power",
    "power": "#example:bad_stuff"/*(1)!*/,
    "entity": "this"
}
  1. The location of the file is data/example/tags/kaya/power/bad_stuff.json

This example will remove all the powers included in the #example:bad_stuff power tag from the entity provided by the kaya:this_entity context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.