update doc/*/scripting/builtins/libblock.md
This commit is contained in:
parent
a200c3988b
commit
ea2f7ede0d
@ -10,6 +10,9 @@ block.index(name: str) -> int
|
||||
-- Returns the id of the block material.
|
||||
block.material(blockid: int) -> str
|
||||
|
||||
-- Table of materials by their full names (example: base:carpet)
|
||||
block.materials: table<string, table>
|
||||
|
||||
-- Returns the block display name.
|
||||
block.caption(blockid: int) -> str
|
||||
|
||||
|
||||
@ -10,6 +10,9 @@ block.index(name: str) -> int
|
||||
-- Возвращает id материала блока.
|
||||
block.material(blockid: int) -> str
|
||||
|
||||
-- Таблица материалов по их полным именам (пример: base:carpet)
|
||||
block.materials: table<string, table>
|
||||
|
||||
-- Возвращает название блока, отображаемое в интерфейсе.
|
||||
block.caption(blockid: int) -> str
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user