Appearance
helix / BlockStates
Type Alias: BlockStates
BlockStates =
Record<string,string|number|boolean>
Defined in: core/values/block.ts:24
A block, with optional block-state properties and block-entity data (block_state / block_predicate):
Block("stone") -> "minecraft:stone" Block("furnace", { facing: "north" }) -> "minecraft:furnace[facing=north]" Block("furnace").state({ facing: "north" }) -> "minecraft:furnace[facing=north]" Block("chest").data('{Lock:"key"}') -> 'minecraft:chest{Lock:"key"}' Block("#logs") -> "#minecraft:logs" (predicate tag)