HytaleDocs
Misc

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:

KeyTypeDescription
AnyBoolean defaults to: false

Flag indicating the rule matches on any block or fluid

EmptyBoolean defaults to: false

Flag indicating the rule matches on the empty block

Blocks(Nullable) Array of the type: Either String or BlockType

Reference to a BlockType asset

List of blocks that this rule should match on

Fluids(Nullable) Array of the type: Either String or Fluid

Reference to a Fluid asset

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:

KeyTypeDescription
AnyBoolean defaults to: false

Flag indicating the rule matches on any block or fluid

EmptyBoolean defaults to: false

Flag indicating the rule matches on the empty block

Blocks(Nullable) Array of the type: Either String or BlockType

Reference to a BlockType asset

List of blocks that this rule should match on

Fluids(Nullable) Array of the type: Either String or Fluid

Reference to a Fluid asset

List of fluids that this rule should match on

On this page