{
	code: "metaldoor",
	class: "BlockGeneric",
	entityClass: "Generic",
	// Lockable behavior first so that it prevents subsequent Door behavior if it is locked
	behaviors: [
		{ name: "Lockable" },
		{ name: "Door" },
		{ name: "BlockEntityInteract" }
	],
	entityBehaviors: [{ name: "Door" }],
	variantgroups: [
		{ code: "style", states: ["barred", "solid", "sleek-windowed"] },
		{ code: "material", states: ["iron"] }
	],
	attributes: {
		handbook: {
			groupBy: ["metaldoor-{style}-*"]
		},
		openSound: "sounds/block/metaldoor",
		closeSound: "sounds/block/metaldoor",
		width: 1,
		height: 2,
		easingSpeed: 10,
		airtightByType: {
			"*-solid-*": true,
			"*": false
		},
		liquidBarrierHeightByType: {
			"metaldoor-sleek-windowed-*": [
				[0.4375],
				[1.0]
			]
		}
	},
	creativeinventory: { "general": ["*"], "clutter": ["*"]  },
	shape: { base: "block/metal/door/{style}" },
	heldTpIdleAnimation: "holdunderarm",
	renderPass: "OpaqueNoCull",
	faceCullMode: "NeverCull",
	blockmaterial: "Metal",
	replaceable: 500,
	resistance: 2.5,
	lightAbsorption: 0,
	sideAo: { all: false },
	sidesolid: {
		all: false
	},
	sideopaque: {
		all: false
	},
	selectionbox: {
		x1: 0, y1: 0, z1: 0.75, x2: 1, y2: 1, z2: 1
	},
	collisionbox: {
		x1: 0, y1: 0, z1: 0.75, x2: 1, y2: 1, z2: 1
	},
	guiTransform: {
		origin: { x: 0.5, y: 1, z: 0.5 },
		scale: 0.75
	},
	groundTransform: {
		rotation: { x: -90, y: 0, z: 0 },
		origin: { x: 0.5, y: 0, z: 0.44 },
		scale: 2.15
	},
	sounds: {
		"place": "block/metaldoor-place",
		"break": "block/metaldoor-place",
		"hit": "block/metaldoor-place",
		"walk": "walk/stone*"
	},
	materialDensity: 600,
	tpHandTransform: {
		translation: { x: -1.1, y: -0.7, z: -0.6 },
		rotation: { x: 14, y: 0, z: 59 },
		scale: 0.6
	}
}
