{
    "code": "brickcourse",
    "class": "Block",
    "attributes": {
        "handbook": {
            "groupBy": [ "brickcourse-{state}-{type}-*" ]
        },
        "cokeOvenViableByType": {
            "*-fire": true
        }
    },
    "variantgroups": [
        {
            "code": "state",
            "states": [ "four", "eight" ]
        },
        {
            "code": "type",
            "states": [ "header", "headero", "soldier", "soldiero", "running", "runningo", "runningl", "runningr" ] 
        },
        {
            "code": "color",
            "states": [ "black", "brown", "cream", "gray", "orange", "red", "tan", "clinker" ]
        }
    ],
	skipVariants: [
		"brickcourse-eight-*-clinker",
		"brickcourse-four-runningo-clinker",
		"brickcourse-four-runningr-clinker",
		"brickcourse-four-runningl-clinker",
		"brickcourse-four-soldier-clinker",
		"brickcourse-four-soldiero-clinker",
		"brickcourse-four-header-clinker",
		"brickcourse-four-headero-clinker",
	],
    "shape": { "base": "block/basic/cube" },
    "drawtype": "Cube",
    "blockmaterial": "Ceramic",
    "creativeinventory": {
        "general": [ "*" ],
        "construction": [ "*" ]
    },
    "replaceable": 700,
    "resistance": 2,
    "lightAbsorption": 99,
    "texturesByType": {
        "*-cream": {
            "all": {
                "base": "game:block/clay/brick/{state}/{type}/cream*"
            }

        },
        "*-eight-running-*": {
            "all": {
                "base": "game:block/clay/brick/eight/running/cream1",
                "overlays": [
                    "game:block/clay/brick/eight/running/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/eight/running/cream2",
                        "overlays": [ "game:block/clay/brick/eight/running/{color}1" ]
                    }
                ]
            }
        },
        "*-four-running-clinker": {
            "all": {
                "base": "game:block/clay/brick/four/running/clinker*"
            }
        },
        "*-four-running-*": {
            "all": {
                "base": "game:block/clay/brick/four/running/cream1",
                "overlays": [
                    "game:block/clay/brick/four/running/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/four/running/cream2",
                        "overlays": [ "game:block/clay/brick/four/running/{color}1" ]
                    },
                    {
                        "base": "game:block/clay/brick/four/running/cream3",
                        "overlays": [ "game:block/clay/brick/four/running/{color}1" ]
                    },
                    {
                        "base": "game:block/clay/brick/four/running/cream4",
                        "overlays": [ "game:block/clay/brick/four/running/{color}1" ]
                    },
                    {
                        "base": "game:block/clay/brick/four/running/cream5",
                        "overlays": [ "game:block/clay/brick/four/running/{color}1" ]
                    }
                ]
            }
        },
        "*-four-runningo-*": {
            "all": {
                "base": "game:block/clay/brick/four/runningo/cream1",
                "overlays": [
                    "game:block/clay/brick/four/runningo/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/four/runningo/cream2",
                        "overlays": [ "game:block/clay/brick/four/runningo/{color}1" ]
                    }
                ]
            }
        },
        "*-eight-runningo-*": {
            "all": {
                "base": "game:block/clay/brick/eight/runningo/cream1",
                "overlays": [
                    "game:block/clay/brick/eight/runningo/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/eight/runningo/cream2",
                        "overlays": [ "game:block/clay/brick/eight/runningo/{color}1" ]
                    }
                ]
            }
        },
        "*-four-runningr-*": {
            "all": {
                "base": "game:block/clay/brick/four/runningr/cream1",
                "overlays": [
                    "game:block/clay/brick/four/runningr/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/four/runningr/cream2",
                        "overlays": [ "game:block/clay/brick/four/runningr/{color}1" ]
                    }
                ]
            }
        },
        "*-eight-runningr-*": {
            "all": {
                "base": "game:block/clay/brick/eight/runningr/cream1",
                "overlays": [
                    "game:block/clay/brick/eight/runningr/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/eight/runningr/cream2",
                        "overlays": [ "game:block/clay/brick/eight/runningr/{color}1" ]
                    }
                ]
            }
        },
        "*-four-runningl-*": {
            "all": {
                "base": "game:block/clay/brick/four/runningl/cream1",
                "overlays": [
                    "game:block/clay/brick/four/runningl/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/four/runningl/cream2",
                        "overlays": [ "game:block/clay/brick/four/runningl/{color}1" ]
                    }
                ]
            }
        },
        "*-eight-runningl-*": {
            "all": {
                "base": "game:block/clay/brick/eight/runningl/cream1",
                "overlays": [
                    "game:block/clay/brick/eight/runningl/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/eight/runningl/cream2",
                        "overlays": [ "game:block/clay/brick/eight/runningl/{color}1" ]
                    }
                ]
            }
        },
        "*-four-soldier-*": {
            "all": {
                "base": "game:block/clay/brick/{state}/soldier/cream1",
                "overlays": [
                    "game:block/clay/brick/{state}/soldier/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/{state}/soldier/cream2",
                        "overlays": [ "game:block/clay/brick/{state}/soldier/{color}1" ]
                    },
                    {
                        "base": "game:block/clay/brick/{state}/soldier/cream3",
                        "overlays": [ "game:block/clay/brick/{state}/soldier/{color}1" ]
                    }
                ]
            }
        },
        "*-eight-soldier-*": {
            "all": {
                "base": "game:block/clay/brick/{state}/soldier/cream1",
                "overlays": [
                    "game:block/clay/brick/{state}/soldier/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/{state}/soldier/cream2",
                        "overlays": [ "game:block/clay/brick/{state}/soldier/{color}1" ]
                    }
                ]
            }
        },
        "*-four-soldiero-*": {
            "all": {
                "base": "game:block/clay/brick/{state}/soldiero/cream1",
                "overlays": [
                    "game:block/clay/brick/{state}/soldiero/{color}1"
                ]
            }
        },
        "*-eight-soldiero-*": {
            "all": {
                "base": "game:block/clay/brick/{state}/soldiero/cream1",
                "overlays": [
                    "game:block/clay/brick/{state}/soldiero/{color}1"
                ]
            }
        },
        "*-eight-header-*": {
            "all": {
                "base": "game:block/clay/brick/{state}/header/cream1",
                "overlays": [
                    "game:block/clay/brick/{state}/header/{color}1"
                ]
            }
        },
        "*-four-header-*": {
            "all": {
                "base": "game:block/clay/brick/{state}/header/cream1",
                "overlays": [
                    "game:block/clay/brick/{state}/header/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/{state}/header/cream2",
                        "overlays": [ "game:block/clay/brick/{state}/header/{color}1" ]
                    }
                ]
            }
        },
        "*-eight-headero-*": {
            "all": {
                "base": "game:block/clay/brick/{state}/headero/cream1",
                "overlays": [
                    "game:block/clay/brick/{state}/headero/{color}1"
                ]
            }
        },
        "*-four-headero-*": {
            "all": {
                "base": "game:block/clay/brick/{state}/headero/cream1",
                "overlays": [
                    "game:block/clay/brick/{state}/headero/{color}1"
                ],
                "alternates": [
                    {
                        "base": "game:block/clay/brick/{state}/headero/cream2",
                        "overlays": [ "game:block/clay/brick/{state}/headero/{color}1" ]
                    }
                ]
            }
        }
    },

    "sounds": {
        "walk": "walk/stone",
        "place": "block/ceramicplace"
    },
    "heldTpIdleAnimation": "holdbothhandslarge",
    "heldTpUseAnimation": "twohandplaceblock",
    "tpHandTransform": {
        "translation": {
            "x": -1.23,
            "y": -0.91,
            "z": -0.8
        },
        "rotation": {
            "x": -2,
            "y": 25,
            "z": -78
        },
        "scale": 0.4
    }
}
