Jump to content

(solved) Repair Recipe and averageDurability confusion


Recommended Posts

Thanks to the discord I figured this out. I had averageDurability on the output and needed to move it to the recipe itself.

I'm working on a repair recipe that I thought would be simple.  Here is what I have so far:

{
	"ingredientPattern": "_G_,TWL",
	"ingredients": {
		"G": {
			"type": "item",
			"code": "cob:cob-glider-diamondred1",
			"quantity": 1
		},
		"T": {
			"type": "item",
			"code": "game:flaxtwine",
			"quantity": 1
		},
		"W": {
			"type": "item",
			"code": "game:cloth-red",
			"quantity": 1
		},
		"L": {
			"type": "item",
			"code": "game:leather-*",
			"quantity": 1
		}
	},
	"width": 3,
	"height": 2,
	"output": {
		"type": "item",
		"averageDurability": false,
		"code": "cob:cob-glider-diamondred1"
	}
}

My understanding is that by setting averageDurability to false, I should get an output with full durability, but I'm just getting a glider with the same reduced durability back.  I've tried a variety of solutions, but nothing seems to make a difference.  

Am I understanding the purpose of the averageDurability flag and is it actually active?

Edited by Jeffrey Gordon
Link to comment
Share on other sites

  • Jeffrey Gordon changed the title to (solved) Repair Recipe and averageDurability confusion
×
×
  • 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.