{
	code: "glassslab",
	// This block class removes the bottom snow section from vertically standing slabs when there is no ground below
	classByType: {
		"*-up-*": "BlockRainAmbient",
		"*-down-*": "BlockRainAmbient",
		"*": "BlockSlabSnowRemove",
	},
	behaviors: [
		{
			name: "OmniRotatable",
			properties: {
				"rotateSides": true,
				"facing": "block"
			}
		},
		{ name: "WrenchOrientable", properties: { baseCode: "glassslab-{type}-*-{cover}" } }
	],
	variantgroups: [
		{ code: "type", states: ["quartz"] },
		{ code: "rot", states: ["north", "east", "south", "west", "up", "down"] },
		{ code: "cover", states: ["free", "snow"] }
	],
	skipVariants: ["*-up-snow"],
	attributes: {
		canChisel: true,
		chiselShapeFromCollisionBox: true,
		handbook: {
			groupBy: ["glassslab-*"]
		},
		liquidBarrierOnSidesByType: {
		   "*-down-*": [ 0.5, 0.5, 0.5, 0.5 ]
		}
	},
	blockmaterial: "Glass",
	creativeinventory: {
		"general": ["*-down-free"], "construction": ["*-down-free"]
	},
	drops: [{ code: "glassslab-{type}-down-free" }],
	shape: { base: "block/glass/{cover}-framed-slab-{rot}" },
	sidesolidByType: {
		"*-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 },
	},
	sideopaque: { all: false },
	sideAo: { all: false },
	renderPass: "Transparent",
	faceCullMode: "MergeMaterial",
	resistance: 0.25,
    lightAbsorption: 0,
	textures: {
		material: { base: "block/glass/{type}" },
	},
	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,
		},
	},
	vertexFlags: {
		zOffset: 2
	},
	sounds: {
		"place": "player/buildhigh",
		"break": "block/glass",
		"hit": "block/glass",
		"walk": "walk/glass*",
		"ambient": "environment/rainwindow",
		"ambientBlockCount": 4,
		"ambientSoundType": "Weather",
		"ambientMaxDistanceMerge": 1
	},
	materialDensity: 1200,
	guiTransform: {
		translation: { x: 0, y: 2, z: 0 },
		origin: { x: 0.5, y: 0.25, z: 0.5 }
	},
	groundTransform: {
		origin: { x: 0.5, y: -0.01, 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
	}
}