mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
rename item.get_model_name and item.get_placing_block
This commit is contained in:
parent
e217476e84
commit
e0624b11d0
5 changed files with 10 additions and 10 deletions
|
|
@ -20,8 +20,8 @@ item.defs_count() -> int
|
|||
item.icon(itemid: int) -> str
|
||||
|
||||
-- Returns the integer id 'placing-block' or 0
|
||||
item.get_placing_block(itemid: int) -> int
|
||||
item.placing_block(itemid: int) -> int
|
||||
|
||||
-- Returns the value of the `model-name` property
|
||||
item.get_model_name(itemid: int) -> str
|
||||
item.model_name(itemid: int) -> str
|
||||
```
|
||||
|
|
|
|||
|
|
@ -20,10 +20,10 @@ item.defs_count() -> int
|
|||
item.icon(itemid: int) -> str
|
||||
|
||||
-- Возвращает числовой id блока, назначенного как 'placing-block' или 0
|
||||
item.get_placing_block(itemid: int) -> int
|
||||
item.placing_block(itemid: int) -> int
|
||||
|
||||
-- Возвращает значение свойства `model-name`
|
||||
item.get_model_name(itemid: int) -> str
|
||||
item.model_name(itemid: int) -> str
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue