{
	code: "refractorybrickgrating",
	class: "Block",
	attributes: {
		handbook: {
			groupBy: ["refractorybrickgrating-*"]
		},
		heatResistanceByType: {
			"*-fire": 0.5,
			"*-tier1": 0.9,
			"*-tier2": 0.95,
			"*-tier3": 0.999
		}
	},
	variantgroups: [
		{ code: "state", states: ["good", "damaged"] },
		{ code: "type", states: ["tier1", "tier2", "tier3","fire"] }
	],
	shapeByType: {
		"refractorybrickgrating-good-*": { base: "block/clay/grating" },
		"refractorybrickgrating-damaged-*": { base: "block/clay/gratingdamaged" }
	},
	blockmaterial: "Ceramic",
	creativeinventory: { "general": ["*"], "construction": ["*"] },
	replaceable: 700,
	resistance: 2.5,
	lightAbsorption: 99,
	maxStackSize: 8,
	sideopaque: { all: false },
	sidesolid: { all: false, up: true },
	texturesByType: {
		"refractorybrickgrating-good-tier*": {
			all: {  base: "block/clay/refractory/{type}/front*" }
		},
		"refractorybrickgrating-good-fire": {
			all: {  base: "block/clay/brick/four/running/fire*" }
		},
		"refractorybrickgrating-damaged-fire": {
			all: {
				base: "block/clay/brick/four/running/fire*", overlays: ["block/overlay/cracked/cracked1"],
				alternates: [
					{ base: "block/clay/brick/four/running/fire*", overlays: ["block/overlay/cracked/cracked2"] },
					{ base: "block/clay/brick/four/running/fire*", overlays: ["block/overlay/cracked/cracked3"] }
				]
			}
		},
		"refractorybrickgrating-damaged-*": {
			all: {
				base: "block/clay/refractory/{type}/front1", overlays: ["block/overlay/cracked/cracked1"],
				alternates: [
					{ base: "block/clay/refractory/{type}/front2", overlays: ["block/overlay/cracked/cracked2"] },
					{ base: "block/clay/refractory/{type}/front3", overlays: ["block/overlay/cracked/cracked3"] }
				]
			}
		}
	},
	dropsByType: {
		"refractorybrickgrating-damaged-fire": [{
				type: "item",
				code: "burnedbrick-fire",
				quantity: { avg: 0.8, var: 0.5 }
		}],
		"refractorybrickgrating-damaged-*": [{
				type: "item",
				code: "refractorybrick-fired-{type}",
				quantity: { avg: 0.8, var: 0.5 }
		}],
		"refractorybrickgrating-good-*": [{
				type: "block",
				code: "refractorybrickgrating-good-{type}",
				quantity: { avg: 1, var: 0 }
		}]
	},
	sounds: {
		walk: "walk/stone",
		place: "block/ceramicplace"
	},
	heldTpIdleAnimation: "holdbothhandslarge", heldRightReadyAnimation: "heldblockready", heldTpUseAnimation: "twohandplaceblock",
	tpHandTransform: {
		translation: { x: -1.23, y: -0.91, z: -0.8 },
		rotation: { x: -2, y: 25, z: -78 },
		scale: 0.4
	},
	collisionbox: { x1: 0, y1: 0.5, z1: 0, x2: 1, y2: 1, z2: 1 },
	selectionbox: { x1: 0, y1: 0.5, z1: 0, x2: 1, y2: 1, z2: 1 },
	guiTransform: {
		origin: { x: 0.5, y: 0.8, z: 0.5 }
	},
	groundTransform: {
		translation: { x: 0, y: 0, z: 0 },
		rotation: { x: 0, y: -45, z: 0 },
		scale: 1.5
	}
}
