Updated RenderInit authored by Ticxo's avatar Ticxo
## Description [< Back to mechanic page](../../Model-Mechanics)
Shows a model to the players, if the model was previously applied on the Modeled Entity by setting the `initrender` attribute to `true`
Mechanic: RenderInit
===============
Alias: RendererInit
---------------
Shows a model to the players, if the model was previously applied on the Modeled Entity by setting the `initrender`
attribute to `false`.
Attributes
----------
## Attributes
| Attribute | Aliases | Description | Type | Default | | Attribute | Aliases | Description | Type | Default |
|-----------------|--------------------------|--------------------------------------------------------------------------------------------|---------|---------| |-----------|---------------|----------------------|--------|---------|
| modelid | mode, mid, m | The model id to show | String | | | modelid | m, mid, model | The model id to show | String | |
Examples
--------
#### Showing a model:
This will apply a model on entity spawn, but will not display to the players, allowing
you to customize the model and ensuring that the changes are applied when shown to players.
## Examples
```yaml ```yaml
Skills: Skills:
- model{mid=testmodel;initrender=true} @self - model{mid=testmodel;initrender=false} @self ~onSpawn
- [your mechanics here] # Customize the model further
- renderinit{mid=testmodel} @self - tint{mid=testmodel;color=ff0000} @self ~onSpawn
- enchant{mid=test} @self ~onSpawn
# Finally, show the model
- renderinit{mid=testmodel} @self ~onSpawn
``` ```
\ No newline at end of file
## Aliases
- [x] rendererinit
\ No newline at end of file