{
	code: "returnbase",
	variantgroups: [
		{ code: "type", states: ["returnbasebottom", "returnbaseend", "returnbasetop"] },
	],
	shape: { base: "item/jonas/upgrades/{type}" },
	behaviors: [{ 
		name: "GroundStorable",
		properties: {
			layout: 'Quadrants',
			placeRemoveSound: 'sounds/block/ingot',
			collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.25, z2: 1 }
		}
	}],		
	creativeinventory: { "general": ["*"], "items": ["*"] },
	maxstacksize: 1,
	attributes: {
		displaycaseable: true, 
		shelvable: true,
        displayable: {
            shelf: {
                sizeByType: {
                    "*-returnbasebottom":{ width: 6.5, height: 2, length: 3 },
                    "*-returnbaseend":{ width: 6, height: 2, length: 2},
                    "*-returnbasetop":{ width: 2, height: 2, length: 6 }
                }
            }
        },
		onDisplayTransform: {
			translation: { x: 0, y: -0.2, z: 0 },
			rotation: { x: 0, y: 94, z: 90 },
			origin: { x: 0.5, y: 0.25, z: 0.5 },
			scale: 0.95
		},
		handbook: {
			groupBy: ["returnbase-*"]
		}
	},
	materialDensity: 900,
	heldTpHitAnimation: "breaktool",
	guiTransformByType: {
		"*-returnbasebottom": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 160, y: -149, z: 28 },
			origin: { x: 0.6, y: -0.11, z: 0.24 },
			scale: 3.76
		},
		"*-returnbaseend": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 142, y: -144, z: -180 },
			origin: { x: 0.5, y: 0.04, z: 0.5 },
			scale: 4.42
		},
		"*-returnbasetop": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 155, y: -104, z: -2 },
			origin: { x: 0.5, y: 0.07, z: 0.55 },
			scale: 4.97
		}
	},
	tpHandTransform: {
		translation: { x: -0.55, y: -0.1, z: -0.47 },
		rotation: { x: 25, y: -174, z: 41 },
		origin: { x: 0.5, y: 0.02, z: 0.7 },
		scale: 1
	},
	groundTransform: {
		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
	}
}
