{
	code: "cloth",
	behaviors: [
		{ name: "GroundStorable", 
			properties: {
				layout: 'Stacking',
				upSolid: true,
				placeRemoveSound: 'sounds/block/leather',
				stackingModel: 'item/resource/cloth-pile',
				modelItemsToStackSizeRatio: 6,
				stackingCapacity: 18,
				transferQuantity: 1,
				bulkTransferQuantity: 3,
				collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.249, z2: 1 },
				cbScaleYByLayer: 0.22
			}
		}
	],
	shape: { base: "item/resource/cloth" },
	attributes: {
		clothingRepairStrength: 0.5,
		displaycaseable: true, 
		shelvable: true,
        displayable: {
            shelf: {
                size: { width: 12, height: 3, length: 6 }
            }
        },
		onDisplayTransform: {
			translation: { x: 0.05, y: 0, z: 0 },
			rotation: { x: 0, y: -45, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 0.8
		},
		handbook: {
			groupBy: ["cloth-*"]
		}
	},
	variantgroups: [
		{ code:"color", states: ["plain", "mordant", "blue", "red", "yellow", "green", "purple", "pink", "orange", "brown", "gray", "black", "white"] }
	],
	creativeinventory: { "general": ["*"], "items": ["*"] },
	maxstacksize: 32,
	materialDensity: 210,
	texturesByType: {
		"*-plain": {
			"color": { base: "block/cloth/linen/normal1" }
		},
		"*": {
			"color": { base: "block/cloth/linen/{color}" }
		}
	},
	guiTransform: {
		rotation: { x: -166, y: 78, z: -45 },
		origin: { x: 0.5, y: 0.1, z: 0.58 },
		scale: 2.5
	},
	tpHandTransform: {
		translation: { x: -1, y: -0.9, z: -1.35 },
		rotation: { x: 99, y: -180, z: 180 },
		scale: 0.49
	},
	groundTransform: {
		translation: { x: 0, y: 0.25, z: 0 },
		rotation: { x: 0, y: 0, z: 0 },
		origin: { x: 0.5, y: 0.31, z: 0.5299 },
		scale: 4
	}
}
