Create

Create

86M Downloads

Allow using item name as attribute in brass filters

gglobensky opened this issue ยท 5 comments

commented

Describe the Suggestion

Some mods don't tag their items properly which makes using brass filters for storage systems harder to use.
I thought if we could use add the exact name of the item as an attribute in brass filters, it would negate that problem.

Another avenue would be to allow players to add attributes to item in any way.

Thanks for the consideration!

Screenshots and Videos

No response

Additional Context

No response

commented

The issue with name-based filtering is that this would be localization-dependent. In other words, the filters would have an unpredictable behavior for players who aren't playing in English. And I'm not even sure that the server bothers to load language files anyways, so Create doesn't have access to them without having to resort to hackery.

However, if you're paying on a world where you're OP, you can create a datapack with your own tags to accommodate for the lack of proper tagging of the mods you're using. Or you can open an issue on the culprit mods' repositories.

commented

Yeah I understand the issue.
Would it be possible to use the litteral object name like is tagged minecraft:dirt_block?

Anyhow, I appreciate you taking the time to answer my suggestion.

commented

A regular filter (non attribute/brass) can be used to filter for minecraft:dirt_block directly

commented

Yeah but let's say I filter brick blocks but one mod adds a brick block without the proper tag, it could be a useful fallback to use.

commented

This would also make it possible to filter for filter items, which doesn't currently seem to be possible?