update /doc/*/item-properties.md

This commit is contained in:
MihailRis 2024-10-30 12:51:06 +03:00
parent 0618028df1
commit b2e5254037
2 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,12 @@ Icon type defines a source of an item image displayed in inventory.
- **items** (generated from *png* files in *res/textures/items/*)
- **block** - block preview. Block ID must be specified in **icon** property. Example: *base:wood*.
### Item model - `model-name`
Name of the item model. The model will be loaded automatically.
Default value is `packid:itemname.model`.
If the model is not specified, an automatic one will be generated.
## Behaviour
### *placing-block*

View File

@ -11,6 +11,12 @@
- items (генерируется из png файлов в `res/textures/items/`)
- `block` - отображает предпросмотр блока. В icon указывается строковый id блока который нужно отображать. Пример `base:wood`
### Модель предмета - `model-name`
Имя модели предмета. Модель будет загружена автоматически.
Значение по-умолчанию - `packid:itemname.model`.
Если модель не указана, будет сгенерирована автоматическию
## Поведение
### Устанавливаемый блок - `placing-block`