The decrafter is kinda a weird idea and it could be cheating, what if someone had a diamond sword, and they were about to run out of durability on it, they decraft it and it is full back :P. now they can just craft a new diamond sword, so infinite diamond swords :/
That would be easy, just check the damage value to determine how many diamonds to give back!
For instance, if the damage value is less than full, give back only one diamond and a stick.
If the damage is less than half, give back only a stick.
Maybe this will help.
You can use this to apply to all tools maybe!
Rollback Post to RevisionRollBack
", sans-serif">Want to get paid for uploading mods?