Updated RenderInit authored by Ticxo's avatar Ticxo
## Description
Shows a model to the players, if the model was previously applied on the Modeled Entity by setting the `initrender` attribute to `true`
[< Back to mechanic page](../../Model-Mechanics)
Mechanic: RenderInit
===============
## Attributes
| Attribute | Aliases | Description | Type | Default |
|-----------------|--------------------------|--------------------------------------------------------------------------------------------|---------|---------|
| modelid | mode, mid, m | The model id to show | String | |
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`.
## Examples
```yaml
Skills:
- model{mid=testmodel;initrender=true} @self
- [your mechanics here]
- renderinit{mid=testmodel} @self
```
Attributes
----------
| Attribute | Aliases | Description | Type | Default |
|-----------|---------------|----------------------|--------|---------|
| modelid | m, mid, model | The model id to show | String | |
Examples
--------
#### Showing a model:
## Aliases
- [x] rendererinit
\ No newline at end of file
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.
```yaml
Skills:
- model{mid=testmodel;initrender=false} @self ~onSpawn
# Customize the model further
- 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