mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
update doc/*/scripting/builtins/libblock.md
This commit is contained in:
parent
a200c3988b
commit
ea2f7ede0d
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue