update doc/*/block-properties.md

This commit is contained in:
MihailRis 2026-11-21 19:54:50 +03:00
parent 33180fc648
commit 7723479d03
2 changed files with 12 additions and 1 deletions

View file

@ -372,11 +372,17 @@ To generate loot, the function `block_loot(block_id: int)` in the `base:util` mo
## Other properties
### *abstract*
An abstract block is used as a basis for defining blocks of the same type through inheritance (the `parent` property) (example: stairs).
As in the case of `hidden=true`, the item for the block is not generated.
Unlike `hidden`, the property is not inherited.
### *script-name*
Used to specify block script name (to reuse one script to multiple blocks). Name must not contain `packid:scripts/` and extension. Just name.
### Tick Interval - *tick-interval*
### *tick-interval*
The interval in ticks (1/20th of a second). A value of 20 results in an on_block_tick call interval of one second.

View file

@ -372,6 +372,11 @@
## Другое
### Абстрактный блок - *abstract*
Абстрактный блок используется исключительно как основа для определений однотипных блоков через наследование (свойство `parent`) (пример: ступеньки). Как в случае `hidden=true` предмет для блока не генерируется.
В отличие от `hidden` свойство не наследуется.
### Имя скрипта - *script-name*
Позволяет указать название скрипта блока. Свойство обеспечивает возможность использования одного скрипта для нескольких блоков.