{
	code: "crop",
	class: "BlockCrop",
	behaviors: [{name: "Unstable"}],
	variantgroups: [
		{ code: "type", states: ["amaranth"] },
		{ code: "stage", states: ["1", "2", "3", "4", "5", "6", "7", "8", "9"] },
	],
	creativeinventory: { "general": [""], "plants": [""] },
	renderpass: "OpaqueNoCull",
	shapeByType: {
	 "*-9": { base: "block/plant/crop/tallcrossdense" },
	 "*-8": { base: "block/plant/crop/tallcrossdense" },
	 "*-7": { base: "block/plant/crop/tallcrossdense" },
	 "*-6": { base: "block/plant/crop/tallcrossdense" },
	 "*": { base: "block/plant/crop/crossdense" }
	},
	blockmaterial: "Plant",
	randomizeRotations: true,
	randomDrawOffset: true,
	textures: {
		"0": { base: "block/plant/crop/{type}/e{stage}" },
		"1": { base: "block/plant/crop/{type}/w{stage}" }
	},
	attributes: {
		foodTagsByType: {
			"*-1": ["nibbleCrop"],
			"*-2": ["nibbleCrop"],
			"*-3": ["nibbleCrop"]
		},
		butterflyFeedByType: {
			"*-1": false,
			"*-2": false,
			"*-3": false,
			"*": true
		},
		beeFeedByType: {
			"*-1": false,
			"*-2": false,
			"*-3": false,
			"*": true
		},
		sitHeightByType: {
			"*-4": 0.7,
			"*-5": 0.9,
			"*-6": 1.1,
			"*-7": 1.3,
			"*-8": 1.5,
			"*-9": 1.7
		},
		tickGrowthProbability: 0.05,
		handbook: {
			includeByType: {
				"*-9": true,
				"*": false
			}
		},
		overrideRandomDrawOffset: 14
	},
	sideopaque: {
		all: false
	},
	sidesolid: {
		all: false
	},
	replaceable: 3000,
	lightAbsorption: 0,
	resistance: 0.5,
	sounds: {
		place: "block/plant",
		break: "block/plant",
		hit: "block/plant"
	},
	rainPermeable: false,
	dropsByType: {
		"*-8": [
			{ type: "item", code: "seeds-amaranth", quantity: { avg: 1 }  },
			{ type: "item", code: "grain-amaranth", quantity: { avg: 2, var: 0.5 }  },
		],
		"*-9": [
			{ type: "item", code: "seeds-amaranth", quantity: { avg: 1.2 }  },
			{ type: "item", code: "grain-amaranth", quantity: { avg: 3, var: 0.5 }  },
		],
		"*": [
			{ type: "item", code: "seeds-amaranth", quantity: { avg: 0.7 }  },
		]
	},
	cropProps: {
		// This study showed that Grade A fertilizer at 100 kg N/ha gave the best performances in all the Amaranthus caudatus growth parameters. - https://www.hindawi.com/journals/aag/2014/947062/   But other studies show too much N makes the plant too 'leggy' and difficult to harvest
		requiredNutrient: "N",
		nutrientConsumption: 15,
		growthStages: 9,
		totalGrowthMonths: 2,
		coldDamageBelow: 6,
		heatDamageAbove: 42,
	},
	collisionbox: null,
	selectionBoxByType: {
		"*-1": { x1: 0.125, y1: -0.0625, z1: 0.125, x2: 0.875, y2: 0.175, z2: 0.875 },
		"*-2": { x1: 0.125, y1: -0.0625, z1: 0.125, x2: 0.875, y2: 0.3, z2: 0.875 },
		"*-3": { x1: 0.125, y1: -0.0625, z1: 0.125, x2: 0.875, y2: 0.45, z2: 0.875 },
		"*-4": { x1: 0.125, y1: -0.0625, z1: 0.125, x2: 0.875, y2: 0.625, z2: 0.875 },
		"*-5": { x1: 0.125, y1: -0.0625, z1: 0.125, x2: 0.875, y2: 0.875, z2: 0.875 },
		"*-6": { x1: 0.125, y1: -0.0625, z1: 0.125, x2: 0.875, y2: 1.0, z2: 0.875 },
		"*-7": { x1: 0.125, y1: -0.0625, z1: 0.125, x2: 0.875, y2: 1.25, z2: 0.875 },
		"*-8": { x1: 0.125, y1: -0.0625, z1: 0.125, x2: 0.875, y2: 1.5, z2: 0.875 },
		"*-9": { x1: 0.115, y1: -0.0625, z1: 0.115, x2: 0.885, y2: 1.75, z2: 0.885 }
	},
	materialDensity: 200,
	combustibleProps: {
		burnTemperature: 600,
		burnDuration: 10,
	},
	frostable: true
}
