{
	code: "ore",
	// BlockOre only contains a few lines of code to replace flint ore into plain stone
	class: "BlockOre",
	classbyType:{
		"ore-bituminouscoal-*":"BlockBituCoal",
		"ore-anthracite-*":"BlockBituCoal"
	},
	blockmaterial: "Ore",
	attributes: {
		mapColorCode: "land",
		propickable: true,
		handbook: {
			groupBy: ["ore-{type}-*"],
		}
	},
	behaviors: [{name: "BreakIfFloating"}, { name: "UnstableRock" }],
	variantgroups: [
		{ code: "type", states: ["flint"], loadFromProperties: "block/ore-ungraded" },
		{ code: "rock", loadFromProperties: "block/rockwithdeposit" }
	],
	skipVariants: [
		"ore-flint-suevite",
		"ore-flint-halite",
		"ore-flint-alum",
		"ore-flint-whitemarble",
		"ore-flint-redmarble",
		"ore-flint-greenmarble",
		"ore-flint-scoria",
		"ore-flint-tuff",
		"ore-flint-obsidian"
	],
	allowedVariants: [
		"ore-flint-*",
		"ore-quartz-andesite",
		"ore-quartz-granite",
		"ore-quartz-basalt",
		"ore-quartz-peridotite",
		"ore-quartz-claystone",
		"ore-quartz-sandstone",
		"ore-quartz-shale",
		"ore-quartz-chalk",
		"ore-quartz-limestone",
		"ore-quartz-chert",
		"ore-quartz-conglomerate",
		"ore-quartz-phyllite",
		"ore-quartz-slate",
		"ore-quartz_wolframite-granite",
		"ore-alum-claystone",
		"ore-alum-sandstone",
		"ore-alum-shale",
		"ore-alum-chalk",
		"ore-alum-limestone",
		"ore-alum-chert",
		"ore-alum-conglomerate",
		"ore-stibnite-limestone",
		"ore-lignite-claystone",
		"ore-lignite-sandstone",
		"ore-lignite-shale",
		"ore-lignite-chalk",
		"ore-lignite-limestone",
		"ore-lignite-chert",
		"ore-lignite-conglomerate",
		"ore-bituminouscoal-claystone",
		"ore-bituminouscoal-sandstone",
		"ore-bituminouscoal-shale",
		"ore-bituminouscoal-chalk",
		"ore-bituminouscoal-limestone",
		"ore-bituminouscoal-chert",
		"ore-bituminouscoal-conglomerate",
		"ore-anthracite-claystone",
		"ore-anthracite-sandstone",
		"ore-anthracite-shale",
		"ore-anthracite-chalk",
		"ore-anthracite-limestone",
		"ore-anthracite-chert",
		"ore-anthracite-conglomerate",
		"ore-sulfur-claystone",
		"ore-sulfur-sandstone",
		"ore-sulfur-shale",
		"ore-sulfur-chalk",
		"ore-sulfur-limestone",
		"ore-sulfur-chert",
		"ore-sulfur-conglomerate",
		"ore-sylvite-halite",
		"ore-borax-claystone",
		"ore-borax-sandstone",
		"ore-borax-shale",
		"ore-borax-chalk",
		"ore-borax-limestone",
		"ore-borax-chert",
		"ore-borax-conglomerate",
		"ore-kernite-claystone",
		"ore-kernite-sandstone",
		"ore-kernite-shale",
		"ore-kernite-chalk",
		"ore-kernite-limestone",
		"ore-kernite-chert",
		"ore-kernite-conglomerate",
		"ore-graphite-phyllite",
		"ore-graphite-slate",
		"ore-graphite-whitemarble",
		"ore-graphite-redmarble",
		"ore-graphite-greenmarble",
		"ore-cinnabar-andesite",
		"ore-cinnabar-granite",
		"ore-cinnabar-basalt",
		"ore-cinnabar-peridotite",
		"ore-cinnabar-phyllite",
		"ore-cinnabar-slate",
		"ore-corundum-peridotite",
		"ore-corundum-phyllite",
		"ore-corundum-slate",
		"ore-corundum-whitemarble",
		"ore-corundum-redmarble",
		"ore-corundum-greenmarble",
		"ore-lapislazuli-limestone",
		"ore-lapislazuli-bauxite",
		"ore-lapislazuli-whitemarble",
		"ore-lapislazuli-redmarble",
		"ore-lapislazuli-greenmarble",
		"ore-olivine-peridotite",
		"ore-fluorite-claystone",
		"ore-fluorite-sandstone",
		"ore-fluorite-shale",
		"ore-fluorite-chalk",
		"ore-fluorite-limestone",
		"ore-fluorite-chert",
		"ore-fluorite-conglomerate",
		"ore-fluorite-phyllite",
		"ore-fluorite-slate",
		"ore-phosphorite-claystone",
		"ore-phosphorite-sandstone",
		"ore-phosphorite-shale",
		"ore-phosphorite-chalk",
		"ore-phosphorite-limestone",
		"ore-phosphorite-chert",
		"ore-phosphorite-conglomerate"
	],
	creativeinventory: { "general": ["*"], "terrain": ["*"] },
	storageFlags: 5,
	shape: { base: "block/basic/cube" },
	drawtype: "cube",
	textures: {
		all: {
			base: "block/stone/rock/{rock}1",
			overlays: [ "block/stone/ore/{type}1" ],
			alternates: [
				{ base: "block/stone/rock/{rock}1", overlays: [ "block/stone/ore/{type}2" ] },
				{ base: "block/stone/rock/{rock}1", overlays: [ "block/stone/ore/{type}3" ] }
			]
		}
	},
	replaceable: 100,
	resistance: 8,
	sounds: {
		walk: "walk/stone",
		byTool: {
			"Pickaxe": { hit: "block/rock-hit-pickaxe", break: "block/rock-break-pickaxe" }
		}
	},
	requiredMiningTierByType: {
		"ore-flint-*": 0,
		"ore-lignite-*": 2,
		"ore-bituminouscoal-*": 3,
		"ore-anthracite-*": 3,
		"ore-borax-*": 3,
		"ore-cinnabar-*": 3,
		"ore-sylvite-*": 2,
		"ore-lapislazuli-*": 2,
		"ore-corundum-*": 2,
		"ore-diamond-*": 4,
		"ore-emerald-*": 4,
		"ore-bismuthinite-*": 2,
		"ore-quartz-*": 3,
		"ore-olivine-*": 3,
		"ore-graphite-*": 3,
		"ore-kernite-*": 3,
		"ore-fluorite-*": 3,
		"ore-phosphorite-*": 3,
		"ore-alum-*": 2,
		"ore-sulfur-*": 2
	},
	dropsByType: {
		"ore-quartz-*": [
			{ type: "item", code: "clearquartz",  quantity: { avg: 0.2, var: 0 }, lastDrop: true },
			{ type: "item", code: "ore-quartz",  quantity: { avg: 1.25, var: 0 }  }
		],
		"ore-flint-*": [
			{ type: "item", code: "flint",  quantity: { avg: 1.5, var: 0 }, lastDrop: true },
		],
		"ore-sylvite-*": [
			{ type: "item", code: "ore-{type}",  quantity: { avg: 2.5, var: 0.25 }  }
		],
		"*": [
			{ type: "item", code: "ore-{type}",  quantity: { avg: 1.25, var: 0 }  }
		],
	},
	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
	}
}
