Entity Attribute
Provides the value of an attribute from an entity.
Type ID: kaya:entity/attribute
Format
| Field | Type | Default | Description |
|---|---|---|---|
attribute |
Identifier | The ID of the attribute. | |
entity |
Entity Provider | The entity to get the attribute from. |
Example
This example will provide the value of the minecraft:max_health attribute from the entity provided by the kaya:actor_entity context parameter.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |