{
	code: "clothes",
	variantgroups: [
		{ code: "category",  states: ["foot"] },		
		{ code: "foot", combine: "SelectiveMultiply", onVariant: "category", states: [
			"aristocrat-shoes", "great-steppe-boots", "fur-lined-reindeer-herder-shoes", "high-leather-boots", "jailor-boots", "knee-high-fur-boots", "lackey-shoes", "merchant-shoes", 
			"messenger-shoes", "metalcap-boots", "minstrel-boots", "noble-shoes", "peasent-slippers", "prince-boots", "prisoner-binds", "shepherd-sandals", "soldier-boots", "squire-boots", 
			"nomad-boots", "temptress-velvet-shoes", "tigh-high-boots", "wool-lined-knee-high-boots", "worn-leather-boots", "blackguard-shoes", "clockmaker-shoes", "hunter-boots", "malefactor-boots",
			"forlorn-shoes", "commoner-boots", "tailor-shoes", "marketeer", "rotwalker", "rottenking", "king", "surgeon", "miner", "alchemist", "forgotten", "survivor", "scribe",
			"rusty-ankle-manacles", "acrobat", "arctichunter", "fortuneteller", "hobnailboots", "arcticfisher", "jester", "emeraldreindeerherder", "strawsandals", "embroideredfur",
            "beggar", "warrior", "wanderer", "ruralfarmer", "ruralhunter", "midsummer", "centurion", "popinjay", "farmhand"
		  ] },
	],
	behaviors: [
        { "name": "Wearable" },
        { name: "GroundStorable", properties: { layout: 'Quadrants', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.25, z2: 1 } } }
    ],
	shapeByType: {
        "@.*-(ruralfarmer|ruralhunter)": { base: "entity/humanoid/seraph/clothing/foot/rural" },
        "*-farmhand": { base: "entity/humanoid/seraph/clothing/foot/peasent-slippers" },
        "*": { base: "entity/humanoid/seraph/clothing/foot/{foot}" },
	},
	storageFlags: 128,
	attributes: {
		clothescategory: "foot",
		wearableAttachment: true,
		displaycaseable: true,
		shelvable: true,
		groundStorageTransform: {
			translation: { x: 0, y: 0.011, z: 0 }
		},
		onDisplayTransform: {
			translation: { x: 0, y: 0.011, z: 0 },
			rotation: { x: 0, y: -90, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 0.9
		},
		onshelfTransformByType: {
            "*-fortuneteller": {
			    translation: { x: 0, y: -0.1, z: 0 },
			    rotation: { x: 0, y: 0, z: -4 }
		    },
            "*-acrobat": {
			    translation: { x: 0, y: -0.12, z: 0 },
			    rotation: { x: 0, y: 0, z: -4 }
		    }
		},
		warmthByType: {
			"@.*-(acrobat|fortuneteller)": 0,
			"*-peasent-slippers*": 0.5,
			"*-noble-shoes": 0.5,
			"*-merchant-shoes": 0.5,
			"*-aristocrat-shoes": 0.5,
			"*-shepherd-sandals*": 0.5,
			"*-clockmaker-shoes": 0.5,
			"*-commoner-boots": 1,
			"@.*-(fur-lined-reindeer-herder-shoes|emeraldreindeerherder)": 4,
            "@.*-(arcticfisher|embroideredfur)": 3,
            "*-arctichunter": 2.5,
			"*-hunter-boots": 1.5,
			"*-worn-leather-boots": 0.5,
			"*-soldier-boots": 0.5,
			"*-wool-lined-knee-high-boots": 1.5,
			"*-knee-high-fur-boots": 2,
			"*-malefactor-boots": 1,
			"*": 1
		},
		handbook: {
			groupBy: ["clothes-{category}-*"]
		},
        "displayable": {
            "shelf": {
                "sizeByType": {
                    "*-aristocrat-shoes": { "width": 8, "height": 3, "length": 4 },
                    "*-fur-lined-reindeer-herder-shoes": { "width": 8, "height": 4.5, "length": 4 },
                    "*-great-steppe-boots": { "width": 8, "height": 6.5, "length": 4 },
                    "*-high-leather-boots": { "width": 8, "height": 6.5, "length": 4 },
                    "*-knee-high-fur-boots": { "width": 8, "height": 9, "length": 4 },
                    "*-jailor-boots": { "width": 8, "height": 8.5, "length": 4 },
                    "*-lackey-shoes": { "width": 8, "height": 6, "length": 4 },
                    "*-messenger-shoes": { "width": 8, "height": 8, "length": 4 },
                    "*-minstrel-boots": { "width": 8, "height": 6.5, "length": 4 },
                    "*-merchant-shoes": { "width": 8, "height": 2.5, "length": 4 },
                    "*-metalcap-boots": { "width": 8, "height": 4.5, "length": 4 },
                    "*-noble-shoes": { "width": 8, "height": 3, "length": 4 },
                    "*-peasent-slippers": { "width": 8, "height": 2, "length": 4 },
                    "*-prince-boots": { "width": 8, "height": 7.5, "length": 4 },
                    "*-squire-boots": { "width": 8, "height": 9, "length": 4 },
                    "*-prisoner-binds": { "width": 8, "height": 2.5, "length": 4 },
                    "*-shepherd-sandals": { "width": 8, "height": 2.5, "length": 4 },
                    "*-soldier-boots": { "width": 8, "height": 3, "length": 4 },
                    "*-nomad-boots": { "width": 8, "height": 8, "length": 4 },
                    "*-temptress-velvet-shoes": { "width": 8, "height": 5, "length": 4 },
                    "*-tigh-high-boots": { "width": 8, "height": 12, "length": 4 },
                    "*-wool-lined-knee-high-boots": { "width": 8, "height": 6, "length": 4 },
                    "*-blackguard-shoes": { "width": 8, "height": 6.5, "length": 4 },
                    "*-worn-leather-boots": { "width": 8, "height": 3, "length": 4 },
                    "*-hunter-boots": { "width": 8, "height": 8.5, "length": 4 },
                    "*-malefactor-boots": { "width": 8, "height": 8.5, "length": 4 },
                    "*-commoner-boots": { "width": 8, "height": 7.5, "length": 4 },
                    "*-forlorn-shoes": { "width": 8, "height": 6.5, "length": 4 },
                    "*-clockmaker-shoes": { "width": 8, "height": 2.5, "length": 4 },
                    "*-tailor-shoes": { "width": 8, "height": 3, "length": 4 },
                    "*-marketeer": { "width": 8, "height": 2, "length": 4 },
                    "*-rotwalker": { "width": 8, "height": 8, "length": 4 },
                    "*-rottenking": { "width": 8, "height": 4.5, "length": 4 },
                    "*-king": { "width": 8, "height": 4.5, "length": 4 },
                    "*-surgeon": { "width": 8, "height": 3, "length": 4 },
                    "*-miner": { "width": 8, "height": 4.5, "length": 4 },
                    "*-alchemist": { "width": 8, "height": 5.5, "length": 4 },
                    "*-forgotten": { "width": 8, "height": 2, "length": 4 },
                    "*-survivor": { "width": 8, "height": 8.5, "length": 4 },
                    "*-scribe": { "width": 8, "height": 2.5, "length": 4 },
                    "*-rusty-ankle-manacles": { "width": 8, "height": 1.5, "length": 4 },
                    "*-fortuneteller": { "width": 8, "height": 1.5, "length": 4 },
                    "*": { "width": 8, "height": 4, "length": 4 }
                },
                "transformByType": {
                    "*-prisoner-binds": {
                        "translation": { x: 0, y: -0.022, z: 0 },
                        "rotation": { x: 0, y: -90, z: 0 },
                        "origin": { x: 0.5, y: 0, z: 0.5 },
                        "scale": 0.9
                    },
                    "*-rusty-ankle-manacles": {
                        "translation": { x: 0, y: -0.111, z: 0 },
                        "rotation": { x: 0, y: -90, z: 0 },
                        "origin": { x: 0.5, y: 0, z: 0.5 },
                        "scale": 0.9
                    },
                    "*": {
                        "translation": { x: 0, y: 0.011, z: 0 },
                        "rotation": { x: 0, y: -90, z: 0 },
                        "origin": { x: 0.5, y: 0, z: 0.5 },
                        "scale": 0.9
                    }
                }
            }
        }
	},
	texturesByType: {
        "@.*-(ruralhunter|ruralfarmer)": {
			"seraph": { base: "block/transparent" },
			"material": { base: "entity/humanoid/seraphclothes/foot/{foot}" }
		},
        "*-farmhand": {
			"seraph": { base: "block/transparent" },
			"shoes": { base: "entity/humanoid/seraphclothes/foot/{foot}" }
		},
		"*": {
			"seraph": { base: "block/transparent" }
		}
	},
	creativeinventory: { "general": ["*"], "items": ["*"], "clothing": ["*"] },
	renderAlphaTest: 0.25,
	tpHandTransformByType: {
        //anklets
        "@.*-(acrobat|fortuneteller)": {
			translation: { x: -0.61, y: -0.67, z: -0.9199 },
			rotation: { x: 48, y: 88, z: 133 },
			scale: 0.83
		},
        //shoes
		"@.*-(clockmaker-shoes|marketeer|merchant-shoes|noble-shoes|tailor-shoes|aristocrat-shoes|peasent-slippers|shepherd-sandals|soldier-boots|worn-leather-boots|forgotten|deep|scribe|strawsandals|jester|farmhand|popinjay)": {
			translation: { x: -0.61, y: -0.67, z: -1.06 },
			rotation: { x: 48, y: 88, z: 133 },
			scale: 0.83
		},
        //short boots
		"@.*-(temptress-velvet-shoes|minstrel|metalcap-boots|fur-lined-reindeer-herder-shoes|rottenking|king|miner|alchemist|hobnailboots|midsummer|wanderer|warrior|beggar)": {
			translation: { x: -0.71, y: -0.4, z: -0.82 },
			rotation: { x: 48, y: 88, z: 52 },
			scale: 0.71
		},
        //long boots
		"@.*-(forlorn-shoes|blackguard-shoes|wool-lined-knee-high-boots|minstrel-boots|lackey-shoes|centurion|ruralhunter|ruralfarmer)": {
			translation: { x: -0.71, y: -0.56, z: -0.84 },
			rotation: { x: 48, y: 88, z: 53 },
			scale: 0.71
		},
		"*-prisoner-binds": {
			translation: { x: -0.71, y: -0.7, z: -1 },
			rotation: { x: -75, y: -87, z: -11 },
			scale: 0.75
		},
		"*-tigh-high-boots": {
			translation: { x: -0.73, y: -1, z: -0.82 },
			rotation: { x: 48, y: 88, z: 51 },
			scale: 0.71
		},
		"*": {
			translation: { x: -0.71, y: -0.66, z: -0.84 },
			rotation: { x: 48, y: 88, z: 53 },
			scale: 0.71
		}
	},
	guiTransformByType: {
		"@.*-(clockmaker-shoes|marketeer|merchant-shoes|noble-shoes|tailor-shoes|aristocrat-shoes|peasent-slippers|shepherd-sandals|soldier-boots|worn-leather-boots)": {
			translation: { x: 2, y: 0, z: 18 },
			rotation: { x: 152, y: -136, z: -4 },
			origin: { x: 0.49, y: 0.16, z: 0.54 },
			scale: 2.84
		},
		"*-tigh-high-boots": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 180, y: -76, z: 8 },
			origin: { x: 0.7, y: 0.4, z: 0.6 },
			scale: 1.94
		},
		"*": {
			rotate: false,
			translation: { x: 2, y: 0, z: 18 },
			rotation: { x: 152, y: -118, z: -3 },
			origin: { x: 0.5, y: 0.29, z: 0.55 },
			scale: 2.2
		}
	},
	groundTransform: {
		translation: { x: 0.05, y: 0.02, z: 0 },
		rotation: { x: 0, y: 0, z: 0 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 3.11
	}
}
