mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Update libblock.md
This commit is contained in:
parent
6d80560aa9
commit
e253260b79
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue