{
	code: "metalpartpile",
	// BlockMetalPartPile only contains code for better control over the drop rates
	class: "BlockMetalPartPile",
	behaviors: [{name: "UnstableFalling"}],	
	variantgroups: [
		{ code:"size", states: ["tiny", "small", "medium", "large"] }
	],
	shape: {
		base: "block/metal/metalparts/pile-{size}"
	},
	doNotRenderAtLod2: true,
	heldTpIdleAnimation: "holdbothhands",
	sidesolid: { all: false },
	sideopaque: { all: false },
	blockmaterial: "Metal",
	creativeinventory: { "general": ["*"] },
	replaceable: 100,
	resistance: 2,
	lightAbsorption: 0,
	maxStackSize: 16,
	selectionbox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.125, z2: 1 },
	collisionbox: null,
	materialDensity: 600,
	guiTransform: {
		origin: { x: 0.5, y: 0.2, z: 0.5 },
		scale: 1.6
	},
	drops: [
		{ type: "block", code: "metal-scraps", quantity: { avg: 1 } },
		{ type: "block", code: "metal-parts", quantity: { avg: 1 } },
		{ type: "item", code: "gear-rusty", quantity: { avg: 1 }, dropModbyStat: "rustyGearDropRate" }
	]
}