This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Max edited this page Jan 23, 2020
·
16 revisions
While I'm still busy working on getting this wiki set-up, this page is just going to hold some basic examples for different in-world recipes so you can get to know the fundamentals of this mod.
Example of a Fluid to Item Crafting recipe:
{
"type": "interactio:item_fluid_transform", // This is the type for any recipes that are (items + fluid) -> item
"inputs": [ // This is an array of input ingredients, using vanilla ingredient syntax.
{
"tag": "minecraft:logs",
"count": 3
},
{
"item": "minecraft:redstone",
"count": 2
}
],
"fluid": { // This is a "fluid ingredient", used in any fluid inputs throughout the mod.
"fluid": "water" // It supports either fluid tags (key: "tag") or single fluids (key: "fluid")
}, // as well as arrays containing either of the two.
"result": {
"item": "minecraft:scute", // This is the output of the recipe,
"count": 6 // which has to be a single item stack here.
},
"consume": 0.75 // Optional, can be Boolean or Number (chance). default: false / 0.0
}
And another one, this time using nbt tags to convert empty bottles to water bottles (which are actually considered a "potion"):
{
"type": "interactio:item_fluid_transform",
"inputs": [
{
"item": "minecraft:glass_bottle",
"count": 1
}
],
"fluid": {
"fluid": "water"
},
"result": {
"item": "minecraft:potion",
"count": 1,
"nbt": {
"Potion": "minecraft:water"
}
},
"consume": 0.33
}
Example of a Fluid Transformation Recipe:
{
"type": "interactio:fluid_fluid_transform", // This is the type for any recipes that are (fluid + items) -> fluid
"inputs": [
{
"tag": "minecraft:logs", // I'm honestly not 100% sure how reliable stack sizes > 64 are, but
"count": 65 // it worked in all of my test cases, so you should be fine™
},
{
"tag": "forge:chests",
"count": 1
}
],
"fluid": {
"tag": "water" // Another example of a fluid ingredient, this time using a tag.
},
"result": "lava", // since this only produces a single fluid, we just enter the fluid name here.
"consume_items": true // Optional. Default: false
}