Interactio - In-World Crafting with Datapacks!

Interactio - In-World Crafting with Datapacks!

3M Downloads

changing the consume fluid value does not make fluid get consumed

benbenlaw opened this issue ยท 9 comments

commented

changing consume fluid value from 0 to 1 doesnt not make fluid ever get consumed

commented

That doesn't seem right... I'll check it out when I get the time!

commented

Yeh not a problem for me lol but i feel like its not your intention haga

commented

Do you mind sending me the recipe JSON that's failing real quick?

commented

I will send in the morning

commented

{
"type": "interactio:item_fluid_transform",
"inputs": [
{
"item": "rats:cheese",
"count": 64,
"return_chance": 0
},
{
"item": "rats:cheese",
"count": 64,
"return_chance": 0
},
{
"item": "rats:cheese",
"count": 64,
"return_chance": 0
},
{
"item": "rats:cheese",
"count": 64,
"return_chance": 0
}
],
"fluid": {
"fluid": "kubejs:weak_enriching_fluid"
},
"output": {
"item": "rats:creative_cheese",
"count": 1
}
},
"consume_fluid": 1
}

commented

The JSON you posted here is incorrect:

{
	"type": "interactio:item_fluid_transform",
	"inputs": [{
			"item": "rats:cheese",
			"count": 64,
			"return_chance": 0
		},
		{
			"item": "rats:cheese",
			"count": 64,
			"return_chance": 0
		},
		{
			"item": "rats:cheese",
			"count": 64,
			"return_chance": 0
		},
		{
			"item": "rats:cheese",
			"count": 64,
			"return_chance": 0
		}
	],
	"fluid": {
		"fluid": "kubejs:weak_enriching_fluid"
	},
	"output": {
		"item": "rats:creative_cheese",
		"count": 1
	} // <- this bracket shouldn't exist
        },
        "consume_fluid": 1
}

Can you see if it works if you fix the typo?

commented

yeah that works sorry haha

commented

No worries, feel free to reopen if anything else comes up!

commented

do you have discord ?