{
	code: "clothes",
	variantgroups: [
		{ code: "category",  states: ["emblem"] },
		{ code: "emblem", combine: "SelectiveMultiply", onVariant: "category", states: [
			"blue-seal", "brass-ruby-brooch", "messenger-pin", "royal-pin", "silver-pin", "silver-star", "squire-emblem", "blackguard-pin",
			"fibula", "lily", "silver-brooch", "falcon", "cursedgemstone", "flyingfishfigurine", "cloak-clasp", "cloak-clasp-beads",
            "cloak-clasp-chain", "starburst", "midsummer"
		  ] },
	],
	storageFlags: 128,
    behaviors: [
        { "name": "Wearable" }
    ],
    attributes: {
		clothescategory: "emblem",
		wearableAttachment: true,
		warmth: 0,
		handbook: {
			groupBy: ["clothes-{category}-*"]
		}
	},
	shape: { base: "entity/humanoid/seraph/clothing/emblem/{emblem}" },
	texturesByType: {
		"*": {
			"seraph": { base: "block/transparent" }
		}
	},
	creativeinventory: { "general": ["*"], "items": ["*"], "clothing": ["*"] },
	renderAlphaTest: 0.25,
	tpHandTransformByType: {
		"*-brass-ruby-brooch": {
			translation: { x: 0.13, y: -0.6, z: -0.5 },
			rotation: { x: 0, y: 0, z: -90 },
			scale: 1
		},
		"*-cursedgemstone": {
			translation: { x: -0.37, y: -0.6, z: -0.5 },
			rotation: { x: -2, y: -3, z: -166 },
			origin: { x: 0.5, y: 1, z: 0.5 },
			scale: 1
		},
        "clothes-emblem-starburst": {
			translation: { x: 0.27, y: -0.66, z: -0.42 },
			rotation: { x: 0, y: 0, z: -90 },
			scale: 1
		},
		"clothes-emblem-cloak-clasp*": {
			translation: { x: -0.51, y: 0.27, z: -0.27 },
			rotation: { x: -85, y: -90, z: -90 },
			scale: 1
		},
		"clothes-emblem-midsummer": {
			translation: { x: -0.72, y: -1.3, z: -0.48 },
			rotation: { x: 0, y: 0, z: 0 },
			scale: 1.05
		},
		"*": {
			translation: { x: 0.23, y: -0.65, z: -0.6 },
			rotation: { x: 0, y: 0, z: -90 },
			scale: 1
		}
	},
	guiTransformByType: {
		"*-flyingfishfigurine": {
			rotation: { x: -61, y: 47, z: -68 },
			origin: { x: 0.23, y: 1.5, z: 0.52 },
			scale: 6
		},
		"*-cursedgemstone": {
			rotation: { x: -6, y: 90, z: 8 },
			origin: { x: 0.35, y: 1.4, z: 0.49 },
			scale: 6
		},
		"*-brass-ruby-brooch": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -1, y: -90, z: 0 },
			origin: { x: 0.18, y: 1.31, z: 0.53 },
			scale: 4.04
		},
		"*-squire-emblem": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.6, y: 1.31, z: 0.42 },
			scale: 4.65
		},
		"*-blue-seal": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.5, y: 1.3, z: 0.41 },
			scale: 4.65
		},
		"*-falcon": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.2, y: 1.4, z: 0.53 },
			scale: 5
		},
		"*-silver-brooch": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.42, y: 1.39, z: 0.45 },
			scale: 6
		},
		"*-lily": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.73, y: 1.34, z: 0.61 },
			scale: 6
		},
		"*-fibula": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.71, y: 1.37, z: 0.41 },
			scale: 6
		},
        "clothes-emblem-starburst": {
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.83, y: 1.3, z: 0.6 },
			scale: 6
		},
		"clothes-emblem-cloak-clasp*": {
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.73, y: 1.3, z: 0.52 },
			scale: 4.97
		},
        "clothes-emblem-midsummer": {
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.45, y: 1.29, z: 0.51 },
			scale: 6
		},
		"*": {
			rotate: false,
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: 174, y: -90, z: 5 },
			origin: { x: 0.73, y: 1.3, z: 0.41 },
			scale: 5
		}
	},
	groundTransformByType: {
		"*-cursedgemstone": {
			translation: { x: 0.05, y: -0.13, z: 0 },
			rotation: { x: 0, y: 0, z: -80 },
			origin: { x: 0.49, y: 1.39, z: 0.53 },
			scale: 5
		},
		"*-flyingfishfigurine": {
			translation: { x: 0.05, y: -0.13, z: 0 },
			rotation: { x: 0, y: 0, z: -90 },
			origin: { x: 0.5, y: 1.39, z: 0.6399 },
			scale: 5
		},
		"*-brass-ruby-brooch": {
			translation: { x: 0.05, y: -0.12, z: 0 },
			rotation: { x: 0, y: 0, z: -90 },
			origin: { x: 0.5, y: 0.5, z: 0.5299 },
			scale: 5
		},
		"*": {
			translation: { x: 0.05, y: -0.13, z: 0 },
			rotation: { x: 0, y: 0, z: -90 },
			origin: { x: 0.5, y: 0.5, z: 0.5299 },
			scale: 5
		}
	}
}
