mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
add function item.icon(...,)
This commit is contained in:
parent
71c754b039
commit
26e2068164
3 changed files with 41 additions and 11 deletions
|
|
@ -464,6 +464,12 @@ item.defs_count() -> int
|
|||
|
||||
Returns count of available item IDs.
|
||||
|
||||
```python
|
||||
item.icon(itemid: int) -> str
|
||||
```
|
||||
|
||||
Returns item icon name to use in 'src' property of an image element
|
||||
|
||||
## *hud* library
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue