{
    code: "figurehead",
    class: "BlockFigurehead",
    behaviors:[
        { name: "WrenchOrientable" },
        { name: "Unstable", properties: { "attachedToFaces": [ "down", "north", "south", "east", "west"] }}
    ],
    entityBehaviors:[
        { name: "MaterialFromAttributes" }
    ],
    variantgroups: [
        { code: "type", states: ["bear","eidolon","erel","gear","seamonster","siren","skull","thunderlord","wolf"] },
    ],
    shape: { base: "entity/nonliving/boat/figurehead/{type}" },
    attributes: {
        materials: { loadFromProperties: "block/wood" },
        attachableToEntity: {
            categoryCode: "figurehead"
        },
        textures: {
            "figureMat": { base: "block/wood/debarked/{material}" }
        },
		handbook: {
			excludeByType: {
				"*-eidolon": true,
				"*-erel": true,
				"*-seamonster": true,
				"*-thunderlord": true
			}
		}
	},
    replaceable: 400,
    blockmaterial: "Wood",
    drops: [],
    sidesolid: { all: false },
    sideopaque: { all: false },
    sideao: { all: false },
    emitsideao: { all: false },
    lightAbsorption: 1,
	heldTpIdleAnimation: "holdbothhandslarge",
	guiTransformByType: {
		"figurehead-erel": {
			rotation: { x: -22.6, y: -136, z: 0 },
			origin: { x: 0.6, y: 0.6, z: 0.6 },
			rotate: false
		},
		"figurehead-thunderlord": {
			rotation: { x: -22.6, y: -136, z: 0 },
			origin: { x: 0.3, y: 0.8, z: 0.4 },
			rotate: false
		},
		"*": {
			rotation: { x: -22.6, y: -136, z: 0 },
			rotate: false
		}
	},
	tpHandTransformByType: {
		"figurehead-erel": {
			translation: { x: -0.9, y: -0.7, z: -0.4 },
			rotation: { x: 18, y: 25, z: -80 },
			scale: 0.6
		},
		"figurehead-seamonster": {
			translation: { x: -1.3, y: -0.7, z: -0.2 },
			rotation: { x: 8, y: 12, z: -80 },
			scale: 0.6
		},
		"figurehead-siren": {
			translation: { x: -1.1, y: -0.6, z: -0.2 },
			rotation: { x: 8, y: 64, z: -84 },
			scale: 0.6
		},
		"figurehead-skull": {
			translation: { x: -1.1, y: -0.9, z: -0.4 },
			rotation: { x: 8, y: 33, z: -80 },
			scale: 0.6
		},
		"figurehead-thunderlord": {
			translation: { x: -0.9, y: -0.9, z: -0.4 },
			rotation: { x: 18, y: 25, z: -80 },
			scale: 0.6
		},
		"*": {
			translation: { x: -1, y: -0.7, z: -0.5 },
			rotation: { x: 8, y: 12, z: -80 },
			scale: 0.6
		}
	}
}