{
	code: "coral",
	classByType: {
		"coral-shelf-short-dead-*": "Block",
		"coral-shelf-tall-dead-*": "Block",
		"*": "BlockCoral"
	},
	behaviors: [{name: "Unstable"}],
	variantgroups: [
		{ code: "type", states: ["shelf-short", "shelf-tall"] },
		{ code: "color", states: ["blue", "brown", "dead", "orange", "red", "tan", "yellow"] },
		{ code: "variant", states: ["1"] }
	],
	shape: { base: "block/aquatic/coral/{type}*" },
	textures: {
        "base1": { "base": "block/creature/aquatic/coral/shelf/{color}{variant}" },
        "base10": { "base": "block/creature/aquatic/coral/shelf/{color}{variant}-10" },
        "base12": { "base": "block/creature/aquatic/coral/shelf/{color}{variant}-12" },
        "base8": { "base": "block/creature/aquatic/coral/shelf/{color}{variant}-8" }	
	},
	attributes: {
		handbook: {
			groupBy: ["coral-{type}-*"]
		}
	},
	creativeinventory: { "general": ["*"], "aquatic": ["*"] },
	renderpass: "OpaqueNoCull",
	doNotRenderAtLod2: true,
	randomizeRotations: true,
	randomDrawOffset: true,
	sideopaque:{ all: false },
	sidesolid: { all: false },
	replaceable: 3000,
	lightAbsorption: 0,
	resistance: 4,
	collisionbox: null,
	sounds: {
		"walk": "walk/stone",
		byTool: {
			"Pickaxe": { hit: "block/rock-hit-pickaxe", break: "block/rock-break-pickaxe" }
		}
	},
	blockmaterial: "Stone",
	materialDensity: 1100,
	transitionablePropsByType: {
		"coral-shelf-short-dead-*": [],
		"coral-shelf-tall-dead-*": [],
		"*": [{
			type: "Perish",
			freshHours: { avg: 24 },
			transitionHours: { avg: 144 },
			transitionedStack: { type: "block", code: "coral-{type}-dead-{variant}" },
			transitionRatio: 1
		}]
	},
	selectionboxByType: {
	 	"coral-shelf-short-*": { x1: 0.125, y1: 0, z1: 0.125, x2: 0.875, y2: 0.5, z2: 0.875 },
	 	"*": { x1: 0.125, y1: 0, z1: 0.125, x2: 0.875, y2: 1, z2: 0.875 }
	},
	guiTransformByType: {
		"coral-shelf-tall-*": {
			rotation: { x: -20, y: 19, z: 0 },
			origin: { x: 0.5, y: 0.6, z: 0.5 },
			scale: 1.2
		},
		"*": {
			rotation: { x: -20, y: 19, z: 0 },
			origin: { x: 0.5, y: 0.3, z: 0.5 },
			scale: 1.39
		}
	},
	tpHandTransformByType: {
		"coral-shelf-tall-*": {
			translation: { x: -1, y: -0.1, z: -1 },
			rotation: { x: 71, y: 0, z: -84 },
			origin: { x: 0.5, y: 0.1, z: 0.5 },
			scale: 0.48
		},
		"*": {
			translation: { x: -1.3, y: -0.1, z: -1 },
			rotation: { x: 71, y: 0, z: -109 },
			origin: { x: 0.5, y: 0.1, z: 0.5 },
			scale: 0.48
		}
	},
	groundTransformByType: {
		"coral-shelf-tall-*": {
		translation: { x: 0.15, y: 0, z: -0.3 },
		rotation: { x: 61, y: -45, z: 0 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 2.64
		},
		"*": {
			translation: { x: 0, y: 0, z: 0 },
			rotation: { x: -23, y: -45, z: 0 },
			origin: { x: 0.5, y: 0, z: 0.5 },
			scale: 2.64
		}
	}
}
