{
	code: "jonasframes",
	variantgroups: [
		{ code: "type", states: ["gearbox01", "gearbox02", "oscillator01", "spring01", "joint01", "gears01", "gears02"] },
	],
	shape: { base: "item/jonas/frames/{type}" },
	behaviors: [{ 
		name: "GroundStorable",
		properties: {
			placeRemoveSound: 'sounds/block/ingot',
			layoutByType: {
				"*-gearbox02": 'SingleCenter',
				"*": 'Quadrants'
			},
			collisionBoxByType: {
				"*-gearbox02": { x1: 0.3, y1: 0.0, z1: 0.2, x2: 0.7, y2: 0.2, z2: 0.8 },
				"*": { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.25, z2: 1 }
			}
		}
	}],		
	creativeinventory: { "general": ["*"], "items": ["*"] },
	maxstacksize: 32,
	attributes: {
		displaycaseableByType: {
			"*-gearbox02": false,
			"*": true
		},
		shelvable: true,
        displayable: {
            shelf: {
                sizeByType: {
                    "*-gearbox01":{ width: 3.5, height: 1.5, length: 8 },
                    "*-gearbox02":{ width: 12, height: 3, length: 8 },
                    "*-oscillator01":{ width: 3.5, height: 2.5, length: 7.5 },
                    "*-spring01":{ width: 5.5, height: 3, length: 5.5 },
                    "*-joint01":{ width: 6, height: 2, length: 6 },
                    "*-gears01":{ width: 6, height: 2, length: 6 },
                    "*-gears02":{ width: 6, height: 5, length: 6 } 
                }
            }
        },
		onDisplayTransform: {
			translation: { x: 0, y: -0.02, z: 0 },
			rotation: { x: 0, y: 0, z: 0 },
			origin: { x: 0.5, y: 0.25, z: 0.5 },
			scale: 0.95
		},
		handbook: {
			groupBy: ["jonasframes-*"]
		}
	},
	materialDensity: 900,
	heldTpHitAnimation: "breaktool",
	guiTransformByType: {
		"*-gearbox01": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 154, y: -150, z: 6 },
			origin: { x: 0.5, y: 0.09, z: 0.54 },
			scale: 2.7
		},
		"*-gearbox02": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 155, y: -154, z: 23 },
			origin: { x: 0.5, y: 0.15, z: 0.54 },
			scale: 2.7
		},
		"*-joint01": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 155, y: -154, z: 23 },
			origin: { x: 0.49, y: 0.13, z: 0.54 },
			scale: 2.85
		},
		"*-gears01": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 155, y: -154, z: 23 },
			origin: { x: 0.52, y: 0.08, z: 0.56 },
			scale: 2.7
		},		
		"*-spring01": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 155, y: -154, z: 23 },
			origin: { x: 0.52, y: 0.09, z: 0.56 },
			scale: 2.7
		},
		"*": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 155, y: -154, z: 23 },
			origin: { x: 0.5, y: 0.19, z: 0.54 },
			scale: 2.7
		}
	},
	tpHandTransform: {
		translation: { x: -0.55, y: -0.1, z: -0.47 },
		rotation: { x: 25, y: -174, z: 95 },
		origin: { x: 0.5, y: 0.12, z: 0.5 },
		scale: 1
	},
	groundTransformByType: {
		"*-gears01": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 0, y: 0, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.54 },
			scale: 5
		},
		"*-joint01": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -2, y: 0, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.54 },
			scale: 5
		},
		"*-spring01": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 0, y: 0, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.54 },
			scale: 5
		},
		"*": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 90, y: 0, z: 0 },
			origin: { x: 0.5, y: 0.22, z: 0.54 },
			scale: 5
		}
	}
}
