Grind Enchantments

Grind Enchantments

4M Downloads

[Question 1.21.1 FABRIC] config file explanations

Striker183 opened this issue · 1 comments

commented

Hello there,
we use Grind Enchantments in v3.2.2+1.21-rc1 on FABRIC 1.21.1. We want to continue using the mod, but it pushes the enchanting level up to an immeasurable level, so that you sometimes need 137 levels to connect a book to an item.

In the settings there is an area "disenchant_to_book" with a "factor" and "offset" but there are no explanations what the values ​​are for. Can someone please explain the section to me so that we can adjust the costs?

Thanks to "tax free levels" we no longer have a level limit, which means we can enchant up to level 137, but farming that feels like it takes forever.

Greetings,
Alex

Bild_2024-11-10_144830383

commented

Sorry for taking this long to respond! If you want to have cheaper disenchanting, you can try using something else instead of count_min_power:

  • count_min_power: Uses the "minimum enchanting table power" of all enchantments on the tool – this technically has a different purpose (as you can tell from its name), but I chose it because it usually correlates with the strength of the enchantment.
  • count_levels: Simply adds all enchantment levels on the tool. So if you have Efficiency IV and Unbreaking III, the resulting value would be 4 + 3 = 7.

But using the transform values to change the level cost also works: the number from the "count" function is first multiplied by the factor, and then offset is added.

In this case, if the original cost value is 7 like above, the final cost would be (7 * factor) + offset = (7 * 0.3) + 8.0 = 2.1 + 8.0 = 10.1. I don't remember whether the mod rounds up or down here (probably up), so you would have to pay 10 or 11 levels here.

So in general, higher numbers mean higher costs.

I am planning to write some documentation for all of the things in the config file, but I haven't gotten around to it yet. Despite that, I hope this helps so far!