This repository contains XPGAMES filters for Regolith, the Bedrock add-on compiler.
Filters are scripts that run during the compilation and packaging of your Minecraft Bedrock add-on.
Each folder in this repository contains a single filter with its own README.md and filter.json.
Filter-specific usage notes live directly beside each filter.
Adds missing minecraft:map_color values to Behavior Pack block files by resolving the matching Resource Pack texture and sampling a dominant visible color.
Install it with:
regolith install github.com/XPGAMESLLC/regolith-library/block_map_colorThen add it to a profile:
{
"filter": "block_map_color"
}Optional settings can be passed directly from config.json:
Notes:
- uses the Regolith working
BPandRPfolders automatically - also reads pregenerated
data/block_map_color.jsonwhen present includeandexcludesupport both file patterns and directory-style globs relative toBP/blocks
More filters can be added below as the library grows.
{ "filter": "block_map_color", "settings": { "debugLog": false, "include": [], "exclude": [ "xp/dl/torch/*", "$command.b.json" ] } }