{
    code: "reefblock",
    class: "BlockCoral",
    variantgroups: [
        {
            code: "type",
            states: [ "blue", "brown", "green", "red", "tan", "yellow" ]
        }
    ],
    shape: { "base": "block/basic/cube" },
    texturesByType: {
        "reefblock-*": {
            all: {
                base: "block/creature/aquatic/coral/block/base1",
                overlays: [ "block/creature/aquatic/coral/overlay/{type}1" ],
                tiles: [
                    { base: "block/creature/aquatic/coral/block/base*" }
                ],
                tilesWidth: 8
            }
        }
    },
    drawtype: "cube",
    creativeinventory: { general: ["*"], aquatic: ["*"] },
    renderpass: "OpaqueNoCull",
    fertility: 5,
    sideopaque: { "all": true },
    sidesolid: { "all": true },
    replaceable: 90,
    lightAbsorption: 0,
    resistance: 8,
    requiredMiningTier: 2,
	sounds: {
		walk: "walk/stone",
		byTool: {
			"Pickaxe": { hit: "block/rock-hit-pickaxe", break: "block/rock-break-pickaxe" }
		}
	},
	blockmaterial: "Stone",
    materialDensity: 2000,
	drops: [
		{
			type: "item", 
			code: "coralchunk-{type}", 
			quantity: { avg: 2.5, var: 0.5 } 
		}
	],
    selectionboxByType: {
        "*": { x1: 0, y1: 0, z1: 0, x2: 1, y2: 1, z2: 1 }
    },
    guiTransform: {
		rotate: false,
        rotation: { x: -20, y: -45, z: 0 }
    },
    tpHandTransformByType: {
        "*": {
            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
        }
    },
    groundTransformByType: {
        "*": {
            scale: 2.64
        }
    },
}
