Repository navigation
Data Pack Customisation
Custom coin materials can be created by adding to Minting's material registry.
To begin, create a new data pack. Don't forget to create a pack.mcmeta file (pack_format is 48 for 1.21.1).
Next, create a new JSON file at data/<namespace>/minting/material/<material_name>.json. This JSON file is used to configure your new material. You can see an example for a diamond material below:
{
"name": { "text": "Diamond Coin" },
"ingredient": { "item": "minecraft:diamond" },
"texture": "minecraft:block/diamond_block",
"light": 14024694,
"dark": 1334867
}To apply the changes, reopen the world (/reload does not work here) and you should now see your material in-game! The an example coin with the diamond material can be seen below:
If you would like to change the ingredient used to create a striking die, you can modify Minting's die_material item tag.
First, you must create a new data pack. Don't forget to create a pack.mcmeta file (pack_format is 48 for 1.21.1).
Next create a new JSON file at data/minting/tags/item/die_ingredients.json. See the example file content below, which switches striking dice to be created with iron ingots:
{
"replace": true,
"values": [
"minecraft:iron_ingot"
]
}