Skip to content

Fix enchanter cannot enchant items#765

Merged
DaFuqs merged 1 commit intoDaFuqs:1.21.1-aria-for-painters-mojmapfrom
Mosklia:1.21.1-fix-enchanter
Sep 13, 2025
Merged

Fix enchanter cannot enchant items#765
DaFuqs merged 1 commit intoDaFuqs:1.21.1-aria-for-painters-mojmapfrom
Mosklia:1.21.1-fix-enchanter

Conversation

@Mosklia
Copy link
Copy Markdown
Contributor

@Mosklia Mosklia commented Sep 9, 2025

Fixed #764.

If the currentRecipe field of an EnchanterBlockEntity is null, it does not means the enchanter has no valid receipt due to hard-coded center enchanting has no recipe.

@DaFuqs
Copy link
Copy Markdown
Owner

DaFuqs commented Sep 13, 2025

Thank you!

Down the line that one should probably get a recipe type + recipe file, which would mean we can ditch that special handling + give modpack makers the option to disable that recipe / tweak costs and more.

@DaFuqs DaFuqs merged commit a4d9eb8 into DaFuqs:1.21.1-aria-for-painters-mojmap Sep 13, 2025
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

Successfully merging this pull request may close these issues.

[BUG] Enchanter cannot enchant items with enchanted books

2 participants