Optional
statesThe block states.
The block ID or filter type.
Filter type examples:
minecraft:example_block
- A block ID (Block.prototype.typeId).isAir
- Air (Block.prototype.isAir).isLiquid
- Liquid (Block.prototype.isLiquid).isSolid
- Solid (Block.prototype.isSolid).isValid
- If the block is valid (Block.prototype.isValid).isWaterlogged
- If the block is waterlogged (Block.prototype.isWaterlogged).canBeWaterlogged
/isWaterloggable
/waterloggable
- If the block can be waterlogged (Block.prototype.canContainLiquid(modules.mcServer.LiquidType.Water)).keep
- (Block.prototype.typeId === minecraft:air
).tag:minecraft:example_tag
- A block tag (Block.prototype.hasTag).preset:example_preset
- A filter preset (customMaskGroupPresets).
A block mask filter.