{
	code: "stackrandomizer",
	class: "ItemStackRandomizer",
	variantgroups: [
		{ code: "type", states: [
			"mines"
		] },
	],
	attributesByType: {
		"*-mines": {
			handbook: { exclude: true },
			stacks: [
				{ type: "item", code: "paper-parchment", quantity: { avg: 3, var: 2 }, chance: 5 },
				{ type: "item", code: "book-rotten-gray", chance: 1 },
				{ type: "item", code: "book-rotten-brown", chance: 1 },
				{ type: "item", code: "book-rotten-rust", chance: 1 },
				{ type: "item", code: "book-rotten-purple", chance: 1 },
				{ type: "item", code: "book-rotten-green", chance: 1 },
				{ type: "item", code: "blastingpowder", chance: 1 },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "block-tackle", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "candlestubs-bunch1", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "candlestubs-bunch2", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "candlestubs-bunch3", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "candlestubs-bunch4", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "locust-body", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "locust-full", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "locust-lamp", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "locust-limbs1", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "locust-limbs2", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "locust-parts", collected: true } },

				{ type: "block", code: "clutter", chance: 1, attributes: { type: "machine3", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "machine8", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "mech-part6", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "music-box2", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "music-box3", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "pile-tools1", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "pile-tools2", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "pile-tools3", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "pile-tools4", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "pile-woodworkingtools", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "pulley", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "rubble-wood1", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "rubble-wood2", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "rubble-wood3", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "rubble-wood4", collected: true } },
				
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "tool-axe", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "tool-hammer", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "tool-knife", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "tool-pickaxe", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "tool-saw", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "tool-shovel", collected: true } },
				
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "lantern/ground1", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "lantern/ground2", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "lantern/ground3", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "lantern/ground4", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "lantern/ground5", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "lantern/ground6", collected: true } },
				
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "grinding-stone", collected: true } },
				{ type: "block", code: "clutter", chance: 1, attributes: { type: "pile-medical", collected: true } },
			]
		},
	},
	maxstacksize: 1,
	texture: { base: "item/meta/randomizer/{type}" },
	creativeinventory: { "meta": ["*"] },
	materialDensity: 600
}