Many mechanics authored by Ticxo's avatar Ticxo
But missing examples
To be written [< Back to mechanic page](../../Model-Mechanics)
\ No newline at end of file
Mechanic: CycleParts
===============
Changes the model of a rendering bone to use a different model under a predefined sequence.
Attributes
----------
| Attribute | Aliases | Description | Type | Default |
|-------------|----------------------------------------|------------------------------------------------------------------------------------------------------------------|--------------|----------------------|
| modelid | m, mid, model | Targeted model | String | |
| partid | p, pid, part | Targeted rendering bone | String | |
| newmodelid | nm, nmid, newmodel | The model targeted to fetch the new bone model | String | |
| cycledparts | np, npid, newpart, newpartid, newparts | The sequence of bone models (e.g. bone1,bone2,bone3) | String Array | |
| interval | i | Duration in ticks each bone model would be shown for | Integer | 1 |
| duration | d | Number of times to change bone model.<br/>If the value is more than `cycledparts` length, the sequence will loop | Integer | `cycledparts` length |