Would I be able to create a mod to always keep the anvil use counter at one?

Started by HeyThatsMyToast on

Topic category: Help with MCreator software

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Would I be able to create a mod to always keep the anvil use counter at one?

Title is pretty self explanatory but, I really need to make a mod for 1.19.2 to remove the "Too Expensive!" text and I'd prefer to just always have the cost at 2. I mainly need to remove the text though. I'm on forge and is it possible? If so, where might I start?

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The repair cost of an item…
Tue, 08/08/2023 - 11:46

The repair cost of an item is stored in the "RepairCost" tag as an integer. If you can make a procedure which modifies this NBT, then you might be able to do it in a global procedure like "On player tick"