This tutorial is set by the author's setting without permission.
For example, the title is to teach you what formula to add a refined machine. This tutorial is based on the 2.2.0 version module. Other versions may not be compatible. Once again, you need a basis for making a packet production.
First of all, you need to create a data packet. I use Kubejs's injection data packet here, as shown in the figure:
Create a folder in the Data directory that is named without the name. Here is the name "LOG", and then create a folder named "Recipes" in the folder you created.
Then create a folder in the "Recipes" folder, and the name is not limited.The name "PATH" is used here.
Then create a json file in the folder "PATH" you created, and the name is not limited. Here is the name "SNOW_BLOCK".
I use a json file I created here, as shown in the figure:
JSON content template, if you want to use, please delete notes, otherwise it will be as effective as the data packet.
{{"Type": "Extractinator: ExtractInating",
"Input": {
"Item": "Minecraft: snow_block" // square ID
},
"Drops": [[
{{
"Drop": "#extRactinator: Common_drops", // Tag randomly from "#extractInator: Commod_drops". Of course, you can change to "Minecraft: Diamond_block" to specify the items.
"Drop_Chaance": 0.40, // probability, 40%
"Min_drop_count": 1, // minimum number of dropped items.
"Max_drop_count": 2 // The maximum number of dropped items.
}
]
}