Material Qualities

This mod adds material recipes to the Quality Tools Reforging Station and lets pack authors configure random qualities on crafted gear and chest loot.

This mod overhauls the Quality Tools Reforging Station. Players can select a specific quality for their gear and apply it with materials stored at the station. Pack authors set the available qualities and their recipes. Players can remove a quality for free, even before the pack adds any recipes. The mod also changes when gear receives a random quality.

AI usage disclaimer: This mod was developed with AI-agent assistance using this agent workflow. The project owner reviewed the work during development.

How gear gets a random quality

Quality Tools normally rolls for a quality when eligible, unqualified gear enters a player's inventory. This can give a sword a quality whether the player found it in a chest, crafted it, or picked it up from a mob. Material Qualities disables that inventory roll. What happens to the sword now depends on where it came from.

  • Chest loot. When a standard loot table first fills a chest, each eligible plain item has a 50% chance by default to draw from the pack's Quality Tools table. The table includes a normal outcome, so the sword can still be plain after a draw. Its quality is already decided when the player looks inside. Taking it gives it no second roll.
  • Crafted gear. A newly crafted sword stays plain by default. Pack authors can enable one draw when a player crafts eligible gear in the inventory grid or at a crafting table.
  • Mob drops. A plain sword dropped by a mob stays plain when picked up. If the dropped sword already has a quality, it keeps that quality.

Reforging Station tabs

Reforge

The Reforge tab lists the qualities the station has enough materials to apply. Placing a tool in the slot narrows the list to qualities it can receive. Each row has a tooltip with the effects and price. In the example below, Graceful gives a pickaxe +15% total Attack Speed and +15% total Dig Speed for three iron ingots.

Graceful's effect tooltip beside a diamond pickaxe and the Reforge checkmark.

The green 3/3 means the station has all three ingots the recipe needs.

The checkmark applies the selected quality. If the tool already has one, the new quality replaces it for the listed price. The station gives no refund for the previous reforge. A search box and page arrows help players find a quality in larger packs.

Items

The Items tab holds the station’s ingredients in 54 shared slots. Iron ingots in a player’s hotbar count toward a recipe once the player deposits them here. The station excludes named, damaged, enchanted and already-qualified items from payment.

The Items tab with iron ingots, planks, emeralds and gold in the shared inventory.

The upper slots hold the shared ingredients. The lower slots show the player’s inventory.

There is one tool slot per bench. The equipment appears on the bench in the world and stays there when you close the screen. Anyone who can use the bench can work on that tool, take it, or withdraw ingredients. Breaking the bench drops the tool and the remaining stock once at its location.

Remove quality

The Remove quality tab clears the quality from the item in the tool slot. Removal costs nothing and works even if the quality has no recipe. The item keeps its name, enchantments and durability, and stays plain when picked up later. Removing a quality gives no material refund.

The Remove quality tab with an equipped pickaxe and the minus button.

Selecting the row enables the minus button. Pressing it removes the quality and leaves the tool in its slot.

Recipes

The Recipes tab shows the pack’s full recipe list when the tool slot is empty. With equipment in the slot, it shows every recipe that equipment can use, including recipes the station cannot yet afford. The equipment stays in place when the player switches tabs.

Crumbling's recipe tooltip showing equipment slots and a coal cost of 0/1.

The overview shows where Crumbling applies. The red 0/1 means one piece of coal is missing.

For qualities with different effects by equipment slot, the first tooltip page lists the slots and the material cost. Shift + mouse wheel over the recipe cycles through the effects for each slot. Quality names use the pack’s colors. Modifier values show their plus or minus signs, including for modded attributes such as spell cooldown.

Material recipes

The mod creates config/materialqualities/bench-recipes.json the first time a single-player world opens or a server starts. The file starts with an empty recipe list ([]). Pack authors add entries there and restart to load them. In multiplayer, the server’s file supplies the recipes.

This example offers Graceful for three iron ingots, Crumbling for one coal, and Sharp for four planks plus two charcoal.

[
  {
    "quality": "quality.graceful.name",
    "ingredients": [{"item": "minecraft:iron_ingot", "count": 3}]
  },
  {
    "quality": "quality.crumbling.name",
    "icon": "minecraft:iron_helmet",
    "ingredients": [{"item": "minecraft:coal", "count": 1}]
  },
  {
    "quality": "quality.sharp.name",
    "icon": "minecraft:flint",
    "ingredients": [
      {"ore": "plankWood", "count": 4},
      {"item": "minecraft:coal", "meta": 1, "count": 2}
    ]
  }
]
  • quality is the quality's internal name. Copy it from your pack's Quality Tools definitions in config/qualitytools/Quailities/ (the folder is spelled that way). Quality Tools supplies the applicable equipment, attributes, display color and random weight. The bench recipe sets the price.
  • ingredients lists everything the bench must collect for one application. Each entry needs a positive count and either an item registry ID or an ore dictionary name. In the Sharp recipe, any wood registered as plankWood qualifies for the first ingredient.
  • meta selects a subtype of an exact item and defaults to zero. Coal and charcoal share the ID minecraft:coal. A value of 0 selects coal and 1 selects charcoal.
  • icon is an optional item ID for the Reforge and Recipes rows. Omit it or supply an unavailable item and the row uses the station hammer.

If a recipe is missing, check the game or server log for invalid entries or conflicting prices for the same quality. A quality can still appear on loot even when the station has no recipe for it.

Random quality settings

The file config/materialqualities.cfg controls random quality rolls. Changes take effect after a restart. The default settings are shown below.

general {
    B:craftingRolls=false
    B:chestRolls=true
    I:chestChancePercent=50
    B:diagnostics=false
}
  • Crafted gear stays plain by default. Enable craftingRolls for a single draw from the pack's Quality Tools table when a player crafts eligible gear in their inventory grid or at a crafting table.
  • Chest loot gets one opportunity per eligible plain, non-stackable item when a chest first generates its contents. chestChancePercent (0–100) is the chance to draw from the table. The table includes the normal outcome. Even at 100%, a normal draw leaves the item plain. Set chestRolls=false to turn chest rolls off.
  • Diagnostics logs source decisions on the server. Enable it when checking how a pack handles crafted gear or chest loot.

Pack compatibility

Standard chests, trapped chests and chest minecarts can use vanilla, mod-added or pack-added loot tables. Those tables are covered automatically when they generate loot through the standard chest path. A dungeon generator that writes items straight into an inventory skips that path. Previously filled chests and gear a player deposits receive no new roll.

Both crafting and loot use the pack's Quality Tools eligibility rules for non-stackable gear. Items keep their quality when picked up, traded or loaded again.

Installation

Install Material Qualities on both the client and server for Minecraft 1.12.2 on Cleanroom. Install Quality Tools and its dependency Potion Core. Quality Tools 1.0.7_for_1.12.2 is the minimum and the version tested for this release. Material Qualities also requires MixinBooter 12.1 or later, supplied by the tested Cleanroom runtime.

Source code and README · Report an issue

Material Qualities Team

profile avatar
  • 1
    Followers
  • 63
    Projects
  • 7.4K
    Downloads

More from MahghuuulsView all

  • Material Enchanting project image

    Material Enchanting

    Overhauls the enchanting table with configurable, item-based recipes.

    • 14
    • December 4, 2026
  • Statusworks project image

    Statusworks

    A library for custom statuses, pools, marks, and cooldowns on players and mobs, defined in the API or CraftTweaker.

    • 102
    • December 2, 2026
  • Structure Abstractions project image

    Structure Abstractions

    Structure placement library for other mods: puts their structures only on suitable spots and keeps them from clashing with each other, vanilla structures and supported structure mods.

    • 11
    • December 1, 2026
  • AgentTestToolkit project image

    AgentTestToolkit

    Lets an AI assistant test your mod: it sets up the world, takes small player actions, and logs what the game did.

    • 194
    • November 30, 2026
  • Material Enchanting project image

    Material Enchanting

    Overhauls the enchanting table with configurable, item-based recipes.

    • 14
    • December 4, 2026
  • Statusworks project image

    Statusworks

    A library for custom statuses, pools, marks, and cooldowns on players and mobs, defined in the API or CraftTweaker.

    • 102
    • December 2, 2026
  • Structure Abstractions project image

    Structure Abstractions

    Structure placement library for other mods: puts their structures only on suitable spots and keeps them from clashing with each other, vanilla structures and supported structure mods.

    • 11
    • December 1, 2026
  • AgentTestToolkit project image

    AgentTestToolkit

    Lets an AI assistant test your mod: it sets up the world, takes small player actions, and logs what the game did.

    • 194
    • November 30, 2026