-
Notifications
You must be signed in to change notification settings - Fork 108
Data Pack Support
Ars Nouveau supports adding recipes to the Glyph Press and the Enchanting Apparatus using the Minecraft data pack system. Custom recipes should appear in JEI by default.
All data pack JSON files for these recipes must be located at datapacks/(PACK NAME)/ars_nouveau/recipes/*
While the press must still use the clays provided in the mod, you may change the reagent item and the output item. Press recipes MUST have the type property set to "ars_nouveau:glyph_recipe". Example:
{
"type": "ars_nouveau:glyph_recipe",
"tier": "ONE",
"input": "minecraft:stick",
"output": "minecraft:ender_pearl"
}
Attributes:
type - The recipe type. This must be "ars_nouveau:glyph_recipe"
tier - Denotes the type of clay and amount of mana used in the recipe. You may use "ONE", "TWO", or "THREE", which refer to Magic, Marvelous, and Mythical clay respectively, with increasing mana costs.
input - The item ID used in conjunction with the clay.
output - The item ID that will return when the crafting is complete.
NOTE: Ensure that your input items do not conflict with ANY existing glyph press recipe!
The Enchanting Apparatus supports up to 8 items placed on the pedestals, plus the reagent in the apparatus for starting the recipe. You may exclude any number of these pedestal items, such that the numbers on the items are contiguous and in order. Apparatus recipes MUST be of type "ars_nouveau:enchanting_apparatus".
{
"type": "ars_nouveau:enchanting_apparatus",
"item_1": [
{
"item": "ars_nouveau:mana_gem_block"
}
],
"item_2": [
{
"item": "ars_nouveau:mana_gem_block"
}
],
"item_3": [
{
"item": "ars_nouveau:glyph_amplify"
}
],
"reagent": [
{
"item": "minecraft:arrow"
}
],
"output": {
"item": "ars_nouveau:amplify_arrow",
"count": 32
}
}
Attributes:
type - MUST be "ars_nouveau:enchanting_apparatus".
reagent - The item ID or tag placed in the apparatus.
output - The resulting item.
item_1, item_2 ... item_8 - The ingredients in the pedestals. You may exclude any number of these, on the condition that numbered items are contiguous. I.E., item_1, item_2, item_3 is a valid list of items, but item_1, item_2, item_4 will result in item_4 being ignored.
Pedestal items accept item or tags, just like vanilla recipes. For more information on these, consult the vanilla wiki on Item and Tags as they relate to datapacks: https://minecraft.gamepedia.com/Java_Edition_data_value#Items https://minecraft.gamepedia.com/Tag#Item_Tags