Merge branch 'main' into update-file-subsystem

This commit is contained in:
MihailRis 2025-02-03 19:19:56 +03:00
commit e31952b990
2 changed files with 4 additions and 0 deletions

View File

@ -216,6 +216,8 @@ Example: [user properties of pack **base**](../../res/content/base/config/user-p
## Properties introduced by the `base` pack
Access to custom properties is provided through the table `block.properties[id]["property"]` where id is the numeric id (index) of the block.
### *base:durability*
The time it takes to break a block without tools or effects, measured in seconds.

View File

@ -218,6 +218,8 @@
## Пользовательские свойства
Доступ к пользовательским свойствам производится через таблицу `block.properties[id]["свойство"]` где id - числовой id (индекс) блока.
Пользовательские свойства должны быть объявляены в файле `пак:config/user-props.toml`:
```toml
"пак:имя_свойства" = {}