block is fluid or not
block opacity - whether it obscures the whole voxel (dirt) or can be partially seen through (like a fencepost, etc)
Get block property object passed in at registration
block solidity (as in physics)
Register (by integer ID) a block type and its parameters.
id
param: integer, currently 1..65535. Generally you should
specify sequential values for blocks, without gaps, but this
isn't technically necessary.
sequential integer ID (from 1)
Optional
options: Partial<BlockOptions> = nullthe id
value specified
Register (by name) a material and its parameters.
of this material
Optional
options: Partial<MaterialOptions> = nullGenerated using TypeDoc
noa.registry
- Where you register your voxel types, materials, properties, and events.This module uses the following default options (from the options object passed to the Engine):