{
	code: "ore",
	blockmaterial: "Ore",
	class: "BlockOre",
	attributes: {
		mapColorCode: "land",
		propickable: true,
		handbook: {
			groupBy: ["ore-*-{type}-*"],
			searchWeightOffset: -0.25
		}
	},
	behaviors: [{name: "BreakIfFloating"}, { name: "UnstableRock" }],
	variantgroups: [
		{ code: "grade", states: ["poor", "medium", "rich", "bountiful"] },
		{ code: "type",  loadFromProperties: "block/ore-graded" },
		{ code: "rock", loadFromProperties: "block/rockwithdeposit" }
	],
	allowedVariants: [
"ore-poor-bismuthinite-andesite",
"ore-medium-bismuthinite-andesite",
"ore-rich-bismuthinite-andesite",
"ore-poor-bismuthinite-granite",
"ore-medium-bismuthinite-granite",
"ore-rich-bismuthinite-granite",
"ore-poor-bismuthinite-basalt",
"ore-medium-bismuthinite-basalt",
"ore-rich-bismuthinite-basalt",
"ore-bountiful-bismuthinite-basalt",
"ore-poor-bismuthinite-peridotite",
"ore-medium-bismuthinite-peridotite",
"ore-rich-bismuthinite-peridotite",
"ore-poor-bismuthinite-phyllite",
"ore-medium-bismuthinite-phyllite",
"ore-poor-bismuthinite-slate",
"ore-medium-bismuthinite-slate",
"ore-poor-cassiterite-andesite",
"ore-medium-cassiterite-andesite",
"ore-poor-cassiterite-granite",
"ore-medium-cassiterite-granite",
"ore-rich-cassiterite-granite",
"ore-bountiful-cassiterite-granite",
"ore-poor-cassiterite-basalt",
"ore-medium-cassiterite-basalt",
"ore-poor-cassiterite-peridotite",
"ore-medium-cassiterite-peridotite",
"ore-poor-cassiterite-phyllite",
"ore-medium-cassiterite-phyllite",
"ore-poor-cassiterite-slate",
"ore-medium-cassiterite-slate",
"ore-poor-sphalerite-andesite",
"ore-medium-sphalerite-andesite",
"ore-poor-sphalerite-granite",
"ore-medium-sphalerite-granite",
"ore-poor-sphalerite-basalt",
"ore-medium-sphalerite-basalt",
"ore-poor-sphalerite-peridotite",
"ore-medium-sphalerite-peridotite",
"ore-poor-sphalerite-claystone",
"ore-medium-sphalerite-claystone",
"ore-rich-sphalerite-claystone",
"ore-poor-sphalerite-sandstone",
"ore-medium-sphalerite-sandstone",
"ore-rich-sphalerite-sandstone",
"ore-poor-sphalerite-shale",
"ore-medium-sphalerite-shale",
"ore-rich-sphalerite-shale",
"ore-poor-sphalerite-chalk",
"ore-medium-sphalerite-chalk",
"ore-rich-sphalerite-chalk",
"ore-poor-sphalerite-limestone",
"ore-medium-sphalerite-limestone",
"ore-rich-sphalerite-limestone",
"ore-poor-sphalerite-chert",
"ore-medium-sphalerite-chert",
"ore-rich-sphalerite-chert",
"ore-poor-sphalerite-conglomerate",
"ore-medium-sphalerite-conglomerate",
"ore-rich-sphalerite-conglomerate",
"ore-poor-sphalerite-phyllite",
"ore-medium-sphalerite-phyllite",
"ore-rich-sphalerite-phyllite",
"ore-bountiful-sphalerite-phyllite",
"ore-poor-sphalerite-slate",
"ore-medium-sphalerite-slate",
"ore-rich-sphalerite-slate",
"ore-bountiful-sphalerite-slate",
"ore-poor-nativecopper-granite",
"ore-medium-nativecopper-granite",
"ore-rich-nativecopper-granite",
"ore-poor-nativecopper-basalt",
"ore-medium-nativecopper-basalt",
"ore-rich-nativecopper-basalt",
"ore-bountiful-nativecopper-basalt",
"ore-poor-nativecopper-slate",
"ore-medium-nativecopper-slate",
"ore-rich-nativecopper-slate",
"ore-poor-nativecopper-andesite",
"ore-medium-nativecopper-andesite",
"ore-rich-nativecopper-andesite",
"ore-poor-nativecopper-peridotite",
"ore-medium-nativecopper-peridotite",
"ore-rich-nativecopper-peridotite",
"ore-poor-nativecopper-claystone",
"ore-medium-nativecopper-claystone",
"ore-poor-nativecopper-sandstone",
"ore-medium-nativecopper-sandstone",
"ore-poor-nativecopper-shale",
"ore-medium-nativecopper-shale",
"ore-poor-nativecopper-chalk",
"ore-medium-nativecopper-chalk",
"ore-poor-nativecopper-chert",
"ore-medium-nativecopper-chert",
"ore-poor-nativecopper-conglomerate",
"ore-medium-nativecopper-conglomerate",
"ore-poor-nativecopper-phyllite",
"ore-medium-nativecopper-phyllite",
"ore-rich-nativecopper-phyllite",
"ore-poor-malachite-limestone",
"ore-medium-malachite-limestone",
"ore-rich-malachite-limestone",
"ore-bountiful-malachite-limestone",
"ore-poor-malachite-whitemarble",
"ore-medium-malachite-whitemarble",
"ore-rich-malachite-whitemarble",
"ore-poor-malachite-redmarble",
"ore-medium-malachite-redmarble",
"ore-rich-malachite-redmarble",
"ore-poor-malachite-greenmarble",
"ore-medium-malachite-greenmarble",
"ore-rich-malachite-greenmarble",
"ore-poor-galena-claystone",
"ore-medium-galena-claystone",
"ore-rich-galena-claystone",
"ore-poor-galena-sandstone",
"ore-medium-galena-sandstone",
"ore-rich-galena-sandstone",
"ore-poor-galena-shale",
"ore-medium-galena-shale",
"ore-rich-galena-shale",
"ore-bountiful-galena-shale",
"ore-poor-galena-chalk",
"ore-medium-galena-chalk",
"ore-poor-galena-limestone",
"ore-medium-galena-limestone",
"ore-poor-galena-chert",
"ore-medium-galena-chert",
"ore-rich-galena-chert",
"ore-bountiful-galena-chert",
"ore-poor-galena-conglomerate",
"ore-medium-galena-conglomerate",
"ore-poor-galena_nativesilver-claystone",
"ore-medium-galena_nativesilver-claystone",
"ore-poor-galena_nativesilver-sandstone",
"ore-medium-galena_nativesilver-sandstone",
"ore-poor-galena_nativesilver-shale",
"ore-medium-galena_nativesilver-shale",
"ore-poor-galena_nativesilver-chalk",
"ore-medium-galena_nativesilver-chalk",
"ore-poor-galena_nativesilver-limestone",
"ore-medium-galena_nativesilver-limestone",
"ore-poor-galena_nativesilver-chert",
"ore-medium-galena_nativesilver-chert",
"ore-poor-galena_nativesilver-conglomerate",
"ore-medium-galena_nativesilver-conglomerate",
"ore-poor-quartz_nativesilver-andesite",
"ore-medium-quartz_nativesilver-andesite",
"ore-rich-quartz_nativesilver-andesite",
"ore-bountiful-quartz_nativesilver-andesite",
"ore-poor-quartz_nativesilver-granite",
"ore-medium-quartz_nativesilver-granite",
"ore-rich-quartz_nativesilver-granite",
"ore-bountiful-quartz_nativesilver-granite",
"ore-poor-quartz_nativesilver-basalt",
"ore-medium-quartz_nativesilver-basalt",
"ore-rich-quartz_nativesilver-basalt",
"ore-bountiful-quartz_nativesilver-basalt",
"ore-poor-quartz_nativesilver-peridotite",
"ore-medium-quartz_nativesilver-peridotite",
"ore-rich-quartz_nativesilver-peridotite",
"ore-bountiful-quartz_nativesilver-peridotite",
"ore-poor-quartz_nativesilver-claystone",
"ore-medium-quartz_nativesilver-claystone",
"ore-rich-quartz_nativesilver-claystone",
"ore-bountiful-quartz_nativesilver-claystone",
"ore-poor-quartz_nativesilver-sandstone",
"ore-medium-quartz_nativesilver-sandstone",
"ore-rich-quartz_nativesilver-sandstone",
"ore-bountiful-quartz_nativesilver-sandstone",
"ore-poor-quartz_nativesilver-shale",
"ore-medium-quartz_nativesilver-shale",
"ore-rich-quartz_nativesilver-shale",
"ore-bountiful-quartz_nativesilver-shale",
"ore-poor-quartz_nativesilver-chalk",
"ore-medium-quartz_nativesilver-chalk",
"ore-rich-quartz_nativesilver-chalk",
"ore-bountiful-quartz_nativesilver-chalk",
"ore-poor-quartz_nativesilver-limestone",
"ore-medium-quartz_nativesilver-limestone",
"ore-rich-quartz_nativesilver-limestone",
"ore-bountiful-quartz_nativesilver-limestone",
"ore-poor-quartz_nativesilver-chert",
"ore-medium-quartz_nativesilver-chert",
"ore-rich-quartz_nativesilver-chert",
"ore-bountiful-quartz_nativesilver-chert",
"ore-poor-quartz_nativesilver-conglomerate",
"ore-medium-quartz_nativesilver-conglomerate",
"ore-rich-quartz_nativesilver-conglomerate",
"ore-bountiful-quartz_nativesilver-conglomerate",
"ore-poor-quartz_nativesilver-phyllite",
"ore-medium-quartz_nativesilver-phyllite",
"ore-rich-quartz_nativesilver-phyllite",
"ore-bountiful-quartz_nativesilver-phyllite",
"ore-poor-quartz_nativesilver-slate",
"ore-medium-quartz_nativesilver-slate",
"ore-rich-quartz_nativesilver-slate",
"ore-bountiful-quartz_nativesilver-slate",
"ore-poor-quartz_nativegold-andesite",
"ore-medium-quartz_nativegold-andesite",
"ore-rich-quartz_nativegold-andesite",
"ore-bountiful-quartz_nativegold-andesite",
"ore-poor-quartz_nativegold-granite",
"ore-medium-quartz_nativegold-granite",
"ore-rich-quartz_nativegold-granite",
"ore-bountiful-quartz_nativegold-granite",
"ore-poor-quartz_nativegold-basalt",
"ore-medium-quartz_nativegold-basalt",
"ore-rich-quartz_nativegold-basalt",
"ore-bountiful-quartz_nativegold-basalt",
"ore-poor-quartz_nativegold-peridotite",
"ore-medium-quartz_nativegold-peridotite",
"ore-rich-quartz_nativegold-peridotite",
"ore-bountiful-quartz_nativegold-peridotite",
"ore-poor-quartz_nativegold-claystone",
"ore-medium-quartz_nativegold-claystone",
"ore-rich-quartz_nativegold-claystone",
"ore-bountiful-quartz_nativegold-claystone",
"ore-poor-quartz_nativegold-sandstone",
"ore-medium-quartz_nativegold-sandstone",
"ore-rich-quartz_nativegold-sandstone",
"ore-bountiful-quartz_nativegold-sandstone",
"ore-poor-quartz_nativegold-shale",
"ore-medium-quartz_nativegold-shale",
"ore-rich-quartz_nativegold-shale",
"ore-bountiful-quartz_nativegold-shale",
"ore-poor-quartz_nativegold-chalk",
"ore-medium-quartz_nativegold-chalk",
"ore-rich-quartz_nativegold-chalk",
"ore-bountiful-quartz_nativegold-chalk",
"ore-poor-quartz_nativegold-limestone",
"ore-medium-quartz_nativegold-limestone",
"ore-rich-quartz_nativegold-limestone",
"ore-bountiful-quartz_nativegold-limestone",
"ore-poor-quartz_nativegold-chert",
"ore-medium-quartz_nativegold-chert",
"ore-rich-quartz_nativegold-chert",
"ore-bountiful-quartz_nativegold-chert",
"ore-poor-quartz_nativegold-conglomerate",
"ore-medium-quartz_nativegold-conglomerate",
"ore-rich-quartz_nativegold-conglomerate",
"ore-bountiful-quartz_nativegold-conglomerate",
"ore-poor-quartz_nativegold-phyllite",
"ore-medium-quartz_nativegold-phyllite",
"ore-rich-quartz_nativegold-phyllite",
"ore-bountiful-quartz_nativegold-phyllite",
"ore-poor-quartz_nativegold-slate",
"ore-medium-quartz_nativegold-slate",
"ore-rich-quartz_nativegold-slate",
"ore-bountiful-quartz_nativegold-slate",
"ore-poor-limonite-basalt",
"ore-medium-limonite-basalt",
"ore-poor-limonite-shale",
"ore-medium-limonite-shale",
"ore-rich-limonite-shale",
"ore-bountiful-limonite-shale",
"ore-poor-limonite-chert",
"ore-medium-limonite-chert",
"ore-rich-limonite-chert",
"ore-bountiful-limonite-chert",
"ore-poor-hematite-granite",
"ore-medium-hematite-granite",
"ore-rich-hematite-granite",
"ore-bountiful-hematite-granite",
"ore-poor-hematite-peridotite",
"ore-medium-hematite-peridotite",
"ore-rich-hematite-peridotite",
"ore-bountiful-hematite-peridotite",
"ore-poor-hematite-sandstone",
"ore-medium-hematite-sandstone",
"ore-rich-hematite-sandstone",
"ore-poor-hematite-limestone",
"ore-medium-hematite-limestone",
"ore-rich-hematite-limestone",
"ore-poor-hematite-phyllite",
"ore-medium-hematite-phyllite",
"ore-poor-magnetite-andesite",
"ore-medium-magnetite-andesite",
"ore-rich-magnetite-andesite",
"ore-poor-magnetite-claystone",
"ore-medium-magnetite-claystone",
"ore-poor-magnetite-chalk",
"ore-medium-magnetite-chalk",
"ore-poor-magnetite-conglomerate",
"ore-medium-magnetite-conglomerate",
"ore-poor-magnetite-slate",
"ore-medium-magnetite-slate",
"ore-rich-magnetite-slate",
"ore-bountiful-magnetite-slate",
"ore-poor-chromite-andesite",
"ore-medium-chromite-andesite",
"ore-poor-chromite-granite",
"ore-medium-chromite-granite",
"ore-poor-chromite-basalt",
"ore-medium-chromite-basalt",
"ore-rich-chromite-basalt",
"ore-poor-chromite-peridotite",
"ore-medium-chromite-peridotite",
"ore-rich-chromite-peridotite",
"ore-poor-chromite-kimberlite",
"ore-medium-chromite-kimberlite",
"ore-rich-chromite-kimberlite",
"ore-bountiful-chromite-kimberlite",
"ore-poor-rhodochrosite-claystone",
"ore-medium-rhodochrosite-claystone",
"ore-rich-rhodochrosite-claystone",
"ore-poor-rhodochrosite-sandstone",
"ore-medium-rhodochrosite-sandstone",
"ore-rich-rhodochrosite-sandstone",
"ore-poor-rhodochrosite-shale",
"ore-medium-rhodochrosite-shale",
"ore-rich-rhodochrosite-shale",
"ore-poor-rhodochrosite-chalk",
"ore-medium-rhodochrosite-chalk",
"ore-poor-rhodochrosite-limestone",
"ore-medium-rhodochrosite-limestone",
"ore-poor-rhodochrosite-chert",
"ore-medium-rhodochrosite-chert",
"ore-poor-rhodochrosite-conglomerate",
"ore-medium-rhodochrosite-conglomerate",
"ore-rich-rhodochrosite-conglomerate",
"ore-poor-rhodochrosite-phyllite",
"ore-medium-rhodochrosite-phyllite",
"ore-rich-rhodochrosite-phyllite",
"ore-bountiful-rhodochrosite-phyllite",
"ore-poor-rhodochrosite-slate",
"ore-medium-rhodochrosite-slate",
"ore-rich-rhodochrosite-slate",
"ore-bountiful-rhodochrosite-slate",
"ore-poor-ilmenite-andesite",
"ore-medium-ilmenite-andesite",
"ore-poor-ilmenite-granite",
"ore-medium-ilmenite-granite",
"ore-poor-ilmenite-basalt",
"ore-medium-ilmenite-basalt",
"ore-rich-ilmenite-basalt",
"ore-poor-ilmenite-peridotite",
"ore-medium-ilmenite-peridotite",
"ore-rich-ilmenite-peridotite",
"ore-poor-ilmenite-kimberlite",
"ore-medium-ilmenite-kimberlite",
"ore-rich-ilmenite-kimberlite",
"ore-bountiful-ilmenite-kimberlite",
"ore-poor-ilmenite-phyllite",
"ore-medium-ilmenite-phyllite",
"ore-rich-ilmenite-phyllite",
"ore-poor-ilmenite-slate",
"ore-medium-ilmenite-slate",
"ore-rich-ilmenite-slate",
"ore-poor-stibnite-andesite",
"ore-medium-stibnite-andesite",
"ore-poor-stibnite-granite",
"ore-medium-stibnite-granite",
"ore-rich-stibnite-granite",
"ore-poor-stibnite-basalt",
"ore-medium-stibnite-basalt",
"ore-rich-stibnite-basalt",
"ore-bountiful-stibnite-basalt",
"ore-poor-uranium-andesite",
"ore-medium-uranium-andesite",
"ore-rich-uranium-andesite",
"ore-poor-uranium-granite",
"ore-medium-uranium-granite",
"ore-rich-uranium-granite",
"ore-poor-uranium-basalt",
"ore-medium-uranium-basalt",
"ore-poor-uranium-peridotite",
"ore-medium-uranium-peridotite",
"ore-poor-uranium-kimberlite",
"ore-medium-uranium-kimberlite",
"ore-rich-uranium-kimberlite",
"ore-bountiful-uranium-kimberlite",
"ore-poor-uranium-claystone",
"ore-medium-uranium-claystone",
"ore-poor-uranium-sandstone",
"ore-medium-uranium-sandstone",
"ore-poor-uranium-shale",
"ore-medium-uranium-shale",
"ore-poor-uranium-chalk",
"ore-medium-uranium-chalk",
"ore-rich-uranium-chalk",
"ore-poor-uranium-limestone",
"ore-medium-uranium-limestone",
"ore-rich-uranium-limestone",
"ore-poor-uranium-chert",
"ore-medium-uranium-chert",
"ore-rich-uranium-chert",
"ore-poor-uranium-conglomerate",
"ore-medium-uranium-conglomerate",
"ore-poor-uranium-phyllite",
"ore-medium-uranium-phyllite",
"ore-rich-uranium-phyllite",
"ore-bountiful-uranium-phyllite",
"ore-poor-uranium-slate",
"ore-medium-uranium-slate",
"ore-rich-uranium-slate",
"ore-bountiful-uranium-slate",
"ore-poor-pentlandite-andesite",
"ore-medium-pentlandite-andesite",
"ore-poor-pentlandite-granite",
"ore-medium-pentlandite-granite",
"ore-poor-pentlandite-basalt",
"ore-medium-pentlandite-basalt",
"ore-poor-pentlandite-peridotite",
"ore-medium-pentlandite-peridotite",
"ore-rich-pentlandite-peridotite",
"ore-bountiful-pentlandite-peridotite"
	],
	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-*-lignite-*": 2,
		"ore-*-nativecopper-*": 2,
		"ore-*-malachite-*": 2,
		"ore-*-limonite-*": 3,
		"ore-*-hematite-*": 3,
		"ore-*-magnetite-*": 3,
		
		"ore-*-galena-*": 2,
		"ore-*-cassiterite-*": 2,
		"ore-*-chromite-*": 5,
		"ore-*-platinum-*": 5,
		"ore-*-ilmenite-*": 5,
		"ore-*-sphalerite-*": 2,
		"ore-*-rocksalt_sylvite-*": 2,
		"ore-*-bismuthinite-*": 2,
		"ore-*-quartz_nativesilver-*":3 ,
		"ore-*-galena_nativesilver-*":2 ,
		"ore-*-quartz_nativegold-*": 3,
		
		"ore-*-pentlandite-*": 4,
		"ore-*-uranium-*": 4,
		"ore-*-wolframite-*": 4,
		"ore-*-rhodochrosite-*": 4
	},
	dropsByType: {
		"*": [ 
			{ type: "item", code: "crystalizedore-{grade}-{type}-{rock}",  quantity: { avg: 0.01, var: 0 }  },
			{ type: "item", code: "ore-{grade}-{type}-{rock}",  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
	}
}