{
	code: "logquad",
	behaviorsByType: {
		"*": [{name: "Pillar"}, { name: "WrenchOrientable", properties: { baseCode: "logquad-{type}-{wood}"  } }]
	},
	variantgroups: [
		{ code: "type", states: ["placed", "debarked"] },
		{ code: "wood", states: ["aged"], loadFromProperties: "block/wood" },
		{ code: "rotation", states: ["ud", "ns", "we"] },
	],
	creativeinventory: { "general": ["logquad-{type}-*-ud"], "flora": ["logquad-{type}-*-ud"], "construction": ["logquad-{type}-*-ud"] },
	shape: { base: "block/basic/cube" },
	drawtype: "cube",
	blockmaterial: "Wood",
	requiredMiningTier: 1,
	attributes: {
		handbook: {
			groupBy: ["logquad-{type}-*"]
		}
	},
	texturesByType: {
		"*-ud": {
			"all": { base: "block/wood/bark/quad/{type}/{wood}*" },

			"inside-north": { base: "block/wood/bark/quad/{type}/{wood}*" },
			"inside-east": { base: "block/wood/bark/quad/{type}/{wood}*" },
			"inside-south": { base: "block/wood/bark/quad/{type}/{wood}*" },
			"inside-west": { base: "block/wood/bark/quad/{type}/{wood}*" },

			"up": { base: "block/wood/bark/quad/ends/{type}/{wood}*" },
			"down": { base: "block/wood/bark/quad/ends/{type}/{wood}*" }
		},
		"*-ns": {
			"all": { base: "block/wood/bark/quad/{type}/{wood}*", rotation: 90 },
			"up": { base: "block/wood/bark/quad/{type}/{wood}*" },
			"down": { base: "block/wood/bark/quad/{type}/{wood}*" },

			"inside-up": { base: "block/wood/bark/quad/{type}/{wood}*" },
			"inside-down": { base: "block/wood/bark/quad/{type}/{wood}*" },
			"inside-west": { base: "block/wood/bark/quad/{type}/{wood}*", rotation: 90 },
			"inside-east": { base: "block/wood/bark/quad/{type}/{wood}*", rotation: 90 },

			"north": { base: "block/wood/bark/quad/ends/{type}/{wood}*" },
			"south": { base: "block/wood/bark/quad/ends/{type}/{wood}*" }
		},
		"*-we": {
			"all": { base: "block/wood/bark/quad/{type}/{wood}*", rotation: 90 },
			"up": { base: "block/wood/bark/quad/{type}/{wood}*" , rotation: 90},

			"inside-up": { base: "block/wood/bark/quad/{type}/{wood}*", rotation: 90 },
			"inside-down": { base: "block/wood/bark/quad/{type}/{wood}*", rotation: 90 },
			"inside-north": { base: "block/wood/bark/quad/{type}/{wood}*", rotation: 90 },
			"inside-south": { base: "block/wood/bark/quad/{type}/{wood}*", rotation: 90 },

			"west": { base: "block/wood/bark/quad/ends/{type}/{wood}*" },
			"east": { base: "block/wood/bark/quad/ends/{type}/{wood}*" }
		}
	},
	replaceable: 500,
	resistance: 4.5,
	sounds: {
		"place": "block/planks",
		"walk": "walk/wood",
		"hit": "block/planks",
		"break": "block/planks",
		byTool: {
			"Axe": { hit: "block/chop", break: "block/planks" }
		}
	},
	drops: [
		{ type: "block", code: "logquad-{type}-{wood}-ud", quantity: { avg: 1 }  }
	],
	combustiblePropsByType: {
		"logquad-*-birch-ud": {
			burnTemperature: 800,
			burnDuration: 78,
		},
		"logquad-*-oak-ud": {
			burnTemperature: 800,
			burnDuration: 98,
		},
		"logquad-*-ebony-ud": {
			burnTemperature: 800,
			burnDuration: 110,
		},
		"logquad-*-pine-ud": {
			burnTemperature: 800,
			burnDuration: 60,
		},
		"logquad-*-acacia-ud": {
			burnTemperature: 800,
			burnDuration: 89,
		},
		"logquad-*-kapok-ud": {
			burnTemperature: 800,
			burnDuration: 47,
		},
		"logquad-*-maple-ud": {
			burnTemperature: 800,
			burnDuration: 79,
		},
		"logquad-*-redwood-ud": {
			burnTemperature: 800,
			burnDuration: 72,
		},
		"logquad-*-aged-ud": {
			burnTemperature: 700,
			burnDuration: 40,
		},
		"*": {
			burnTemperature: 800,
			burnDuration: 72,
		}
	},
	maxStackSize: 16,
	materialDensity: 700,
	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
	}
}
