adibarra / enchant-tweaker

Tweak many enchantment related mechanics while keeping the vanilla minecraft feel.
https://modrinth.com/mod/enchant-tweaker
MIT License
4 stars 0 forks source link

bug: 1.20.2 - Max enchant level does not work #31

Closed octoshrimpy closed 5 months ago

octoshrimpy commented 5 months ago

What happened?

loaded mod, modified config in-game to recommended enchant levels, reloaded minecraft completely. max enchants do show as yellow, but the max enchant level was not modified.

What should have happened?

max enchant levels should be increased (to 10, for example). Instead, it stays at vanilla max

How to reproduce?

install mod, load up MC, change max levels, reload game

What is the jar file name?

v1.4.9+mc1.20.2

What Minecraft version?

Fabric 1.20.2

Any relevant logs?

No response

Anything else?

also tested with v1.4.9.1+mc1.20-1.20.1, no luck.

Before submitting...

adibarra commented 5 months ago

Hello! Just to be clear are you running any other mods in addition to Enchant Tweaker?

octoshrimpy commented 5 months ago

I do have a few mods added as well. I'm loading up a new instance with just enchant tweaker for testing.

octoshrimpy commented 5 months ago

In a new instance with just ET installed,

mod is enabled, and both are set to max 10. image


as you can see from the video, the names are yellow as vanilla-maxed, not the custom value of 10 defined in config. also, the names glitch and come right back sometimes, unsure why that is; also visible in video.

https://github.com/adibarra/enchant-tweaker/assets/7097172/8317a87b-b249-4e11-8226-2f18502fac6b

here is config, file renamed to enchant-tweaker.properties.txt to allow github upload: enchant-tweaker.properties.txt


also there is nothing in the logs other than messages about changing config values or reloading.

adibarra commented 5 months ago

Ok, I found whats going on in this case. Whenever you want to enable the ability to change the max enchantment levels. There is an additional setting that needs to be set. Try setting capmod_enabled to true.

image

3ri4nG0ld commented 5 months ago

Just now I was testing and I have the same problem (mc1.20.4), I have configured the mod to have level 10 limit on many enchantments, but they don't apply.

I have "capmod_enabled" and "mod_enabled" set to true.

adibarra commented 5 months ago

Hello @3ri4nG0ld, please create a new issue describing the problem you are encountering when you get the chance.

octoshrimpy commented 5 months ago

@adibarra after enabling that setting and reloading, it appeared it did not work. I disabled shiny names and reloaded, and that worked. Thank you! issue solved:

enable capmod_enabled