{
	code: "cleaver",
	tags: ["weapon", "weapon-melee", "tool", "tool-cleaver"],
	class: "ItemCleaver",
	damagedby: ["blockbreaking", "attacking"],
	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: "AnimationAuthoritative", properties: { strikeSound: "sounds/tool/slash" } },
			{ name: "Buffable" }
		],
		"*-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: "AnimationAuthoritative", properties: { strikeSound: "sounds/tool/slash" } },
			{ name: "Buffable" }
		],
		"*-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: "AnimationAuthoritative", properties: { strikeSound: "sounds/tool/slash" } },
			{ name: "Buffable" }
		],
		"*": [
			{ 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" } },
			{ name: "Buffable" }
		]
	},
	variantgroups: [
		{ code: "metal", states: ["copper", "tinbronze", "bismuthbronze", "blackbronze", "gold", "silver", "iron", "meteoriciron", "steel" ] },
	],
	shape: { base: "item/tool/cleaver" },
	textures: {
		"metal": { base: "block/metal/sheet/{metal}1" },
		"toolhandle": {
			base: "block/metal/sheet/{metal}1",
			overlays: [ "item/tool/cleaver-overlay" ]
		}
	},
	attributes: {
		attachableToEntity: { categoryCode: "toolholding" },
		heldItemPitchFollow: 0.9,
		handbook: {
			groupBy: ["cleaver-*"]
		},
		rackable: true,
		toolrackTransform: {
			translation: { x: -0.35, y: 0.05, z: 0 },
			rotation: { x: 90, y: 0, z: 0 },
			scale: 2
		},
		groundStorageTransform: {
			translation: { x: 0, y: -0.23, z: 0.3 },
			rotation: { x: -155, y: 0, z: -87 },
			scale: 0.88
		},
        displayable: {
            shelf: {
                size: { width: 3.5, height: 1, length: 8 },
				transform: {
					translation: { x: 0.45, y: -0.08, z: 0.1 },
					rotation: { x: 88, y: 0, z: 108 },
					origin: { x: 0.4, y: 0.1, z: 0.5 }
				}
            }
        }
	},

	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
	}
}
