mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@ item.icon(itemid: int) -> str
|
|||
|
||||
-- Возвращает числовой id блока, назначенного как 'placing-block' или 0
|
||||
item.get_placing_block(itemid: int) -> int
|
||||
|
||||
-- Возвращает значение свойства `model-name`
|
||||
item.get_model_name(itemid: int) -> str
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue