|
|
|
[< Back to mechanic page](/Skills/Mechanics)
|
|
|
|
|
|
|
|
## Description
|
|
|
|
Shows a model to the players, if the model was previously applied on the Modeled Entity by setting the `initrender`
|
|
|
|
attribute to `false`.
|
|
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|
|-----------|---------------|----------------------|--------|---------|
|
|
|
|
| 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.
|
|
|
|
|
|
|
|
```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
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
|
- [x] rendererinit |
|
|
|
\ No newline at end of file |