Skip to main content

Module blocks

Module blocks 

Source

Modules§

behavior
Block configuration and static properties.
block_state_ext
properties
shapes

Macros§

offset
Re-export for easier access Macro to generate offset calculation from property values in all positions.

Structs§

Block
BlockRegistry

Functions§

empty_shape 🔒
Default interaction shape function that returns an empty shape.
full_block_shape 🔒
Default shape function that returns a full block.

Type Aliases§

BlockRef
ShapeFn
Function type for shape lookups. Takes a state offset and returns the shape.