Entity
Provides the slot from an entity.
Type ID: kaya:entity
Format
| Field | Type | Default | Description |
|---|---|---|---|
entity |
Entity Provider | The entity to get the slot from. | |
slot |
Int Provider | The numerical ID of the slot to get from the entity. |
Example
This example provides the 9th hotbar slot of the entity provided by the kaya:this_entity context parameter.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |