{
	code: "brickslabs",
	// This block class removes the bottom snow section from vertically standing slabs when there is no ground below
	class: "BlockSlabSnowRemove",
	behaviors: [
		{
			name: "OmniRotatable",
			properties: {
				"rotateSides": true,
				"facing": "block"
			}
		},
		{ name: "WrenchOrientable", properties: { baseCode: "brickslabs-{type}-*-{cover}" } }
	],
	variantgroups: [
		{ code:"type", states: ["fire"] },
		{ code: "rot", states: ["north", "east", "south", "west", "up", "down"] },
		{ code: "cover", states: ["free", "snow"] }
	],
	skipVariants: ["*-up-snow"],
	attributes: {
		canChisel: true,
		chiselShapeFromCollisionBox: true,
		handbook: {
			groupBy: ["brickslabs-*-down-free"]
		},
		liquidBarrierOnSidesByType: {
		   "*-down-*": [ 0.5, 0.5, 0.5, 0.5 ]
		}
	},
	shapeByType: {
		"*-snow": { base: "block/basic/slab/snow-slab-{rot}" },
		"*": { base: "block/basic/slab/slab-{rot}" },
	},
	textures: {
		horizontals: {base: "block/clay/brickslab/{type}side" },
		up: {base: "block/clay/brickslab/{type}top" },
		down: {base: "block/clay/brickslab/{type}top" },
	},
	creativeinventory: { "general": ["*-down-free"], "construction": ["*-down-free"] },
	drops: [{ code: "brickslabs-{type}-down-free" }],
	blockmaterial: "Ceramic",
	replaceable: 700,
	resistance: 2,
	lightAbsorption: 99,
	sounds: {
		walk: "walk/stone",
	},
	sideSolidOpaqueAoByType: {
		"*-north-*": { all: false, north: true },
		"*-east-*": { all: false, east: true },
		"*-south-*": { all: false, south: true },
		"*-west-*": { all: false, west: true },
		"*-up-*": { all: false, up: true },
		"*-down-*": { all: false, down: true }
	},
	emitSideAoByType: {
		"*-up-*": { all: false, up: true },
		"*-down-*": { all: false, down: true },
		"*": { all: false }
	},
	collisionbox: { x1: 0, y1: 0, z1: 0,   x2: 1, y2: 0.5, z2: 1,
		rotateXByType: {
			"*-north-*": 90,
			"*-south-*": 270,
			"*-up-*": 180,
			"*-down-*": 0,
		},
		rotateZByType: {
			"*-east-*": 90,
			"*-west-*": 270,
		},
	},
	selectionbox: { x1: 0, y1: 0, z1: 0,   x2: 1, y2: 0.5, z2: 1,
		rotateXByType: {
			"*-north-*": 90,
			"*-south-*": 270,
			"*-up-*": 180,
			"*-down-*": 0,
		},
		rotateZByType: {
			"*-east-*": 90,
			"*-west-*": 270,
		},
	},
	guiTransform: {
		translation: { x: 0, y: 2, z: 0 },
		origin: { x: 0.5, y: 0.25, z: 0.5 }
	},
	heldTpIdleAnimation: "holdbothhandslarge", heldRightReadyAnimation: "heldblockready", heldTpUseAnimation: "twohandplaceblock",
	tpHandTransform: {
		translation: { x: -1.49, y: -0.22, z: -0.7 },
		rotation: { x: 6, y: 16, z: 98 },
		origin: { x: 0.5, y: 0.25, z: 0.5 },
		scale: 0.4
	}
}
