BlockMask
Defines a block mask that filters which blocks and fluids can be replaced, using include and exclude rules to control placement targets
Include
Set of block and fluid types that should be included by this mask
Type information:
(Nullable) Defines a block mask rule specifying which blocks and fluids to match, using any, empty, or explicit block and fluid lists
Rule with the following properties:
| Key | Type | Description |
|---|---|---|
| Any | Boolean defaults to: false | Flag indicating the rule matches on any block or fluid |
| Empty | Boolean defaults to: false | Flag indicating the rule matches on the empty block |
| Blocks | (Nullable) Array of the type: Either String or BlockType | List of blocks that this rule should match on |
| Fluids | (Nullable) Array of the type: Either String or Fluid | List of fluids that this rule should match on |
Exclude
Set of block and fluid types that should be excluded by this mask
Type information:
(Nullable) Defines a block mask rule specifying which blocks and fluids to match, using any, empty, or explicit block and fluid lists
Rule with the following properties:
| Key | Type | Description |
|---|---|---|
| Any | Boolean defaults to: false | Flag indicating the rule matches on any block or fluid |
| Empty | Boolean defaults to: false | Flag indicating the rule matches on the empty block |
| Blocks | (Nullable) Array of the type: Either String or BlockType | List of blocks that this rule should match on |
| Fluids | (Nullable) Array of the type: Either String or Fluid | List of fluids that this rule should match on |
