Merge pull request #805 from clasher113/main

bug fix
This commit is contained in:
MihailRis 2026-03-02 01:07:18 +03:00 • committed by GitHub
commit dc27bd1430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 149 additions and 16 deletions

View file

@ -241,6 +241,15 @@ Number of block inventory slots. Default - 0 (no inventory).
Array of three integers. Default value is `[1, 1, 1]`.
### *grounding-behaviour*
Defines the behavior of the extended grounded block. Available behavior options:
- "partial" - at least one segment must be grounded (default)
- "complete" - all segments must be grounded
- "origin" - origin segment must be grounded
## Block fields
Block fields allow you to write more data unique to a specified voxel than the user bits allow.

View file

@ -67,7 +67,7 @@ block.get_picking_item(id: int) -> int
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
block.set_variant(x: int, y: int, z: int, index: int)
-- Checks if an block has specified tag
block.has_tag(id: int, tag: str) -> bool