Fabric API

Fabric API

152M Downloads

Enchanting table

NotSwifti3 opened this issue ยท 11 comments

commented

with the fabric api in 1.20.4 0.97 and up somehow i was able to get enchants from an enchanting table on an axe like sharpness or smite

commented

Image
That is supposed to be able to happen, see https://minecraft.wiki/w/Axe#Enchantments

commented

well im using a older version of the api and im not getting the enchants and not even in the base game

commented

It's not supposed to happen, note the "BE only" notes in the screenshot.

commented

There was a similar report a while back and it turned out the behaviour is different in creative vs survival. Can you confirm that you are testing with the exact same setup?

commented

yes i was in survival then tested in creative same issue even had it in my last world

commented

Cannot reproduce in creative mode with FAPI 0.125.0+1.21.5, testing now on the latest 1.20.4 version

commented

Can reproduce on 0.97.2+1.20.4 (the latest version on 1.20.4)

commented

Can't reproduce in 1.20.6 anymore. IIRC that was when Mojang refactored enchantments, so probably the bug was accidentally fixed while porting. I reckon we should backport a fix to 1.20.4 as this is a pretty serious issue

commented

Thanks for the report, turns out this is specific to only .4 and not .5. I have a PR to fix this. I will release it in the morning, its too late to release for such an old version now (incase something goes wrong).

commented

No problem thanks for fixing it in the morning

commented

Thank you a lot for fixing the issue u can noe close this if u want