{
	code: "wrench",
	class: "ItemWrench",
	tags: ["tool", "tool-wrench"],
	storageFlags: 257,
	behaviorsByType: {
		"*-iron": [
			{ name: "GroundStorable", properties: { layout: 'WallHalves', wallOffY: 1, ctrlKey: true, selectionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 },	collisionBox: { x1: 0, y1: 0, z1: 0, x2: 0, y2: 0, z2: 0 }}},
			{ name: "Buffable" },
			{ name: "Quenchable" }
		],
		"*-meteoriciron": [
			{ name: "GroundStorable", properties: { layout: 'WallHalves', wallOffY: 1, ctrlKey: true, selectionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 },	collisionBox: { x1: 0, y1: 0, z1: 0, x2: 0, y2: 0, z2: 0 }}},
			{ name: "Buffable" },
			{ name: "Quenchable" }
		],
		"*-steel": [
			{ name: "GroundStorable", properties: { layout: 'WallHalves', wallOffY: 1, ctrlKey: true, selectionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 },	collisionBox: { x1: 0, y1: 0, z1: 0, x2: 0, y2: 0, z2: 0 }}},
			{ name: "Buffable" },
			{ name: "Quenchable" }
		],
		"*": [
			{ name: "GroundStorable", properties: { layout: 'WallHalves', wallOffY: 1, ctrlKey: true, selectionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1, z2: 1 },	collisionBox: { x1: 0, y1: 0, z1: 0, x2: 0, y2: 0, z2: 0 }}},
			{ name: "Buffable" }
		]
	},
	variantgroups: [
		{ code: "metal", states: ["copper", "tinbronze", "bismuthbronze", "blackbronze", "gold", "silver", "iron", "meteoriciron", "steel" ]},
	],
	shape: { base: "item/tool/wrench/{metal}1" },
	texturesByType: {
		"*": {
			"metal": { base: "block/metal/ingot/{metal}" },
			"wood": { base: "item/tool/handle" }
		}
	},
	attributes: {
		attachableToEntity: { categoryCode: "toolholding" },
		toolrackTransform: {
			translation: { x: -0.05, y: -0.65, z: 0 },
			rotation: { x: 180, y: 1, z: -1 },
			scale: 1.5
		},
		groundStorageTransform: {
			translation: { x: 0, y: 0.05, z: -0.014 },
			rotation: { x: 26, y: 90, z: -90 },
			scale: 0.88
		},
		onTongTransform: {
			translation: { x: -1.93, y: -1.24, z: -0.5 },
			rotation: { x: 95, y: 20, z: -82 },
			scale: 0.7
		},
		handbook: {
			groupBy: ["wrench-*"]
		},
		onMetalTongTransform: {
			translation: { x: -1.48, y: -0.14, z: -0.8 },
			rotation: { x: 95, y: 103, z: -82 },
			origin: { x: 0.5, y: -0, z: 0.5 },
			scale: 0.7
		},
		forgable: true,
		inForgeTransform: {
			origin: { x: 0.5, y: 0, z: 0.5 }
		}
	},
	tool: "wrench",
	damagedby: ["blockbreaking", "attacking"],
	heldTpHitAnimation: "smithing",
	tooltierbytype: {
		"*-copper": 2,
		"*-gold": 2,
		"*-silver": 2,
		"*-bismuthbronze": 3,
		"*-tinbronze": 3,
		"*-blackbronze": 3,
		"*-iron": 4,
		"*-meteoriciron": 4,
		"*-steel": 5
	},
	durabilitybytype: {
		"wrench-stone": 60,
		"wrench-gold": 250,
		"wrench-silver": 250,
		"wrench-copper": 500,
		"wrench-tinbronze": 750,
		"wrench-bismuthbronze": 900,
		"wrench-blackbronze": 1100,
		"wrench-iron": 1800,
		"wrench-meteoriciron": 2100,
		"wrench-steel": 4500
	},
	attackpowerbytype: {
		"wrench-stone": 1,
		"wrench-copper": 1.25,
		"wrench-gold": 1.5,
		"wrench-silver": 1.5,
		"wrench-bismuthbronze": 1.5,
		"wrench-tinbronze": 1.75,
		"wrench-blackbronze": 2,
		"wrench-iron": 2.25,
		"wrench-meteoriciron": 2.35,
		"wrench-steel": 2.5
	},
	creativeinventory: { "general": ["*"], "items": ["*"], "tools": ["*"] },
	guiTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: -58, y: 46, z: 8 },
		origin: { x: 0.53, y: 0, z: 0.48 },
		scale: 2.6
	},
	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.5
	},
	tpHandTransform: {
		translation: { x: -0.85, y: -0.68, z: -0.22 },
		rotation: { x: 90, y: 1, z: 0 },
		scale: 0.7
	}
}
