Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Tool without enchants' and 'Tool with enchants' Options Have No Effect #11

Open
malachy1681 opened this issue Feb 21, 2025 · 2 comments

Comments

@malachy1681
Copy link

Minecraft Version: 1.21.4
Fabric Loader Version: 0.16.10
Mod Version: 1.0.0

The options 'Tool without enchants' and 'Tool with enchants' have no effect; the break prevention is triggered for both unenchanted and enchanted items regardless of their setting.

@BlazingTwist
Copy link
Owner

BlazingTwist commented Feb 22, 2025

I just tried this and it works as expected for me.

The filter system isn't very expressive, from the readme:

Filters - these are opt-in, if an item matches any of the enabled filters ATB will stop you from breaking it

If you still need help, what are you trying to configure exactly?

@malachy1681
Copy link
Author

malachy1681 commented Feb 25, 2025

Ah, I see now. I was using an iron tool, had 'Tool without enchants' set to 'No', and 'Tool with enchants' set to 'No', but had 'Iron tools' set to 'Yes'. It was that last filter that caused it to trigger; I was thinking it would be an 'AND' comparison between 'Tool without/with enchants' filters and the '[MATERIAL] tool' filters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants