Charset Storage - Chests

Charset Storage - Chests

484k Downloads

[Charset Crafting: Cauldron Crafting] Support for >1 item inputs and item input/output arrays

Primitive-Human opened this issue · 0 comments

commented

Right now I'm doing testing on what kind of recipes I can do with cauldron crafting. I've managed to recreate potion brewing using the potion fluids with nbt tags and that works perfectly. No JEI support, but I'll manage with other forms of documentation.

However, I tried if I could use inputs with >1 item, but that doesn't seem to work.
Also tried to use an array of items as inputs, so I could, for example, throw 2-4 different ingrediënts in to make a recipe work. That doesn't seem to be supported either.

While I love cauldron crafting a lot, it could be even better if support for such recipes was also added.

Without these additions, in order to make a recipe using for example 4 items, I need to write 4 separate recipes, each being consecutive to the other.

Here's a recipe of me dissolving 3 sugarcane to saturated sugarwater, then drying it using wool to obtain 5 sugar:

mods.charset.Cauldron.addItemFluidRecipe(<minecraft:reeds>, <liquid:water> * 1000, null, <liquid:charset_potion>.withTag({Potion:"minecraft:sugarwater1"}) * 1000, true);
mods.charset.Cauldron.addItemFluidRecipe(<minecraft:reeds>, <liquid:charset_potion>.withTag({Potion:"minecraft:sugarwater1"}) * 1000, null, <liquid:charset_potion>.withTag({Potion:"minecraft:sugarwater2"}) * 1000, true);
mods.charset.Cauldron.addItemFluidRecipe(<minecraft:reeds>, <liquid:charset_potion>.withTag({Potion:"minecraft:sugarwater2"}) * 1000, null, <liquid:charset_potion>.withTag({Potion:"minecraft:sugarwater3"}) * 1000, true);

mods.charset.Cauldron.addItemRecipe(<minecraft:wool>, <liquid:charset_potion>.withTag({Potion:"minecraft:sugarwater3"}) * 1000, <minecraft:sugar>*5);

And as a sidenote, any recipes where I use a fake potion in the recipe will have the cauldron's contents turning purple, the color of uncraftable potions.

So, consider adding the ability to use >1 item inputs, and input arrays. It would make complex cauldron recipes easier.