customMaskGroupPresets: {
    "preset:deforest": string[];
    "preset:leaves": string[];
    "preset:liquid": string[];
    "preset:ore_blocks": string[];
    "preset:ores": string[];
} = ...

The custom block mask filter presets.

These contain a set of block mask filters that can be used in a block mask.

They are used by putting the key for the preset in this object as the block ID for a block mask filter.

Type declaration

  • Betapreset:deforest: string[]

    Plant blocks.

    It gets all block types that include leaves or sapling anywhere in their ID.

    It also includes the following preset values:

    • tag:log
    • tag:plant
    • short_grass
    • short_grass
    • tall_grass
    • vine
    • dandelion
    • allium
    • brown_mushroom_block
    • red_mushroom_block
    • mushroom_stem
    • crimson_roots
    • warped_roots
    • bee_nest

    This preset is still a work in progress.

    Finish this preset.

  • preset:leaves: string[]

    All types of leaves.

    It gets all block types that include leaves anywhere in their ID.

  • preset:liquid: string[]

    All types of liquids.

    It includes the following preset values:

    • water
    • flowing_water
    • lava
    • flowing_lava
  • preset:ore_blocks: string[]

    All types of ore blocks.

    It includes the following preset values:

    • coal_block
    • copper_block
    • exposed_copper
    • weathered_copper
    • oxidized_copper
    • waxed_copper
    • waxed_exposed_copper
    • waxed_weathered_copper
    • waxed_oxidized_copper
    • iron_block
    • gold_block
    • emerald_block
    • diamond_block
    • netherite_block
    • redstone_block
    • lapis_block
    • raw_copper_block
    • raw_iron_block
    • raw_gold_block
  • preset:ores: string[]

    All types of ores.

    It gets all block types that include ore anywhere in their ID.

    It also includes ancient_debris.