-
Notifications
You must be signed in to change notification settings - Fork 12
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
Enchantment costs #46
Comments
Yeah, I do agree that most of these config options are not really easy to understand :)
f you're playing on a dedicated server, make sure the config is the same on both the client and the server – the cost values are not synced. The enchantment cost shown directly in the GUI is added by the client mod, while the one in the item tooltip is added by the server mod.
In some version, I changed the default to be more expensive, but it should still be possible to use the same configuration as in older versions, where it was cheaper. I believe the difference here is caused by
The number from that is then changed with the values near "transform". It's first multiplied by the I hope this helps! |
Thank you this worked, however
While this does make sense, wondering if there can be a case to make this instead use the server calculation either by default or always because there will never be a case for the server config and the client config to be different. It could be done similar to how this mod does it by sending a packet on join https://github.com/Rakambda/FallingTree/blob/minecraft/1.20.1/forge/src/main/java/fr/rakambda/fallingtree/forge/network/ForgePacketHandler.java The reason for avoiding editing client side config is purely because i dont want to walk everyone who plays on my server through editing a config file, so i can use the vanilla visual for now. |
Understandable, although I don't really want to send a packet to every client on join, even if vanilla just ignores it – but maybe I will do that. In the meantime, you don't need to have the mod installed on the client, as it also works purely server-side, and the cost is still displayed in the tooltip. |
so if u were to change the count_min_power to count_levels? it would fix it entirely and make it cost cheaper? |
Nvm i did it |
Can you share how you typed it in the config? I'm a bit confused.. |
@CainisMan https://github.com/Cam396/grind-enchantments/actions/runs/9950553376/artifacts/1704636593 |
use the one that ends in dev |
A more simple way would be to set all the |
it IS a bug, and configs are broken globally, so you have to change the value that allows it to be taken to true no matter what |
I did try setting it like that and it didn't fix it |
What do you mean? As far as I can tell, the config file should be working. If it doesn't, you should open a new issue. |
can you share your config? |
do you have one of these for 1.20.1? |
i dont have one written atm, it might take a bit because of the code refactoring in 1.20.5+ |
I have been through issues trying to find answers but no success.
Pre 1.6 this was my config
this is now my current config, with the lack of documentation i couldnt tell if i moved the settings correctly
2 things seem to be wrong (For the example i am disenchanting diamond boots with prot 4 and unbreaking 3 to a blank book)
The enchantment cost displayed by the client side mod and the alternative display for vanilla say different values, mod says 25 and vanilla says 28.
With my changed options in the config i wouldnt expect the cost to be so high but again without any documentation on what the numbers actually do i am really just guessing.
Some help with this matter would be greatly appretiated, i am using minecraft 1.20.1, Fabric loader version 0.14.21 and installer version 0.11.2. With grind enchantments version 3.1.2+1.20
The text was updated successfully, but these errors were encountered: