Jump to content

Recipe error when including multiple ingredients with attributes


Frepo

Recommended Posts

I can't get this recipe to work

	{
		ingredientPattern: "TP",
		ingredients: {
			"T": { type: "block", code: "fregtech:fttrunkmetal-east", attributes: { type: "reinforced" } },
			"P": { type: "block", code: "game:woodbucket" },
		},
		width: 2,
		height: 1,
		shapeless: true,
		attributes: {
				liquidContainerProps: {
					requiresContent: { type: "item", code: "game:dye-blue" },
					requiresLitres: 1.0
				}
		},
		output: { type: "block", code: "fregtech:fttrunkmetal-east", attributes: { type: "reinforcedblue" } }
	},

Is something written wrong or is it simply not possible to combine several items with attributes in the same recipe?

Coz it works fine like e.g. this:

Spoiler
{
	ingredientPattern: "TP",
	ingredients: {
		"T": { type: "block", code: "fregtech:fttrunkmetal-east", attributes: { type: "reinforced" } },
		"P": { type: "item", code: "game:leather-blue", quantity: 1 },
	},
	width: 2,
	height: 1,
	shapeless: true,
	output: { type: "block", code: "fregtech:fttrunkmetal-east", attributes: { type: "reinforcedblue" } }
},

 

 

Link to comment
Share on other sites

×
×
  • 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.