{
	code: "bowstave",
	variantgroups: [
		{ code: "type", states: ["long", "recurve"] },
		{ code: "state", states: ["raw", "dry"] }
	],
	behaviorsByType: {
		"*-long-dry": [
			{ name: "GroundStorable", properties: { layout: 'SingleCenter', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 } } }
		],
		"*-long-raw": [
			{
				name: "GroundStoredProcessable",
				properties: {
					processTime: 4, 
					processingSound: "game:sounds/tool/groundcrafting/saw*",
					remainingItem: { type: "item", code: "bowstave-recurve-raw"},
					tool: "saw"
				}
			},
			{ name: "GroundStorable", properties: { layout: 'SingleCenter', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 } } }
		]
	},
	attributes: {
		rackable: true,
		toolrackTransform: {
			rotation: { x: 2, y: 5, z: 0 },
			translation: { y: 0.63 },
			scale: 1.25
		},
		handbook: {
			groupBy: ["bowstave-*-{state}"]
		}
	},
	heldTpUseAnimation: "interactstatic", maxstacksize: 8,
	shape: {
		base: "item/tool/bow/{type}-stave"
	},
	texturesByType: {
		"*-long-raw": { 
			"aged": { base: "block/wood/debarked/aged" },
			"bone": { base: "block/wood/debarked/aged" },
			"leather": { base: "block/wood/debarked/aged" }
		},
		"*-recurve-raw": { 
			"pine": { base: "block/wood/debarked/aged" },
			"aged": { base: "block/wood/debarked/aged" },
			"bone": { base: "block/wood/debarked/aged" },
			"leather": { base: "block/wood/debarked/aged" }
		}
	},
	creativeinventory: { "general": ["*"], "items": ["*"] },
	guiTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: -115, y: -9, z: 108 },
		origin: { x: 1.07, y: -0.2, z: 0.75 },
		scale: 1.99
	},
	groundTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: 0, y: 0, z: 0 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 4.8
	},
	tpHandTransformByType: {
		"*-recurve": {
			translation: { x: -0.52, y: 0.01, z: -0.54 },
			rotation: { x: 107, y: 11, z: 10 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 0.93
		},
		"*": {
			translation: { x: -0.48, y: -0.02, z: -0.44 },
			rotation: { x: 107, y: 11, z: 10 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 1.15
		}
	},
	transitionablePropsByType: {
		"*-long-raw":
			[{
				type: "Dry",
				freshHours: { avg: 0 },
				transitionHours: { avg: 168 },
				transitionedStack: { type: "item", code: "bowstave-long-dry" },
				transitionRatio: 1
			}],
		"*-recurve-raw":
			[{
				type: "Dry",
				freshHours: { avg: 0 },
				transitionHours: { avg: 168 },
				transitionedStack: { type: "item", code: "bowstave-recurve-dry" },
				transitionRatio: 1
			}]
	}
}
