Create: Numismatics Shops - neoforge - 1.21.1 - 0.4.3.jar
Curse Maven Snippet
What's new
Composable item filters for trade sources.
A namespace source used to treat every item a mod registers as eligible, so a decor shop could end up selling things nobody can build with. Any source can now carry a filters list:
```json "filters": [ "block_item", "no_block_entity", { "type": "not", "filter": { "type": "id_suffix", "values": ["_slab", "_stairs"] } } ]
Nothing needs migrating — exclude, exclude_pattern and blocks_only work exactly as before, and are translated into the equivalent filters internally. 31 built-in filters: namespace, id, item and block tags, regex and plain prefix/suffix/contains matching, block_item, food, tool, armor, projectile, bucket, stack-size ranges, has_component, rarity, block entity, full cube, replaceable, light — plus all_of, any_of and not to nest them. New commands: /numshops source shows the filter chain with per-filter counts and the resolved items; /numshops explain says whether one item is eligible and which filter rejected it; also /numshops inspect and /numshops filters. Reload diagnostics warn about namespaces matching no installed mod, filter chains that removed everything, empty tags, invalid regexes and groups that cannot fill themselves. Sources are resolved once and cached instead of walking the item registry on every shop view. See FILTERS.md for every filter, worked examples and debugging.
Follows 0.4.2, which was a naming-only release.
Requires MC 1.21.1, NeoForge 21.1.234, Create: Numismatics 1.1.0 (with Create). Install on both server and client.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

