[New feature]: Target multiple items #3
Labels
No labels
Bug
Confirmed
Crash
Documentation
Duplicate
Enhancement
High Priority
Invalid
Mod compatibility
Needs triage
Stale
Won't Fix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LunaFox/DefaultComponents#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
I tried the other mod "Item Components". I liked how you can target a group of items in one file. For example, when I need to change durability for all iron tools. (Also for the tools that isn't from minecraft namespace)
It's quite convenient
but I anyway sticks to your mod, cause I'm finding "Item Components" kinda frozen
Describe the solution you'd like
https://modrinth.com/mod/item-components
Describe alternatives you've considered
https://modrinth.com/mod/item-components
Additional context
No response
That can be done trough tag targeting on the 1.0.0 version
it's not yet documented (since it's still an alpha) but you can add a "target" to the file and reference a tag, a specific item or even a wildcard
The wildcard feature is still a beta and currently only works to apply components to
namespace:**an example file is
Your use case will require a custom tag, but that can be easily added trough a datapack
Interesting, thanks!
Ohh, I tried to change durability for tag, and mining speed for pickaxe.
The pickaxe in the tag too. And I sadly can't change one item twice.
For example, this is Pickaxe:
This is for tag:
Pickaxe in the tag but its components can't be edited from multiple file. Durability will be applied only if I remove Pickaxe.json
I know that I could write durability component in each tool. But it would be nice to have some convenience
oh, I'll look into it, that was an oversight on my side
Fixed. They now also load on a given order, with wildcards first, than tags, than items, and all are sorted alphabetically