ctx.blocks.solid(id) api
This commit is contained in:
@@ -151,7 +151,7 @@ Here `block` is `{ id, x, y, z }`, without tile data, which clients never have.
|
||||
`get_block`, `get_state`, `set_state`, `is_face_sturdy`, `biome_at` and `season_at` (see
|
||||
[Seasons](../worldgen/biomes.md#seasons)), and only works inside rules. `ctx.blocks.components(id)` gives any block's
|
||||
components and their params, like on the server, for rules that look at what's around them, like a shaft lining up with
|
||||
the axle of the block it's placed against.
|
||||
the axle of the block it's placed against, and `ctx.blocks.solid(id)` whether it's [solid](index.md#solid-blocks).
|
||||
|
||||
### Neighbors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user