mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add '...@append' method to block properties
This commit is contained in:
parent
d57e46297b
commit
ebea9af380
4 changed files with 56 additions and 2 deletions
|
|
@ -213,3 +213,11 @@ User properties must be declared in `pack:config/user-props.toml` file:
|
|||
```
|
||||
|
||||
Example: [user properties of pack **base**](../../res/content/base/config/user-props.toml).
|
||||
|
||||
## Methods
|
||||
|
||||
Methods are used to manage the overwriting of properties when extending a block with other packs.
|
||||
|
||||
### `property_name@append`
|
||||
|
||||
Adds elements to the end of the list instead of completely overwriting it.
|
||||
|
|
|
|||
|
|
@ -224,3 +224,11 @@
|
|||
```
|
||||
|
||||
Пример: [пользовательские свойства пака **base**](../../res/content/base/config/user-props.toml).
|
||||
|
||||
## Методы
|
||||
|
||||
Методы используются для управлением перезаписью свойств при расширении блока другими паками.
|
||||
|
||||
### `имя_свойства@append`
|
||||
|
||||
Добавляет элементы в конец списка, вместо его полной перезаписи.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue