{
	code: "egg",
	behaviors: [{name: "UnstableFalling"}, {name: "RightClickPickup", properties: { dropsPickupMode: true}} ],
	entityClass: "Transient",
	attributes: {
		mapColorCode: "land",
		transientProps: {
			convertFrom: "*", 
			convertTo: "air", 
			inGameHours: "72",
		},
		handbook: {
			groupBy: ["egg-*"]
		},
        displayable: {
            shelf: {
                size: { width: 2, height: 1, length: 2 },
                RandYRotAngle: 5,
                "transform": {
                    "translation": { "x": -0.2, "y": 0, "z": -0.2 }
                }
            }
        }
	},
	variantgroups: [
		{ code:"creature", states: ["chicken"] },
		{ code:"amount", states: ["1", "2", "3", "broken"] },
	],	
	creativeinventory: { general: ["*"], decorative: ["*"] },
	blockmaterial: "Soil",
	drawtype: "json",
	shapebytype: {
		"*-1": { 
			base: "block/egg/1egg",
			alternates: [ { base: "block/egg/1egg", rotateY: 90 }, { base: "block/egg/1egg", rotateY: 180 }, { base: "block/egg/1egg", rotateY: 270 } ]
		},
		"*-2": { 
			base: "block/egg/2eggs",
			alternates: [ { base: "block/egg/2eggs", rotateY: 90 }, { base: "block/egg/2eggs", rotateY: 180 }, { base: "block/egg/2eggs", rotateY: 270 } ]
		},
		"*-3": { 
			base: "block/egg/3eggs",
			alternates: [ { base: "block/egg/3eggs", rotateY: 90 }, { base: "block/egg/3eggs", rotateY: 180 }, { base: "block/egg/3eggs", rotateY: 270 } ]
		},
		"*-broken": { 
			base: "block/egg/brokenegg",
			alternates: [ { base: "block/egg/brokenegg", rotateY: 90 }, { base: "block/egg/brokenegg", rotateY: 180 }, { base: "block/egg/brokenegg", rotateY: 270 } ]
		},
	},
	heldTpIdleAnimationByType: {
		"egg-chicken-1": "beginholditem",
		"*": "holdbothhands"
	},
	doNotRenderAtLod2: true,
	lightAbsorption: 0,
	sidesolid: { all: false },
	sideopaque: { all: false },
	replaceable: 100,
	resistance: 0.25,
	selectionbox: { x1: 0, y1: 0, x2: 1, y2: 0.125, z2: 1 },
	collisionbox: null,
	dropsByType: {
		"*-1": [ { type: "item", code: "egg-chicken-raw", quantity: { avg: 1 }  } ],
		"*-2": [ { type: "item", code: "egg-chicken-raw", quantity: { avg: 2 }  } ],
		"*-3": [ { type: "item", code: "egg-chicken-raw", quantity: { avg: 3 }  } ],
	},
	materialDensity: 300,
	guiTransformByType: {
		"egg-chicken-broken": {
			rotation: { x: -22.6, y: -20, z: 0 },
			origin: { x: 0.44, y: 0.05, z: 0.5 },
			scale: 4.9
		},
		"egg-chicken-1": {
			rotation: { x: -54, y: -20, z: 0 },
			origin: { x: 0.7, y: 0.05, z: 0.7 },
			scale: 4.9
		},
		"egg-chicken-2": {
			rotation: { x: -54, y: 29, z: 0 },
			origin: { x: 0.4, y: -0, z: 0.45 },
			scale: 4.9
		},
		"*": {
			rotation: { x: -54, y: -20, z: 0 },
			origin: { x: 0.5299, y: 0.05, z: 0.5 },
			scale: 4.9
		}
	},
	tpHandTransformByType: {
		"egg-chicken-1": {
			translation: { x: -1, y: -0.2, z: -0.6 },
			scale: 0.71
		},
		"*": {
			translation: { x: -1.3, y: -0.77, z: -0.65 },
			rotation: { x: 2, y: 1, z: -91 },
			scale: 0.71
		}
	},
}