{
	code: "ingotmold",
	behaviors: [
		{ name: "GroundStorable", properties: { layout: 'Halves' } },
		{ name: "Unplaceable", }, // The ground storable obsoletes this being a block. Should be an item, but is kept a block for backwards compatibility
		{ name: "RightClickPickup"} 
	],
	variantgroups: [
		{ code: "color", states: ["blue", "red", "fire"] },
		{ code:"type", states: ["raw"] }
	],
	shape: { base: "block/clay/mold/ingot" },
	attributes: {
		reinforcable: true,
		shatteredShape: { base: "block/clay/mold/shattered-ingot" },
		onTongTransform: {
			translation: { x: -0.81, y: -1.12, z: -0.8 },
			rotation: { x: 31, y: -11, z: 7 },
			scale: 0.8
		},
		onshelfTransform: {
			translation: { x: -0.03, y: 0, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 }
		},
		shelvable: "Halves",
		handbook: {
			groupBy: ["ingotmold-*-{type}"]
		},
		onMetalTongTransform: {
			translation: { x: -1.28, y: -0.725, z: -0.7 },
			rotation: { x: -7, y: 3, z: 79 },
			origin: { x: 0.5, y: 0.3, z: 0.5 },
			scale: 0.68
		},
        displayable: {
            shelf: {
				behavior: "Stacking",
				category: "ingotmold",
                size: { width: 5, height: 3, length: 8 },
                randYRotAngle: 3
           }
        }
	},
	attributesByType:{
		"ingotmold-red-raw":{
			beehivekiln:{
				"0": { "type": "block", "code": "ingotmold-tan-fired" },
				"1": { "type": "block", "code": "ingotmold-orange-fired" },
				"2": { "type": "block", "code": "ingotmold-red-fired" },
				"3": { "type": "block", "code": "ingotmold-brown-fired" }
			}
		},
		"ingotmold-blue-raw":{
			beehivekiln:{
				"0": { "type": "block", "code": "ingotmold-cream-fired"},
				"1": { "type": "block", "code": "ingotmold-gray-fired"},
				"2": { "type": "block", "code": "ingotmold-black-fired"},
				"3": { "type": "block", "code": "ingotmold-black-fired"}
			}
		},
		"ingotmold-fire-raw":{
			beehivekiln:{
				"0": { "type": "block", "code": "ingotmold-fire-fired"},
				"1": { "type": "block", "code": "ingotmold-fire-fired"},
				"2": { "type": "block", "code": "ingotmold-fire-fired"},
				"3": { "type": "block", "code": "ingotmold-fire-fired"}
			}
		}
	},
	blockmaterial: "Ceramic",
	creativeinventory: { "general": ["*"], "construction": ["*"] },
	replaceable: 700,
	resistance: 2,
	maxStackSize: 8,
	lightAbsorption: 0,
	textures: {  all: { base: "block/clay/{color}clay" } },
	sounds: { walk: "walk/stone" },
	collisionbox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1875, z2: 1 },
	selectionbox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.1875, z2: 1 },
	sideopaque: {
		all: false
	},
	sidesolid: {
		all: false
	},
	combustiblePropsByType: {
		"ingotmold-fire-raw": {
			"meltingPoint": 650,
			"meltingDuration": 30,
			"smeltedRatio": 1,
			"smeltingType": "fire",
			"requiresContainer": false,
			"smeltedStack": { "type": "block",	"code": "ingotmold-fire-fired" }
		},
		"ingotmold-blue-raw": {
			"meltingPoint": 650,
			"meltingDuration": 30,
			"smeltedRatio": 1,
			"smeltingType": "fire",
			"requiresContainer": false,
			"smeltedStack": { "type": "block",	"code": "ingotmold-blue-fired" }
		},
		"ingotmold-red-raw": {
			"meltingPoint": 650,
			"meltingDuration": 30,
			"smeltedRatio": 1,
			"smeltingType": "fire",
			"requiresContainer": false,
			"smeltedStack": { "type": "block",	"code": "ingotmold-earthyorange-fired" }
		}
	},
	guiTransform: {
		rotation: { x: -22.5937, y: -45.2968, z: 0 },
		origin: { x: 0.52, y: 0.15, z: 0.5299 },
		scale: 2
	},
	tpHandTransform: {
		translation: { x: -1.1, y: -0.9, z: -1.3 },
		rotation: { x: -80, y: -81, z: -1 },
		scale: 0.5
	},
	groundTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: 0, y: -45, z: 0 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 2.2
	}
}
