mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Merge branch 'dev' into pathfinding
This commit is contained in:
commit
88afb48a1c
23 changed files with 797 additions and 106 deletions
|
|
@ -68,6 +68,9 @@ block.get_variant(x: int, y: int, z: int) -> int
|
|||
|
||||
-- Sets the block variant by index
|
||||
block.set_variant(x: int, y: int, z: int, index: int) -> int
|
||||
|
||||
-- Checks if an block has specified tag
|
||||
block.has_tag(id: int, tag: str) -> bool
|
||||
```
|
||||
|
||||
## Rotation
|
||||
|
|
|
|||
|
|
@ -33,4 +33,7 @@ item.emission(itemid: int) -> str
|
|||
|
||||
-- Returns the value of the `uses` property
|
||||
item.uses(itemid: int) -> int
|
||||
|
||||
-- Checks if an item has specified tag
|
||||
item.has_tag(itemid: int, tag: str) -> bool
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue