{
	code: "carcass",
	behaviors: [{name: "UnstableFalling"}],
	class: "BlockRequireSolidGround",
	entityClass: "Transient",
	attributes: {
		transientProps: {
			convertFrom: "*", 
			convertTo: "air", 
			inGameHours: "336",
		},
		handbook: {
			groupBy: ["carcass-*"]
		}
	},
	creativeinventory: { "general": ["*"], "decorative": ["*"] },
	variantgroups: [
		{ code: "type", states: ["tiny", "small", "medium", "large", "fish"] },
	],
	shape: {
		base: "block/bone/carcass/{type}",
		alternates: [
			{ base: "block/bone/carcass/{type}", rotateY: 45 },
			{ base: "block/bone/carcass/{type}", rotateY: 90 },
			{ base: "block/bone/carcass/{type}", rotateY: 135 },
			{ base: "block/bone/carcass/{type}", rotateY: 180 },
			{ base: "block/bone/carcass/{type}", rotateY: 225 },		
			{ base: "block/bone/carcass/{type}", rotateY: 270 }
		]
	},
	doNotRenderAtLod2ByType: {
		"*-fish": true,
		"*-tiny": true,
		"*-small": true
	},
	randomDrawOffset: true,
	lightAbsorption: 0,
	resistance: 1,
	drops: [
		{
			type: "item", 
			codeByType: {
				"*-fish": "bone-tiny",
				"*-tiny": "bone-tiny",
				"*-small": "bone-tiny",
				"*": "bone"
			
			},
			quantityByType: {
				"*-fish": { avg: 0 },
				"*-small": { avg: 1.25, var: 0 },
				"*-medium": { avg: 4, var: 0.5 },
				"*-large": { avg: 8, var: 1 }
			}
		}
	],
	sidesolid: { all: false },
	sideopaque: { all: false },
	selectionboxByType: {
		"*-large": { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.4, z2: 1 },	
		"*-medium": { x1: 0.125, y1: 0, z1: 0.125, x2: 0.875, y2: 0.25, z2: 0.875 },	
		"*-small": { x1: 0.2, y1: 0, z1: 0.2, x2: 0.8, y2: 0.125, z2: 0.8 },	
		"*": { x1: 0.25, y1: 0, z1: 0.25, x2: 0.75, y2: 0.125, z2: 0.75 },	
	},
	collisionbox: null,
	materialDensity: 3000,
	guiTransformByType: {
		"*-fish": {
			rotation: { x: -22.5937, y: 132, z: 0 },
			origin: { x: 0.5, y: 0.05, z: 0.5 },
			scale: 2.27
		},
		"*": {
			rotation: { x: -22.5937, y: 132, z: 0 },
			origin: { x: 0.5, y: 0.22, z: 0.5 },
			scale: 1.25
		}
	},
	tpHandTransform: {
		translation: { x: -1.3, y: -0.7, z: -0.8 },
		rotation: { x: 2, y: 31, z: -25 },
		scale: 0.6
	},
	groundTransform: {
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 2
	}
}
