Cheap anvil repairs that don't increase the Prior Work Penalty. #667
Unanswered
VonSparq
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have previously requested a more advanced version of this mechanic and since tried to implement a simpler solution which I partially failed at, but Billy showed interest in possibly implementing something like this so I thought making a formal feature request for this simplified system would be in order.
My idea was to make repairs only require resources, so you can disable Mending and XP farms on your server but still allow players to maintain their tools without breaking the XP bank 🤣.
What would this look like technically?
If a player inserts an item to repair into the anvil's first slot and a repair item (raw resources or not enchanted version of the same item) into the second slot, the repair would cost only 1 level and would not increase the Prior Work Penalty (the number that makes an item more expensive to repair/combine each time it goes through the anvil).
I'm including my faulty implementation of the requested system, it works properly when player is in creative but when they are in survival and the repaired item would normally throw "Too Expensive!" it does not allow for repair and I don't know how to fix that.
I doubt you'll need it because you are much better programmers then me but I though that it'd be rude not to offer:
Beta Was this translation helpful? Give feedback.
All reactions