Jump to content

Simple barrel recipe - not working


Go to solution Solved by The Insanity God,

Recommended Posts

Posted

Been awhile since I made a barrel recipe but i thought it was pretty straight forward. No errors but not working when I try it 

 

[
	{
		code: "vinegar",
		sealHours: 1,
		ingredients: [
			{ type: "item", code: "game:waterportion", litres: 10, consumeLitres: 10 },
			{ type: "item", code: "game:pressedmash-cranberry-dry", quantity: 1 }
		],
		output: { type: "item", code: "game:vinegarportion", litres: 5 }
	}
]

 

  • Solution
Posted (edited)
8 hours ago, Micah Holmes said:
{ type: "item", code: "game:pressedmash-cranberry-dry", quantity: 1 }

image.thumb.png.96df0774ffa1841396b1b7f3d82ed16a.png

There is no such thing as "game:pressedmash-cranberry-dry", should be "game:pressedmash-cranberry". The Dry/Wet is decided by the presence of a "juiceableLitresLeft" attribute on the ItemStack. I'm not sure if inverted attribute requirements on recipes is a thing with pure JSON though (as in have it only allow items that don't have that attribute).

 

Edited by The Insanity God
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.