Modify Equipped Item Render
Renders an item on an entity as if it were worn by them.
Type ID: apugli:modify_equipped_item_render
Note
This power type only works if said entity can visibly carry an item in that slot. For example villagers are only allowed head slot powers whereas players can use any slot with this power.
Fields
Field | Type | Default | Description |
---|---|---|---|
slot |
String | Which equipment slot to render the item at. One of: "mainhand" , "offhand" , "head" , "chest" , "legs" , "feet" . |
|
stack |
Item Stack | The item stack to render on the entity's head. | |
scale |
Float | 1.0 |
The scale to render the item stack if this is rendering on the player's head. (This does not effect helmets) |
override |
Boolean | false |
Determines whether the power overrides existing equipment from rendering. |
merge_with_held |
Boolean | false |
If the equipment slot is set to the mainhand or offhand, this determines whether the power merges with the held item in the third person view. |