Fair Smelting
Gives you more for your crafted items!
Have you ever thought it was strange that an iron chestplate, which is crafted with 8 iron ingots, only yields a single iron nugget when melted down in a furnace? This plugin aims to fix that strangeness by modifying the output for some smelted items.
This plugin works by detecting when one of the items specified in its configuration file has been smelted, and setting the furnace output using the values specified in that file.
The default formula for the number of output items is:
floor(ceiling(itemsToCraftInput / 2) * ((remainingDurability)/(maximumDurabiliy)))
To put this in plain English, the output item amount is half the number of items it takes to craft the smelted item rounded up, multiplied by the fraction of the durability remaining. This is then rounded down. If this output amount produces a zero, the default output is used (in the case of a heavily damaged iron chestplate, the output will be an iron nugget).
Values for the ingots it takes to craft an item, the base-output-multiplier (0.5 by default), whether the plugin should multiply-by-durability-percentage, and the material of the output are all able to be changed on a per-item basis in the configuration file. If you add a new item to the configuration, the values of base-output-multiplier and multiply-by-durability-percentage can be left off of your new entry if you want the default values to be used. The new item must have material and ingots specified, however.
Use the material names specified here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
Commands:
/fairsmelting reload
Reloads the configuration file.
IMPORTANT
Because it works by replacing the output of successful smelts, this plugin is not intended to add new furnace recipes, or allow things to be smelted that could not be smelted in the vanilla game. Its purpose is to replace the output of the furnace for certain items in order to make smelting a more appealing option for item disposal than it currently is.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta