Skip to content

Interface: BlockInfo<SectionMeshing> ​

Defined in: packages/minerender/src/world/BlockInfo.ts:5

A placed block's data snapshot and optional render object, returned by world and chunk accessors.

Type Parameters ​

Type ParameterDefault type
SectionMeshing extends booleanfalse

Properties ​

PropertyModifierTypeDescriptionDefined in
blockreadonlyBlockDetached block data; use world or chunk setters to update stored blocks.packages/minerender/src/world/BlockInfo.ts:7
objectpublicSectionMeshing extends false ? BlockObject : BlockObject | undefinedMerged terrain has no individual render object in section-meshing mode.packages/minerender/src/world/BlockInfo.ts:9