- Native Minecraft Version:
- Tested Minecraft Versions:
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
Reloads the configuration file.
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.