mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
add item.get_model
This commit is contained in:
parent
b2e5254037
commit
7c933f89c6
3 changed files with 14 additions and 0 deletions
|
|
@ -21,4 +21,7 @@ item.icon(itemid: int) -> str
|
|||
|
||||
-- Returns the integer id 'placing-block' or 0
|
||||
item.get_placing_block(itemid: int) -> int
|
||||
|
||||
-- Returns the value of the `model-name` property
|
||||
item.get_model_name(itemid: int) -> str
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue