mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
add item.get_placing_block
This commit is contained in:
parent
db1387d977
commit
751f8a7544
3 changed files with 27 additions and 13 deletions
|
|
@ -18,4 +18,7 @@ item.defs_count() -> int
|
|||
|
||||
-- Returns item icon name to use in 'src' property of an image element
|
||||
item.icon(itemid: int) -> str
|
||||
|
||||
-- Returns the integer id 'placing-block' or 0
|
||||
item.get_placing_block(itemid: int) -> int
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue