-
Notifications
You must be signed in to change notification settings - Fork 7
Smithing Recipes
What follows is the contents of the air_malachite_smithing.json file, found in data/miningmaster/recipes/smithing:
{
"type": "miningmaster:gem_smithing_recipe",
"blacklist": {
"tag": "miningmaster:gem_enchanting_blacklist"
},
"gem": {
"item": "miningmaster:air_malachite"
},
"enchantments": [
"minecraft:feather_falling",
"minecraft:respiration",
"miningmaster:floatation",
"miningmaster:knight_jump"
]
}The "gem" field corresponds to the items that are listed as enchanting gems in the gems.json items tag file.
The "enchantments" field lists what enchantments the gem is capable of bestowing.
Gems can hold a limitless number of enchantments, but if two different enchantments for the same item are listed, the gem will give the enchantment listed first, so it cannot give two different enchantments for the same item; Theoretically, one gem could bestow 9 different enchantments corresponding to all the different tools and armour pieces.
To remove enchantments from a gem, simply delete the line which adds the enchantment you don't want a gem to give.
To replace or add enchantments from/to a gem, write the modID of a given mod (for example, minecraft or miningmaster) followed by a colon and the name of the enchantment. When adding enchantments from other mods, be sure to doublecheck the modID and given name of an enchantment in code via the mod's GitHub. The most quickly accessible place to view this information is typically in their language file.
So if I wanted to add the Launch enchantment from Allurement to the Air Malachite gem, I would check that mod's language file, note that the modID is allurement and that the enchantment is called launch in-code.