Merge pull request #478 from Onran0/main
doc: block.properties added to libblock.md
This commit is contained in:
commit
da2fecb02e
@ -13,6 +13,9 @@ block.material(blockid: int) -> str
|
||||
-- Table of materials by their full names (example: base:carpet)
|
||||
block.materials: table<string, table>
|
||||
|
||||
-- Table of custom block properties (see ../../block-properties.md)
|
||||
block.properties: table<int, table<string, object>>
|
||||
|
||||
-- Returns the block display name.
|
||||
block.caption(blockid: int) -> str
|
||||
|
||||
|
||||
@ -13,6 +13,9 @@ block.material(blockid: int) -> str
|
||||
-- Таблица материалов по их полным именам (пример: base:carpet)
|
||||
block.materials: table<string, table>
|
||||
|
||||
-- Таблица пользовательских свойств блоков (см. ../../block-properties.md)
|
||||
block.properties: table<int, table<string, object>>
|
||||
|
||||
-- Возвращает название блока, отображаемое в интерфейсе.
|
||||
block.caption(blockid: int) -> str
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user