I'm testing out barrel recipes for my mod I'm working on, but I can't seem to get the recipe to work (I keep getting `[Event] 46 barrel recipes loaded (1 could not be resolved)` in the server-main log).
My new liquid shows up in the creative menu. What am I doing wrong?
Here is my liquid item (located at assets\equivlomancy\itemtypes\liquids\materiaportion.json):
{
code: "materiaportion",
class: "ItemLiquidPortion",
matterState: "liquid",
attributes: {
waterTightContainerProps: {
containable: true,
itemsPerLitre: 10,
texture: {base: "block/liquid/materiaportion"},
whenFilled: { stack: { type: "item", code: "materiaportion" } },
allowSpill: true,
whenSpilled: {
action: "DropContents",
stack: { type: "item", code: "materiaportion"}
}
}
},
texture: {base: "item/liquid/materiaportion"},
creativeinventory: { "general": ["*"], "items": ["*"] },
maxstacksize: 16,
materialDensity: 1000
}
And here is my recipe (located at assets\equivlomancy\recipes\barrel\materia.json):
{
code: "materia",
ingredients: [
{ type: "item", code: "survival:waterportion", quantity: 2 },
{ type: "item", code: "survival:flint", quantity: 1 }
],
output: { type: "item", code: "materiaportion", stackSize: 1 }
}