Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question 1.21.1 FABRIC] config file explanations #71

Open
Striker183 opened this issue Nov 10, 2024 · 1 comment
Open

[Question 1.21.1 FABRIC] config file explanations #71

Striker183 opened this issue Nov 10, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Striker183
Copy link

Striker183 commented Nov 10, 2024

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

@mschae23
Copy link
Owner

mschae23 commented Nov 30, 2024

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!

@mschae23 mschae23 added the question Further information is requested label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants