{
	code: "brickstairs",
	class: "BlockStairs",
	variantgroups: [
        { code: "state", states: [ "four", "eight" ] },
		{ code:"type", states: ["black", "brown", "cream", "gray", "orange", "red", "tan" ] },
		{ loadFromProperties: "abstract/verticalorientation" },
		{ loadFromProperties: "abstract/horizontalorientation" },
		{ code: "cover", states: ["free", "snow"] }
	],
	skipVariants: ["*-down-north-snow", "*-down-east-snow", "*-down-south-snow", "*-down-west-snow"],
	behaviors: [
		{ name: "WrenchOrientable", properties: { baseCode: "brickstairs-{type}-*-{cover}" } }
	],
	attributes: {
		canChisel: true,
		chiselShapeFromCollisionBox: true,
		handbook: {
			groupBy: ["brickstairs-{state}-*-up-north-free"]
		},
		liquidBarrierOnSidesByType: {
		   "*-up-north-*": [ 1.0, 0.5, 0.5, 0.5 ],
		   "*-up-south-*": [ 0.5, 0.5, 1.0, 0.5 ],
		   "*-up-west-*": [ 0.5, 0.5, 0.5, 1.0 ],
		   "*-up-east-*": [ 0.5, 1.0, 0.5, 0.5 ]
		}
	},
	shapebytype: { 
		"*-up-north-free": { base: "block/basic/stairs/normal", rotateY: 0 },
		"*-up-west-free": { base: "block/basic/stairs/normal", rotateY: 90 },
		"*-up-south-free": { base: "block/basic/stairs/normal", rotateY: 180 },
		"*-up-east-free": { base: "block/basic/stairs/normal", rotateY: 270 },
		"*-up-north-snow": { base: "block/basic/stairs/snow-normal", rotateY: 0 },
		"*-up-west-snow": { base: "block/basic/stairs/snow-normal", rotateY: 90 },
		"*-up-south-snow": { base: "block/basic/stairs/snow-normal", rotateY: 180 },
		"*-up-east-snow": { base: "block/basic/stairs/snow-normal", rotateY: 270 },
		"*-down-north-free": { base: "block/basic/stairs/flipped", rotateY: 0 },
		"*-down-west-free": { base: "block/basic/stairs/flipped", rotateY: 90 },
		"*-down-south-free": { base: "block/basic/stairs/flipped", rotateY: 180 },
		"*-down-east-free": { base: "block/basic/stairs/flipped", rotateY: 270 }
	},
	texturesByType: {
        "brickstairs-four-*": {
			all: { 
				base: "game:block/clay/brick/four/soldier/cream1", 
				"overlays": [
					"game:block/clay/brick/four/soldier/{type}1"
				]
			},
			"north": { 
				base: "game:block/clay/brick/four/running/cream1", 
				"overlays": [
					"game:block/clay/brick/four/running/{type}1"
				]
			},
			"west": { 
				base: "game:block/clay/brick/four/running/cream1", 
				"overlays": [
					"game:block/clay/brick/four/running/{type}1"
				]
			},
			"east": { 
				base: "game:block/clay/brick/four/running/cream1", 
				"overlays": [
					"game:block/clay/brick/four/running/{type}1"
				]
			}
		},
        "brickstairs-eight-*": {
			all: { 
				base: "game:block/clay/brick/eight/soldier/cream1", 
				"overlays": [
					"game:block/clay/brick/eight/soldier/{type}1"
				]
			},
			"north": { 
				base: "game:block/clay/brick/eight/running/cream1", 
				"overlays": [
					"game:block/clay/brick/eight/running/{type}1"
				]
			},
			"west": { 
				base: "game:block/clay/brick/eight/running/cream1", 
				"overlays": [
					"game:block/clay/brick/eight/running/{type}1"
				]
			},
			"east": { 
				base: "game:block/clay/brick/eight/running/cream1", 
				"overlays": [
					"game:block/clay/brick/eight/running/{type}1"
				]
			}
		}
	},
	textures: {
		"snowcover": {base: "block/liquid/snow/normal1" }
	},
	creativeinventory: { "general": ["*-up-north-free"], "construction": ["*-up-north-free"] },
	sideSolidOpaqueAoByType: {	
		"*-up-north-*": { all:false, down:true, north: true },
		"*-up-west-*": { all:false, down:true, west: true },
		"*-up-south-*": { all:false, down:true, south: true },
		"*-up-east-*": { all:false, down:true, east: true },
		"*-down-north-free": { all:false, up:true, north: true },
		"*-down-south-free": { all:false, up:true, south: true },
		"*-down-west-free": { all:false, up:true, west: true },
		"*-down-east-free": { all:false, up:true, east: true },
	},
	faceCullModeByType: {
		"*-snow": "NeverCull",
		"*-free": "Stairs"
	},
	blockmaterial: "Ceramic",	
	replaceable: 700,
	resistance: 2,
	lightAbsorption: 99,
	sounds: {
		walk: "walk/stone",
	},
	collisionSelectionBoxesByType: {
		"*-down-*": [
			{ x1: 0, y1: 0.5, z1: 0, x2: 1, y2: 1, z2: 1 },
			{ 
				x1: 0, y1: 0, z1: 0.5, x2: 1, y2: 0.5, z2: 1, 
				rotateYByType: {
					"*-north-*": 180,
					"*-east-*": 90,
					"*-south-*": 0,
					"*-west-*": 270,
				}
			}			
		],
		"*-up-*": [
			{ x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.5, z2: 1 },
			{ 
				x1: 0, y1: 0.5, z1: 0.5, x2: 1, y2: 1, z2: 1, 
				rotateYByType: {
					"*-north-*": 180,
					"*-east-*": 90,
					"*-south-*": 0,
					"*-west-*": 270,
				}
			}
		],	
	},
	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
	}
}