Skip to content

[BUG] Enchanter cannot enchant items with enchanted books #764

@Mosklia

Description

@Mosklia

Describe the bug
The enchanter cannot enchant items. When a tool is place in the center and an enchanted book is placed in one of the item bowls, XP in the knowledge gem is consumed, but item cannot be enchanted.

To Reproduce

  1. Construct an enchanter structure;
  2. Place an knowledge gem with 10000 XP inside in the center;
  3. Place an enchanted book (with enchantment Infinity) in one of the item bowls;
  4. Place an bow (without enchantments) in the center;
  5. Knowledge gem starts to create particles, purple points starts to fly into the enchanter indicating that enchanting has started. But there is no music played.
  6. Wait for a while, the enchanting process terminates (which takes much longer than expected), and you will find that the knowledge gem is empty. The bow is still not enchanted.

Expected behavior
The enchanter starts playing music. After a few time, the process terminates and the item is enchanted.

Extra Tests
The field "crafting_time" looks weired as it always resets.

If you place 3 Crafting Accelerator T3, the enchanting process can be completed without music played. But with 2- accelerators, the process wont terminate until the knowledge gem is empty, and the item is not enchanted.

Enchantment books still can be crafted and upgraded (Process completes normally and music is played). But gilded book cannot copy enchantments from enchanted items, and book placed in center cannot copy enchantments from other enchantment books.

Minecraft version
1.21.1, Fabric Loader 0.16.14

Mod version
Both observered in 1.9.2 and 1.9.5.
Mod List:

  • Architectury 13.0.8
  • Cloth Config V15 15.0.140
  • Fabric API 0.116.1+1.21.1
  • Modmenu 11.0.3
  • Modonomicon
  • Revelationary 1.3.9+1.21.1
  • Roughly Enough Items 16.0.799
  • Roughly Enough Professions 4.0.3 (Reproduced on another modpack without this)
  • Spectrum 1.9.5
  • Trinkets 3.10.0

Screenshots
None.

Crash Report
No crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions