{
	code: "looseores",
	class: "BlockLooseOres",
	behaviors: [{name: "UnstableFalling"}, { name: "RightClickPickup", properties: { dropsPickupMode: true, sound: "sounds/block/loosestone" } }],
	variantgroups: [
		{ code: "ore", loadFromPropertiesCombine: ["block/ore-graded", "block/ore-ungraded"] },
		{ code: "rock", loadFromProperties: "block/rockwithdeposit" },
		{ code: "cover", states: ["free", "snow"] }
	],
	attributes: {
		handbook: {
			groupBy: ["looseores-{ore}-*"],
			searchWeightOffset: -0.25
		}
	},
	creativeinventory: { "general": ["*-free"] },
	doNotRenderAtLod2: true,
	shape: {
		base: "block/stone/loosestones/{cover}1",
		alternates: [
			{ base: "block/stone/loosestones/{cover}1", rotateY: 90 },
			{ base: "block/stone/loosestones/{cover}1", rotateY: 180 },
			{ base: "block/stone/loosestones/{cover}1", rotateY: 270 },
			
			{ base: "block/stone/loosestones/{cover}2", rotateY: 0 },
			{ base: "block/stone/loosestones/{cover}2", rotateY: 90 },
			{ base: "block/stone/loosestones/{cover}2", rotateY: 180 },
			{ base: "block/stone/loosestones/{cover}2", rotateY: 270 },
			
			{ base: "block/stone/loosestones/{cover}3", rotateY: 0 },
			{ base: "block/stone/loosestones/{cover}3", rotateY: 90 },
			{ base: "block/stone/loosestones/{cover}3", rotateY: 180 },
			{ base: "block/stone/loosestones/{cover}3", rotateY: 270 },
		]
	},
	allowedVariants: [
"looseores-alum-claystone-free",
"looseores-alum-sandstone-free",
"looseores-alum-shale-free",
"looseores-alum-chalk-free",
"looseores-alum-limestone-free",
"looseores-alum-chert-free",
"looseores-alum-conglomerate-free",
	
"looseores-bismuthinite-andesite-free",
"looseores-bismuthinite-granite-free",
"looseores-bismuthinite-basalt-free",
"looseores-bismuthinite-peridotite-free",
"looseores-bismuthinite-phyllite-free",
"looseores-bismuthinite-slate-free",
"looseores-cassiterite-andesite-free",
"looseores-cassiterite-granite-free",
"looseores-cassiterite-basalt-free",
"looseores-cassiterite-peridotite-free",
"looseores-cassiterite-phyllite-free",
"looseores-cassiterite-slate-free",
"looseores-sphalerite-andesite-free",
"looseores-sphalerite-granite-free",
"looseores-sphalerite-basalt-free",
"looseores-sphalerite-peridotite-free",
"looseores-sphalerite-claystone-free",
"looseores-sphalerite-sandstone-free",
"looseores-sphalerite-shale-free",
"looseores-sphalerite-chalk-free",
"looseores-sphalerite-limestone-free",
"looseores-sphalerite-chert-free",
"looseores-sphalerite-conglomerate-free",
"looseores-sphalerite-phyllite-free",
"looseores-sphalerite-slate-free",
"looseores-nativecopper-granite-free",
"looseores-nativecopper-basalt-free",
"looseores-nativecopper-slate-free",
"looseores-nativecopper-andesite-free",
"looseores-nativecopper-peridotite-free",
"looseores-nativecopper-claystone-free",
"looseores-nativecopper-sandstone-free",
"looseores-nativecopper-shale-free",
"looseores-nativecopper-chalk-free",
"looseores-nativecopper-chert-free",
"looseores-nativecopper-conglomerate-free",
"looseores-nativecopper-phyllite-free",
"looseores-malachite-limestone-free",
"looseores-malachite-whitemarble-free",
"looseores-malachite-redmarble-free",
"looseores-malachite-greenmarble-free",
"looseores-galena-claystone-free",
"looseores-galena-sandstone-free",
"looseores-galena-shale-free",
"looseores-galena-chalk-free",
"looseores-galena-limestone-free",
"looseores-galena-chert-free",
"looseores-galena-conglomerate-free",
"looseores-quartz-andesite-free",
"looseores-quartz-granite-free",
"looseores-quartz-basalt-free",
"looseores-quartz-peridotite-free",
"looseores-quartz-claystone-free",
"looseores-quartz-sandstone-free",
"looseores-quartz-shale-free",
"looseores-quartz-chalk-free",
"looseores-quartz-limestone-free",
"looseores-quartz-chert-free",
"looseores-quartz-conglomerate-free",
"looseores-quartz-phyllite-free",
"looseores-quartz-slate-free",
"looseores-galena_nativesilver-claystone-free",
"looseores-galena_nativesilver-sandstone-free",
"looseores-galena_nativesilver-shale-free",
"looseores-galena_nativesilver-chalk-free",
"looseores-galena_nativesilver-limestone-free",
"looseores-galena_nativesilver-chert-free",
"looseores-galena_nativesilver-conglomerate-free",
"looseores-quartz_nativesilver-andesite-free",
"looseores-quartz_nativesilver-granite-free",
"looseores-quartz_nativesilver-basalt-free",
"looseores-quartz_nativesilver-peridotite-free",
"looseores-quartz_nativesilver-claystone-free",
"looseores-quartz_nativesilver-sandstone-free",
"looseores-quartz_nativesilver-shale-free",
"looseores-quartz_nativesilver-chalk-free",
"looseores-quartz_nativesilver-limestone-free",
"looseores-quartz_nativesilver-chert-free",
"looseores-quartz_nativesilver-conglomerate-free",
"looseores-quartz_nativesilver-phyllite-free",
"looseores-quartz_nativesilver-slate-free",
"looseores-quartz_nativegold-andesite-free",
"looseores-quartz_nativegold-granite-free",
"looseores-quartz_nativegold-basalt-free",
"looseores-quartz_nativegold-peridotite-free",
"looseores-quartz_nativegold-claystone-free",
"looseores-quartz_nativegold-sandstone-free",
"looseores-quartz_nativegold-shale-free",
"looseores-quartz_nativegold-chalk-free",
"looseores-quartz_nativegold-limestone-free",
"looseores-quartz_nativegold-chert-free",
"looseores-quartz_nativegold-conglomerate-free",
"looseores-quartz_nativegold-phyllite-free",
"looseores-quartz_nativegold-slate-free",
"looseores-limonite-basalt-free",
"looseores-limonite-shale-free",
"looseores-limonite-chert-free",
"looseores-hematite-granite-free",
"looseores-hematite-peridotite-free",
"looseores-hematite-sandstone-free",
"looseores-hematite-limestone-free",
"looseores-hematite-phyllite-free",
"looseores-magnetite-andesite-free",
"looseores-magnetite-claystone-free",
"looseores-magnetite-chalk-free",
"looseores-magnetite-conglomerate-free",
"looseores-magnetite-slate-free",
"looseores-chromite-andesite-free",
"looseores-chromite-granite-free",
"looseores-chromite-basalt-free",
"looseores-chromite-peridotite-free",
"looseores-chromite-kimberlite-free",
"looseores-rhodochrosite-claystone-free",
"looseores-rhodochrosite-sandstone-free",
"looseores-rhodochrosite-shale-free",
"looseores-rhodochrosite-chalk-free",
"looseores-rhodochrosite-limestone-free",
"looseores-rhodochrosite-chert-free",
"looseores-rhodochrosite-conglomerate-free",
"looseores-rhodochrosite-phyllite-free",
"looseores-rhodochrosite-slate-free",
"looseores-ilmenite-andesite-free",
"looseores-ilmenite-granite-free",
"looseores-ilmenite-basalt-free",
"looseores-ilmenite-peridotite-free",
"looseores-ilmenite-kimberlite-free",
"looseores-ilmenite-phyllite-free",
"looseores-ilmenite-slate-free",
"looseores-quartz_wolframite-granite-free",
"looseores-stibnite-andesite-free",
"looseores-stibnite-granite-free",
"looseores-stibnite-basalt-free",
"looseores-stibnite-limestone-free",
"looseores-uranium-andesite-free",
"looseores-uranium-granite-free",
"looseores-uranium-basalt-free",
"looseores-uranium-peridotite-free",
"looseores-uranium-kimberlite-free",
"looseores-uranium-claystone-free",
"looseores-uranium-sandstone-free",
"looseores-uranium-shale-free",
"looseores-uranium-chalk-free",
"looseores-uranium-limestone-free",
"looseores-uranium-chert-free",
"looseores-uranium-conglomerate-free",
"looseores-uranium-phyllite-free",
"looseores-uranium-slate-free",
"looseores-lignite-claystone-free",
"looseores-lignite-sandstone-free",
"looseores-lignite-shale-free",
"looseores-lignite-chalk-free",
"looseores-lignite-limestone-free",
"looseores-lignite-chert-free",
"looseores-lignite-conglomerate-free",
"looseores-bituminouscoal-claystone-free",
"looseores-bituminouscoal-sandstone-free",
"looseores-bituminouscoal-shale-free",
"looseores-bituminouscoal-chalk-free",
"looseores-bituminouscoal-limestone-free",
"looseores-bituminouscoal-chert-free",
"looseores-bituminouscoal-conglomerate-free",
"looseores-anthracite-claystone-free",
"looseores-anthracite-sandstone-free",
"looseores-anthracite-shale-free",
"looseores-anthracite-chalk-free",
"looseores-anthracite-limestone-free",
"looseores-anthracite-chert-free",
"looseores-anthracite-conglomerate-free",
"looseores-sulfur-claystone-free",
"looseores-sulfur-sandstone-free",
"looseores-sulfur-shale-free",
"looseores-sulfur-chalk-free",
"looseores-sulfur-limestone-free",
"looseores-sulfur-chert-free",
"looseores-sulfur-conglomerate-free",
"looseores-sylvite-halite-free",
"looseores-borax-claystone-free",
"looseores-borax-sandstone-free",
"looseores-borax-shale-free",
"looseores-borax-chalk-free",
"looseores-borax-limestone-free",
"looseores-borax-chert-free",
"looseores-borax-conglomerate-free",
"looseores-kernite-claystone-free",
"looseores-kernite-sandstone-free",
"looseores-kernite-shale-free",
"looseores-kernite-chalk-free",
"looseores-kernite-limestone-free",
"looseores-kernite-chert-free",
"looseores-kernite-conglomerate-free",
"looseores-graphite-phyllite-free",
"looseores-graphite-slate-free",
"looseores-graphite-whitemarble-free",
"looseores-graphite-redmarble-free",
"looseores-graphite-greenmarble-free",
"looseores-cinnabar-andesite-free",
"looseores-cinnabar-granite-free",
"looseores-cinnabar-basalt-free",
"looseores-cinnabar-peridotite-free",
"looseores-cinnabar-phyllite-free",
"looseores-cinnabar-slate-free",
"looseores-corundum-peridotite-free",
"looseores-corundum-phyllite-free",
"looseores-corundum-slate-free",
"looseores-corundum-whitemarble-free",
"looseores-corundum-redmarble-free",
"looseores-corundum-greenmarble-free",
"looseores-lapislazuli-limestone-free",
"looseores-lapislazuli-bauxite-free",
"looseores-lapislazuli-whitemarble-free",
"looseores-lapislazuli-redmarble-free",
"looseores-lapislazuli-greenmarble-free",
"looseores-emerald-basalt-free",
"looseores-emerald-peridotite-free",
"looseores-emerald-shale-free",
"looseores-emerald-limestone-free",
"looseores-emerald-phyllite-free",
"looseores-emerald-slate-free",
"looseores-diamond-kimberlite-free",
"looseores-diamond-suevite-free",
"looseores-olivine-peridotite-free",
"looseores-olivine_peridot-peridotite-free",
"looseores-pentlandite-andesite-free",
"looseores-pentlandite-granite-free",
"looseores-pentlandite-basalt-free",
"looseores-pentlandite-peridotite-free",
"looseores-fluorite-claystone-free",
"looseores-fluorite-sandstone-free",
"looseores-fluorite-shale-free",
"looseores-fluorite-chalk-free",
"looseores-fluorite-limestone-free",
"looseores-fluorite-chert-free",
"looseores-fluorite-conglomerate-free",
"looseores-fluorite-phyllite-free",
"looseores-fluorite-slate-free",
"looseores-phosphorite-claystone-free",
"looseores-phosphorite-sandstone-free",
"looseores-phosphorite-shale-free",
"looseores-phosphorite-chalk-free",
"looseores-phosphorite-limestone-free",
"looseores-phosphorite-chert-free",
"looseores-phosphorite-conglomerate-free"

	],
	drawtypeByType: {
		"*-free": "JSON",
		"*-snow": "JSONAndSnowLayer",
	},
	resistance: 0.15,
	replaceable: 6500,
	textures: {
		rock: {
			base: "block/stone/rock/{rock}1",
			overlays: [ "block/stone/ore/{ore}1" ],
		}
	},
	sounds: {
		"walk": "walk/stone*"
	},
	dropsByType: {
		"*_nativesilver-*": [
			{
				type: "item", 
				code: "nugget-nativesilver", 
				quantity: { avg: 1, var: 0 } 
			}
		],
		"*_nativegold-*": [
			{
				type: "item", 
				code: "nugget-nativegold", 
				quantity: { avg: 1, var: 0 } 
			}
		],
		"*-quartz-*": [
			{
				type: "item", 
				code: "clearquartz", 
				quantity: { avg: 0.2, var: 0 },
				lastDrop: true
			},
			{
				type: "item", 
				code: "ore-{ore}", 
				quantity: { avg: 1, var: 0 } 
			}
		],
		"looseores-olivine-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-sylvite-halite-*": [ { type: "item", code: "ore-sylvite" } ],
		"looseores-lapislazuli-*": [ { type: "item", code: "ore-lapislazuli" } ],
		"looseores-cinnabar-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-anthracite-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-borax-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-lignite-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-bituminouscoal-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-sulfur-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-fluorite-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-kernite-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-phosphorite-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-graphite-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-corundum-*": [ { type: "item", code: "ore-{ore}" } ],
		"looseores-alum-*": [ { type: "item", code: "ore-{ore}" } ],
		
		"*": [
			{
				type: "item", 
				code: "nugget-{ore}", 
				quantity: { avg: 2, var: 1 } 
			}
		],
	},
	rainPermeableByType: {
		"*-free": true,
		"*": false,
	},
	sidesolid: { all: false },
	sideopaqueByType: {
		"*-snow": { all: false, down: true },
		"*": { all: false }
	},
	lightAbsorption: 0,
	selectionbox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.125, z2: 1 },
	collisionbox: null,
	guiTransform: {
		rotation: { x: -25, y: 0, z: 0 },
		origin: { x: 0.34, y: 0.1, z: 0.47 },
		scale: 2.75
	},
		tpHandTransform: {
		translation: { x: -1, y: -0.61, z: -0.84 },
		rotation: { x: 0, y: 149, z: 1 },
		scale: 0.5
	}
}