{
	code: "clothes",
	variantgroups: [
		{ code: "village",  states: ["nadiya"] },		
		{ code: "category",  states: ["shoulder"] },		
		{ code: "shoulder", combine: "SelectiveMultiply", onVariant: "category", states: [
			"alchemist", "barber", "blacksmith", "innkeeper", "hunter", "shepherd", "musician", "fisher", 
			"guard", "peasant1", "peasant2", "peasant3", "winter1"
		] }
	],
    behaviors: [
        { "name": "Wearable" }
    ],
	attributes: {
		wearableAttachment: true,
		clothescategory: "shoulder",
		warmthByType: {
			"*-winter1": 1.5,
			"*": 1
		},
		rainProtectionPercByType: {
			"@.*-(hunter|miner|shepherd)": 0.85,
			"@.*-(alchemist|fisher|guard|peasant1|peasant2|peasant3|winter1)": 0.5
		},
		attachableToEntity: {
			categoryCode: "shoulder",
			disableElementsByType: {
				"*-musician": ["Hair tile upper part", "ponytailhigh", "ponytaillow",  "hair-uncovered", "sidehigh", "sidelow"], keepElements: ["hair-covered"]
			}
		},
		handbook: {
			groupBy: ["clothes-{village}-{category}-*"]
		}
	},
	storageFlags: 128,
	shapeByType: {
		"*-barber": { base: "entity/humanoid/seraph/clothing/shoulder/blacksmith-apron" },
		"*-blacksmith": { base: "entity/humanoid/seraph/clothing/shoulder/blacksmith-apron" },
		"*-innkeeper": { base: "entity/humanoid/seraph/clothing/shoulder/blacksmith-apron" },
		"@.*-(hunter|shepherd)": { base: "entity/humanoid/seraph/clothing/shoulder/longsleeve" },
		"*-musician": { base: "entity/humanoid/seraph/clothing/shoulder/longsleeve-hood" },
		"*": { base: "entity/humanoid/seraph/clothing/shoulder/shortsleeve" },
	},
	texturesByType: {
		"@.*-(barber|blacksmith|innkeeper)": {			
			"seraph": { base: "block/transparent" },
			"shouldertexture": { base: "entity/humanoid/villagerclothes/shoulder/apron/{shoulder}" }
		},
		"@.*-(hunter|shepherd)": {			
			"seraph": { base: "block/transparent" },
			"shouldertexture": { base: "entity/humanoid/villagerclothes/shoulder/longsleeve/{shoulder}" }
		},
		"*-musician": {			
			"seraph": { base: "block/transparent" },
			"shouldertexture": { base: "entity/humanoid/villagerclothes/shoulder/longsleeve-hood/{shoulder}" }
		},
		"*": {
			"seraph": { base: "block/transparent" },
			"shouldertexture": { base: "entity/humanoid/villagerclothes/shoulder/shortsleeve/{shoulder}" }
		}
	},
	creativeinventory: { "general": ["*"], "items": ["*"], "clothing": ["*"] },
	renderAlphaTest: 0.25,
	tpHandTransformByType: {
		"*": {
			translation: { x: 0, y: -0.7, z: -0.7 },
			rotation: { x: -81, y: 180, z: 91 },
			scale: 0.59
		}
	},
	guiTransformByType: {
		"@.*-(barber|blacksmith|innkeeper)": {
			rotate: false,
			translation: { x: 2, y: 0, z: 17 },
			rotation: { x: -178, y: -65, z: 10 },
			origin: { x: 0.5, y: 1.05, z: 0.5 },
			scale: 1.46
		},
		"@.*-(fisher|winter1)": {
			rotate: false,
			translation: { x: 2, y: 0, z: 17 },
			rotation: { x: -178, y: -65, z: 10 },
			origin: { x: 0.5, y: 1.36, z: 0.5 },
			scale: 2.2
		},
		"*-guard": {
			rotate: false,
			translation: { x: 2, y: 0, z: 17 },
			rotation: { x: -178, y: -65, z: 10 },
			origin: { x: 0.5, y: 1.1, z: 0.5 },
			scale: 1.5
		},
		"@.*-(hunter|shepherd)": {
			rotate: false,
			translation: { x: 2, y: 0, z: 17 },
			rotation: { x: -178, y: -65, z: 10 },
			origin: { x: 0.5, y: 1.16, z: 0.5 },
			scale: 1.9
		},
		"*-musician": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -178, y: -65, z: 10 },
			origin: { x: 0.5, y: 1.53, z: 0.5 },
			scale: 1.83
		},
		"*": {
			rotate: false,
			translation: { x: 2, y: 0, z: 17 },
			rotation: { x: -178, y: -65, z: 10 },
			origin: { x: 0.5, y: 1.4, z: 0.5 },
			scale: 2.2
		}
	},
	groundTransform: {
		translation: { x: 0.05, y: 0.1, z: 0 },
		rotation: { x: 0, y: 0, z: -87 },
		origin: { x: 0.5, y: 0.5, z: 0.5299 },
		scale: 2.19
	}
}
