{
	code: "shield",
	class: "ItemShield",
	storageFlags: 257,
	attributes: {
		shield: {
			blockSoundLightByType: {
				"shield-blackguard": "held/shieldblock-metal-light",
				"shield-crude": "held/shieldblock-wood-light"
			},
			blockSoundHeavyByType: {
				"shield-blackguard": "held/shieldblock-metal-heavy",
				"shield-crude": "held/shieldblock-wood-heavy"
			},
			protectionChance: {
				"passive-projectile": 0.2,
				"active-projectile": 1,
				"passive": 0.2,
				"active": 0.9
			},
			projectileDamageAbsorptionByType: {
				"shield-crude": 3,
				"shield-blackguard": 12
			},
			damageAbsorptionByType: {
				"shield-crude": 3,
				"shield-blackguard": 5.5
			}
		},
		handbook: {
			groupBy: ["shield-*"]
		},
		rackable: true,
		toolrackTransformByType: {
			"shield-blackguard": {
				translation: { x: 0.3, y: -0.65, z: -0.625 },
				rotation: { x: 91, y: -6, z: -90 },
				scale: 1.5
			},
			"shield-crude": {
				translation: { x: 0.3, y: -0.62, z: 0.8 },
				rotation: { x: 91, y: -6, z: 0 },
				scale: 1.5
			}
		},
		moldrackable: true,
		onmoldrackTransformByType: {
			"shield-crude": {
				translation: { x: 0.82, y: 0.5, z: -0.45 },
				rotation: { x: -90, y: 82, z: 90 },
				origin: { x: 0.5, y: 0, z: 0.5 },
				scale: 1.2
			},
			"shield-blackguard": {
				translation: { x: 0.74, y: 0.5, z: -0.4 },
				rotation: { x: -90, y: 82, z: 90 },
				origin: { x: 0.5, y: 0, z: 0.5 },
				scale: 1.01
			}
		},
		groundStorageTransformByType: {
			"shield-crude": {
				translation: { x: -0.5, y: -0.2, z: -0.2 },
				rotation: { x: 21, y: 168, z: -81 },
				scale: 1
			},
			"shield-blackguard": {
				translation: { x: -0.42, y: -0.45, z: -0.085 },
				rotation: { x: 21, y: 179, z: -90 },
				scale: 1
			}
		},
		attachableToEntity: {
			categoryCode: "shield",
			texturePrefixCode: "shield",
			attachedShapeByType: {
				"shield-crude": { base: "item/tool/shield/rough" },
				"shield-blackguard": { base: "item/tool/shield/blackguard" }
			}
		}
	},
	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 },
		}
	}],
	variantgroups: [
		{ code: "construction", states: [ "crude", "blackguard" ] }
	],
	creativeinventory: { "general": ["shield-*"], "items": ["shield-*"], "tools": ["shield-*"] },
	shapeByType: {
		"shield-crude": { base: "item/tool/shield/rough" },
		"shield-blackguard": { base: "item/tool/shield/blackguard" }
	},
	durabilitybytype: {
		"shield-crude": 80,
		"shield-blackguard": 400
	},
	guiTransformByType: {
		"shield-crude": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 34, y: 32, z: -163 },
			origin: { x: 0.28, y: -0.28, z: 0.47 },
			scale: 1.8
		},
		"shield-blackguard": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 34, y: 32, z: -163 },
			origin: { x: 0.21, y: -0.21, z: 0.49 },
			scale: 1.8
		}
	},
	groundTransform: {
		translation: { x: 0, y: 0.37, z: 0 },
		rotation: { x: -93, y: 0, z: 0 },
		origin: { x: 0.5, y: 0, z: 0.43 },
		scale: 5
	},
	tpHandTransformByType: {
		"shield-crude": {
			translation: { x: -0.93, y: 0.04, z: -0.92 },
			rotation: { x: 0, y: 1, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 1
		},
		"shield-blackguard": {
			translation: { x: -0.98, y: 0, z: -0.85 },
			rotation: { x: -4, y: 4, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 1
		}
	},
	tpOffHandTransformByType: {
		"shield-crude": {
			translation: { x: -0.12, y: 0.05, z: -0.078 },
			rotation: { x: 0, y: 180, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 1
		},
		"shield-blackguard": {
			translation: { x: -0.13, y: 0.01, z: -0.01 },
			rotation: { x: -4, y: 173, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 1
		}
	}
}
