update doc/*/block-properties.md (model-name)

This commit is contained in:
MihailRis
2024-12-24 15:53:26 +03:00
parent 10491fbb61
commit 65b8835698
2 changed files with 20 additions and 0 deletions
+10
View File
@@ -35,6 +35,16 @@ Block model type from list:
- "X" - grass model (two crossed sprites)
- "aabb" - model based of block hitbox (complex hitbox will be combined into one). Examples: pipes, bulbs, panels.
### *model-name*
In addition to built-in model types, you can use your own, loaded from file.
The property specifies the model name without `entry_point:models/` nor extension.
> [!WARNING]
> Textures (materials) used in the model must be in the `blocks` atlas and specified in the *atlas-texture* format:
> `blocks:texture_name`
### *draw-group*
Integer specifying number of block draw group (render order). Used for semi-transparent blocks.