Skip to content

Commit

Permalink
Update libblock.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Onran0 authored Feb 25, 2025
1 parent 6d80560 commit e253260
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/en/scripting/builtins/libblock.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e253260

Please sign in to comment.