Skip to content

Entity

Compares the IDs of two entities.

Type ID: kaya:entity

Format

Field Type Default Description
first Entity Provider The first entity to compare to.
second Entity Provider The second entity to be compared.

Example

{
    "type": "kaya:entity",
    "first": "actor",
    "second": "target"
}

This example compares the IDs of the entities from the kaya:actor_entity and kaya:target_entity context parameters.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.