{
	code: "crate",
	class: "BlockCrate",
	entityclass: "Crate",
	attributes: {
		humanoidTraversalCost: 2,
		reinforcable: true,
		partialAttachable: true,
		inventoryClassName: "crate",
		defaultType: "wood-aged",
		handbook: {
			groupBy: [ "crate" ]
		},
		labels: {
			"paper-building": {
				texture: "label-building",
				shape: { base: "block/wood/crate/label-paper" },
			},
			"paper-decoration": {
				texture: "label-decoration",
				shape: { base: "block/wood/crate/label-paper" },
			},
			"paper-defense": {
				texture: "label-defense",
				shape: { base: "block/wood/crate/label-paper" },
			},
			"paper-empty": {
				editableShape: { base: "block/wood/crate/label-paper-item" },
				texture: "label-empty",
				shape: { base: "block/wood/crate/label-paper" },
			},
			"paper-ingredients": {
				texture: "label-ingredients",
				shape: { base: "block/wood/crate/label-paper" },
			},
			"paper-storage": {
				texture: "label-storage",
				shape: { base: "block/wood/crate/label-paper" },
			},
			"paper-tools": {
				texture: "label-tools",
				shape: { base: "block/wood/crate/label-paper" },
			},
			"wood": {
				texture: "woodlabel-empty",
				editable: true,
				shape: { base: "block/wood/crate/label-wood" }
			}
		},
		types: ["wood-aged", "wood-birch", "wood-oak", "wood-maple", "wood-pine", "wood-acacia", "wood-kapok", "wood-baldcypress", "wood-larch", "wood-redwood", "wood-ebony", "wood-walnut", "wood-purpleheart"],
		properties: {
			"wood-aged": {
				quantitySlots: 16,
				rotatatableInterval: "22.5deg",
				shape: { base: "block/wood/crate/aged-closed", rotateY: 180 }
			},
			"wood-ebony": {
				quantitySlots: 25,
				rotatatableInterval: "22.5deg",
				storageType: 189,
				retrieveOnly: false,
				shape: { base: "block/wood/crate/normal-closed", rotateY: 180 }
			},
			"wood-purpleheart": {
				quantitySlots: 25,
				rotatatableInterval: "22.5deg",
				storageType: 189,
				retrieveOnly: false,
				shape: { base: "block/wood/crate/normal-closed", rotateY: 180 }
			},
			"*": {
				quantitySlots: 20,
				rotatatableInterval: "22.5deg",
				storageType: 189,
				retrieveOnly: false,
				shape: { base: "block/wood/crate/normal-closed", rotateY: 180 }
			}
		}
	},
	behaviors: [
		{name: "Lockable" }, 
		{name: "Container"}, 
		{name: "BoatableCrate" }
	],
	creativeinventory: {  },
	creativeinventoryStacks: [
	{
		tabs: [ "general", "decorative" ],
		stacks: [
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-aged" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-aged", label: "paper-building" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-aged", label: "paper-decoration" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-aged", label: "paper-defense" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-aged", label: "paper-empty" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-aged", label: "paper-ingredients" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-aged", label: "paper-storage" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-aged", label: "paper-tools" } },
			
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-birch" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-oak" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-maple" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-pine" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-acacia" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-kapok" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-baldcypress" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-larch" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-redwood" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-ebony" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-walnut" } },
			{ type: "block", code: "crate", attributes: { lidState: "closed", type: "wood-purpleheart" } }
		]
	}],
	heldTpIdleAnimation: "holdunderarm",
	shapeInventory: { base: "block/wood/crate/normal-closed", rotateY: 0 },
	shapeByType: { base: "block/wood/crate/normal-closed", rotateY: 0 },
	textures: {
		"label-building": { base: "block/wood/crate/label-building" },
		"label-decoration": { base: "block/wood/crate/label-decoration" },
		"label-defense": { base: "block/wood/crate/label-defense" },
		"label-empty": { base: "block/wood/crate/label-empty" },
		"label-ingredients": { base: "block/wood/crate/label-ingredients" },
		"label-storage": { base: "block/wood/crate/label-storage" },
		"label-tools": { base: "block/wood/crate/label-tools" },
		"woodlabel-empty": { base: "block/wood/trunk/accessories" },

		"frame-generic": { base: "block/wood/crate/frame-generic" },
		"aged-sides": { base: "block/wood/crate/aged-sides" },
		"aged-inside": { base: "block/wood/crate/aged-inside" },
		"aged1": { base: "block/wood/planks/aged/veryaged1" },
		"building": { base: "block/wood/crate/label-building" },
		
		"wood-aged-sides": { base: "block/wood/crate/aged-sides" },
		"wood-aged-inside": { base: "block/wood/crate/aged-inside" },
		
		"wood-birch-sides": { base: "block/wood/crate/birch-sides" },
		"wood-birch-inside": { base: "block/wood/crate/birch-inside" },
		"wood-oak-sides": { base: "block/wood/crate/oak-sides" },
		"wood-oak-inside": { base: "block/wood/crate/oak-inside" },
		"wood-maple-sides": { base: "block/wood/crate/maple-sides" },
		"wood-maple-inside": { base: "block/wood/crate/maple-inside" },
		"wood-pine-sides": { base: "block/wood/crate/pine-sides" },
		"wood-pine-inside": { base: "block/wood/crate/pine-inside" },
		"wood-acacia-sides": { base: "block/wood/crate/acacia-sides" },
		"wood-acacia-inside": { base: "block/wood/crate/acacia-inside" },
		"wood-kapok-sides": { base: "block/wood/crate/kapok-sides" },
		"wood-kapok-inside": { base: "block/wood/crate/kapok-inside" },
		"wood-baldcypress-sides": { base: "block/wood/crate/baldcypress-sides" },
		"wood-baldcypress-inside": { base: "block/wood/crate/baldcypress-inside" },
		"wood-larch-sides": { base: "block/wood/crate/larch-sides" },
		"wood-larch-inside": { base: "block/wood/crate/larch-inside" },
		"wood-redwood-sides": { base: "block/wood/crate/redwood-sides" },
		"wood-redwood-inside": { base: "block/wood/crate/redwood-inside" },
		"wood-ebony-sides": { base: "block/wood/crate/ebony-sides" },
		"wood-ebony-inside": { base: "block/wood/crate/ebony-inside" },
		"wood-walnut-sides": { base: "block/wood/crate/walnut-sides" },
		"wood-walnut-inside": { base: "block/wood/crate/walnut-inside" },
		"wood-purpleheart-sides": { base: "block/wood/crate/purpleheart-sides" },
		"wood-purpleheart-inside": { base: "block/wood/crate/purpleheart-inside" }
	},
	blockmaterial: "Wood",
	replaceable: 900,
	resistance: 3,
	lightAbsorption: 0,
	sideAo: { all: false },
	sidesolid: {
		all: false
	},
	sideopaque: {
		all: false
	},
	combustibleProps: {
		burnTemperature: 600,
		burnDuration: 35,
	},
	sounds: {
		"place": "block/planks",
		"hit": "block/planks",
		"break": "block/planks",
		"walk": "walk/wood"
	},
	materialDensity: 600,
	tpHandTransform: {
		translation: { x: -1.3, y: -0.5, z: -0.7 },
		rotation: { x: 0, y: 90, z: -102 },
		scale: 0.44
	},
	guiTransform: {
		origin: { x: 0.5, y: 0.5, z: 0.5 },
		scale: 1.16
	},
	collisionBoxes: [
		{ x1: 0, y1: 0, z1: 0, x2: 1, y2: 1, z2: 0.0625 },
		{ x1: 0, y1: 0, z1: 0.9375, x2: 1, y2: 1, z2: 1 },
		{ x1: 0, y1: 0, z1: 0.0625, x2: 0.0625, y2: 1, z2: 0.9375 },
		{ x1: 0.9375, y1: 0, z1: 0.0625, x2: 1, y2: 1, z2: 0.9375 },
	],
	selectionBoxes: [
		{ x1: 0, y1: 0, z1: 0, x2: 1, y2: 1, z2: 0.95 },
		{ x1: 0.25, y1: 0.28125, z1: 0.95, x2: 0.75, y2: 0.875, z2: 1 },
	]
}