Grindr is a simple, modular and configurable grindstone powered by furnace fuel to produce dust from ores.
Usage
In order to use the grinder, you will need to craft a grinder:
You will also need a grindstone to attach to it. The cheapest of these to create is a stone grindstone:
There are a variety of other grindstones:
Each grindstone type has associated stats (see the Grindstones configuration section below) which are displayed in the tooltip. 100% of either speed or result means that it will take the default time and produce the default output amount. A modifier with a negative will take longer to process (or have a chance not to produce anything), while a modifier with a positive value will process faster and have a chance to produce more.
Once you have placed the grinder, simply right-click it with the grindstone in hand to attach it.
You can detach grindstones by sneak-right-clicking with an empty hand.
The grinder will not function without a grindstone, although any furnace fuel in the process of being burned will still tick down.
Sides for automation are identical to a furnace, blast furnace, smoker, etc.
JEI integration is available by default, if JEI is installed.
Configuration
Data Packs
It can be configured with data packs using an ore tag or other ingredient. It also introduces a serializer for furnace recipes that allows specifying the output as the first item of a tag. By default, all of these recipes use the Forge conditional wrapper to ensure that the input or output tag aren't empty.
Hiding Dusts
By default, the mod comes with the following dusts linked to their associated tags: iron, gold, silver, tin, copper, nickel, lead, aluminum, zinc, platinum, mercury/quicksilver, uranium, bismuth and neptunium.
However, the recipes for creating these (and for smelting them into their resulting ingots) are locked behind Forge conditionals that ensure the relevant "forge:ores/tin", etc, tags contain items.
You can hide unused dusts in your pack in the dust_settings section of the common configuration file.
Hiding Grindstones
Currently it is not possible to hide the non-vanilla grindstones, although the recipes for these are conditional.
Grindstones
By default (and currently not extensible), there are 9 grindstones, four of them for each of the stone types (stone, diorite, granite and andesite), iron, gold, diamond, obsidian and emerald. Each type of grindstone gives a bonus (positive or negative) to processing speed and output. These can be configured in the common configuration file under the grindstone_settings section.
In addition to the default grindstones, there are 10 additional grindstones for each of the types of ores that can be processed: aluminum, copper, nickel, lead, silver, platinum, mercury (or quicksilver), zinc, bismuth, uranium and neptunium. These have default configurations that can be modified in the same way as the defaults. The recipes for them are conditional based on the ore-tag associated with them not being empty, although they will show up in creative tabs and JEI.
result_modifier should be a positive floating-point number above 1 if you wish to retain the guaranteed output. For example, 1.4 will be equivalent to 140% output -- a guaranteed dust and then a 40% chance to get a second dust. In contrast, 0.5 means that there's only a 50% chance per ore processed that a dust will be produced.
speed_modifier should be a positive floating-point number below 1 if you wish to increase the speed (or decrease the time it takes) of ore processing. For example, 0.7 will be equivalent to 70%, or a 30% reduction in the processing time. You can also use a floating-point number above 1 to make processing take longer. For example, 1.5 will be a 150% modification: the base processing time plus half again.
Defaults
All of the stone types have the same values by default; iron has no speed modifier but a significantly higher output (70% increase). Gold has a higher output than stone, but lower than iron; however, it has a 50% modifier to speed, meaning it processes ores in half the time.
Diamond is a guaranteed doubling with a 70% modifier to processing speed; emerald is a 250% bonus to output, but operates at default speed with no modifier.
Modified
An example of a modified diamond grindstone, away from its defaults:
Instructions
There is also an instructional HUD which is disabled by default.
CraftTweaker Integration
Now, instead of using datapacks, you can use CraftTweaker to add additional recipes! Example:
mods.grinder.Grinder.addRecipe(new mods.grindr.RecipeBuilder("test_recipe").input(<item:minecraft:soul_sand>).output(<tag:minecraft:planks>));
Tags can be used for both input and output. For outputs, the first item in the tag will be selected as the output item.
You can also specify .staticOutput() within the builder to signify that the output quantity should not be varied by the quality of the grindstone.
Recipes cannot be removed at this time.
Credits
This mod uses the Registrate Library by tterrag.
Patreon & Discord
You can support me on Patreon!
All support for this mod is available on my Discord. You can also keep up with what I'm doing and get notifications streams!
For all other support, please hit "Issues" at the top of this page.