{
	code: "cleaver",
	tags: ["weapon", "weapon-melee", "tool", "tool-cleaver"],
	class: "ItemCleaver",
	damagedby: ["blockbreaking", "attacking"],
	behaviors: [
		{
			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: "AnimationAuthoritative", properties: { strikeSound: "sounds/tool/slash" } }
	],
	variantgroups: [
		{ code: "material", states: ["copper", "tinbronze", "bismuthbronze", "blackbronze", "gold", "silver", "iron", "meteoriciron", "steel" ] },
	],
	shape: { base: "item/tool/cleaver" },
	textures: {
		"metal": { base: "block/metal/sheet/{material}1" },
		"toolhandle": {
			base: "block/metal/sheet/{material}1",
			overlays: [ "item/tool/cleaver-overlay" ]
		}
	},
	attributes: {
		attachableToEntity: { categoryCode: "toolholding" },
		heldItemPitchFollow: 0.9,
		handbook: {
			groupBy: ["cleaver-*"]
		},
		rackable: true,
		toolrackTransform: {
			rotation: { x: 90 },
			translation: { x: -0.35 },
			scale: 2,
		},
		groundStorageTransform: {
			translation: { x: 0, y: -0.23, z: 0.3 },
			rotation: { x: -155, y: 0, z: -87 },
			scale: 0.88
		},
		onTongTransform: {
			translation: { x: -0.77, y: -0.8, z: -0.558 },
			rotation: { x: 21, y: 10, z: 75 }
		},
		onMetalTongTransform: {
			translation: { x: -0.97, y: -0.61, z: -0.558 },
			rotation: { x: 86, y: 14, z: 93 }
		}
	},

	heldTpHitAnimation: "cleaverhit",
	heldTpUseAnimation: "cleaverhit",
	durabilitybytype: {
		"cleaver-gold": 75,
		"cleaver-silver": 80,
		"cleaver-copper": 200,
		"cleaver-tinbronze": 350,
		"cleaver-bismuthbronze": 400,
		"cleaver-blackbronze": 450,
		"cleaver-iron": 800,
		"cleaver-meteoriciron": 950,
		"cleaver-steel": 2000,
	},
	attackpowerbytype: {
		"cleaver-copper": 1.25,
		"cleaver-bismuthbronze": 1.5,
		"cleaver-tinbronze": 1.75,
		"cleaver-gold": 1.5,
		"cleaver-silver": 1.5,
		"cleaver-blackbronze": 2,
		"cleaver-iron": 2.5,
		"cleaver-meteoriciron": 2.6,
		"cleaver-steel": 2.75,
	},
	creativeinventory: { "general": ["*"], "items": ["*"], "tools": ["*"] },
	guiTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: 0, y: 26, z: 140 },
		origin: { x: 0.55, y: 0.52, z: 0.5 },
		scale: 2.53
	},
	groundTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: -90, y: 0, z: 0 },
		origin: { x: 0.5, y: 0.5, z: 0.45 },
		scale: 3.6
	},
	tpHandTransform: {
		translation: { x: -0.7799, y: -0.48, z: -0.5 },
		rotation: { x: 0, y: 180, z: 0 },
		scale: 1
	}
}
