Skip to content

Effect Amplifier

Provides the amplifier of a status effect instance from an entity.

Type ID: kaya:effect/amplifier

Format

Field Type Default Description
effect Identifier The ID of the status effect.
entity Entity Provider The entity to get the status effect from.

Example

{
    "type": "kaya:effect/amplifier",
    "effect": "minecraft:poison",
    "entity": "this"
}

This example provides the amplifier of the Poison status effect from the entity provided by the kaya:this_entity context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.