JustHammers

JustHammers

8M Downloads

Problem with the enchantment mending

Closed this issue ยท 1 comments

commented

Minecraft Version

1.21.5

Modloader

Fabric (latest loader for Minecraft 1.21.5)

Mod version

21.5.0

Latest version?

  • Yes

Repeatable?

  • Yes

Link to log files

No crash logs generated. Can provide debug logs or video if needed.

Steps to reproduce the issue

  1. Create or use a hammer from Just Hammers with the enchantments Mending and Fortune.
  2. Mine any ore that drops XP.
  3. While mining, XP is picked up and starts repairing the tool via Mending.
  4. The mining action is interrupted or reset when this happens.
  5. Repeat the same with a Silk Touch hammer and the issue does not occur, probably because no XP is dropped.

Description of the issue you are having

Every time I use my hammer with Fortune III and Mending, and I mine ores that drop XP (like quartz or coal), the mining animation gets interrupted or reset. It seems that when the XP is absorbed and starts repairing the hammer through Mending, the mining action is delayed or canceled.

Sometimes it lets me continue mining, but other times I have to wait until the XP finishes repairing the hammer before I can mine again. This doesn't happen with a hammer that has Silk Touch, because there's no XP involved.

Information

  • I have provided as much information as possible
commented

Fixed, please see the above referenced commits for when this was reoslved ๐Ÿ‘