update doc/*/block-properties.md (model-name)
This commit is contained in:
parent
10491fbb61
commit
65b8835698
@ -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.
|
||||
|
||||
@ -35,6 +35,16 @@
|
||||
- "X" - модель травы (крест из двух спрайтов)
|
||||
- "aabb" - модель, соответствующая хитбоксу блока (составной хитбокс будет объединен в один). Примеры: трубы, лампочки, панели.
|
||||
|
||||
### Имя модели - *model-name*
|
||||
|
||||
Кроме встроенных типов моделей, можно использовать собственные, загружаемые из файлов.
|
||||
|
||||
В свойстве указывается имя модели без `точка_входа:models/` и расширения.
|
||||
|
||||
> [!WARNING]
|
||||
> Текстуры (материалы), использующиеся в модели, должны находиться в атласе `blocks` и указываться в соответствующем формате:
|
||||
> `blocks:имя_текстуры`
|
||||
|
||||
### Группа отрисовки - *draw-group*
|
||||
|
||||
Целое число определяющее номер группы отрисовки данного блока.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user