{
	code: "backpack",
	maxstacksize: 1,
	behaviors: [
		{ name: "GroundStorable", properties: { layout: "SingleCenter", collisionBox: { x1: 0.25, y1: 0, z1: 0.25, x2: 0.75, y2: 0.375, z2: 0.75 }}},
		{ name: "HeldBag" },
		{
			name: "GroundStoredHeldBag",
			properties: {
				dialogTitleLangCode: "backpackcontents"
			}
		}
	],
	variantgroups: [
		{ code:"type", states: ["normal", "sturdy"] }
	],
	attributes: {
		attachableToEntity: {
			categoryCode: "backpack",
			attachedShape: { base: "item/bag/backpack-{type}-attached" }
		},
		wearableAttachment: true,
		backpackByType: {
			"*-normal": { quantitySlots: 6 },
			"*-sturdy": { quantitySlots: 8 }
		}
	},
	shape: { base: "item/bag/backpack-{type}" },
	texturesByType: {
		"*-normal": {},
		"*-sturdy": {
			"darktone": { base: "block/leather/chromium", overlays: ["block/overlay/gradient1"] },
			"midtone": { base: "block/leather/chromium",  overlays: ["block/overlay/gradient1"] },
			"leather": { base: "block/leather/chromium" },
			"flaps": { base: "block/leather/chromium" },
			"metal": { base: "block/metal/sheet/tinbronze2" }
		}
	},
	storageFlags: 2,
	creativeinventory: { "general": ["*"], "items": ["*"] },
	guiTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: -20, y: 21, z: 180 },
		origin: { x: 0.53, y: 0.35, z: 0.5 },
		scale: 2.3,
		rotate: true
	},
	tpHandTransform: {
		translation: { x: -0.61, y: -0.67, z: -0.65 },
		rotation: { x: -6, y: 1, z: 3 },
		scale: 0.86
	},
	groundTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: 180, y: 33, z: -180 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 4.5
	}
}
