{
	code: "trough",
	class: "BlockTroughDoubleBlock",
	entityClassByType: {
		"*-head-*": "Trough"
	},
	attributes: {
		canStep: false,
		handbook: {
			groupBy: ["trough-*-large-*"]
		},
		contentConfig: [
			{
				code: "flax",
				content: { type: "item", code: "grain-flax" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill4", "block/wood/trough/large/grainfill4"],
				textureCode: "contents-flax"
			},
			{
				code: "rice",
				content: { type: "item", code: "grain-rice" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill4", "block/wood/trough/large/grainfill4"],
				textureCode: "contents-rice"
			},
			{
				code: "rye",
				content: { type: "item", code: "grain-rye" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill4", "block/wood/trough/large/grainfill4"],
				textureCode: "contents-rye"
			},
			{
				code: "spelt",
				content: { type: "item", code: "grain-spelt" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill4", "block/wood/trough/large/grainfill4"],
				textureCode: "contents-spelt"
			},
			{
				code: "amaranth",
				content: { type: "item", code: "grain-amaranth" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill4", "block/wood/trough/large/grainfill4"],
				textureCode: "contents-amaranth"
			},
			{
				code: "sunflower",
				content: { type: "item", code: "grain-sunflower" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill4", "block/wood/trough/large/grainfill4"],
				textureCode: "contents-sunflower"
			},
			{
				code: "bellpepper",
				content: { type: "item", code: "vegetable-bellpepper" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/bellpepperfill1", "block/wood/trough/large/bellpepperfill1", "block/wood/trough/large/bellpepperfill2", "block/wood/trough/large/bellpepperfill2", "block/wood/trough/large/bellpepperfill3", "block/wood/trough/large/bellpepperfill3", "block/wood/trough/large/bellpepperfill4", "block/wood/trough/large/bellpepperfill4"]
			},
			{
				code: "cabbage",
				content: { type: "item", code: "vegetable-cabbage" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/cabbagefill1", "block/wood/trough/large/cabbagefill1", "block/wood/trough/large/cabbagefill2", "block/wood/trough/large/cabbagefill2", "block/wood/trough/large/cabbagefill3", "block/wood/trough/large/cabbagefill3", "block/wood/trough/large/cabbagefill4", "block/wood/trough/large/cabbagefill4"],
			},
			{
				code: "carrot",
				content: { type: "item", code: "vegetable-carrot" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/carrotfill1", "block/wood/trough/large/carrotfill1", "block/wood/trough/large/carrotfill2", "block/wood/trough/large/carrotfill2", "block/wood/trough/large/carrotfill3", "block/wood/trough/large/carrotfill3", "block/wood/trough/large/carrotfill4", "block/wood/trough/large/carrotfill4"]
			},
			{
				code: "cassava",
				content: { type: "item", code: "rawcassava-raw" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/cassavafill1", "block/wood/trough/large/cassavafill1", "block/wood/trough/large/cassavafill2", "block/wood/trough/large/cassavafill2", "block/wood/trough/large/cassavafill3", "block/wood/trough/large/cassavafill3", "block/wood/trough/large/cassavafill4", "block/wood/trough/large/cassavafill4"],
			},
			{
				code: "onion",
				content: { type: "item", code: "vegetable-onion" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/onionfill1", "block/wood/trough/large/onionfill1", "block/wood/trough/large/onionfill2", "block/wood/trough/large/onionfill2", "block/wood/trough/large/onionfill3", "block/wood/trough/large/onionfill3", "block/wood/trough/large/onionfill4", "block/wood/trough/large/onionfill4"]
			},
			{
				code: "parsnip",
				content: { type: "item", code: "vegetable-parsnip" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/parsnipfill1", "block/wood/trough/large/parsnipfill1", "block/wood/trough/large/parsnipfill2", "block/wood/trough/large/parsnipfill2", "block/wood/trough/large/parsnipfill3", "block/wood/trough/large/parsnipfill3", "block/wood/trough/large/parsnipfill4", "block/wood/trough/large/parsnipfill4"]
			},
			{
				code: "pumpkin",
				content: { type: "item", code: "vegetable-pumpkin" }, 
				quantityPerFillLevel: 4,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/pumpkinfill1", "block/wood/trough/large/pumpkinfill1", "block/wood/trough/large/pumpkinfill2", "block/wood/trough/large/pumpkinfill2", "block/wood/trough/large/pumpkinfill3", "block/wood/trough/large/pumpkinfill3", "block/wood/trough/large/pumpkinfill4", "block/wood/trough/large/pumpkinfill4"]
			},
			{
				code: "peanut",
				content: { type: "item", code: "legume-peanut" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/legumefill1", "block/wood/trough/large/legumefill1", "block/wood/trough/large/legumefill2", "block/wood/trough/large/legumefill2", "block/wood/trough/large/legumefill3", "block/wood/trough/large/legumefill3", "block/wood/trough/large/legumefill4", "block/wood/trough/large/legumefill4"],
				textureCode: "contents-peanut"
			},
			{
				code: "soybean",
				content: { type: "item", code: "legume-soybean" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/legumefill1", "block/wood/trough/large/legumefill1", "block/wood/trough/large/legumefill2", "block/wood/trough/large/legumefill2", "block/wood/trough/large/legumefill3", "block/wood/trough/large/legumefill3", "block/wood/trough/large/legumefill4", "block/wood/trough/large/legumefill4"],
				textureCode: "contents-soybean",
			},
			{
				code: "turnip",
				content: { type: "item", code: "vegetable-turnip" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/turnipfill1", "block/wood/trough/large/turnipfill1", "block/wood/trough/large/turnipfill2", "block/wood/trough/large/turnipfill2", "block/wood/trough/large/turnipfill3", "block/wood/trough/large/turnipfill3", "block/wood/trough/large/turnipfill4", "block/wood/trough/large/turnipfill4"]
			},
			{
				code: "drygrass",
				content: { type: "item", code: "drygrass" }, 
				quantityPerFillLevel: 8,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/hayfill1", "block/wood/trough/large/hayfill1", "block/wood/trough/large/hayfill2", "block/wood/trough/large/hayfill2", "block/wood/trough/large/hayfill3", "block/wood/trough/large/hayfill3", "block/wood/trough/large/hayfill4", "block/wood/trough/large/hayfill4"]
			},
			{
				code: "hay",
				content: { type: "block", code: "hay-normal-ud" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/hayfill1", "block/wood/trough/large/hayfill1", "block/wood/trough/large/hayfill2", "block/wood/trough/large/hayfill2", "block/wood/trough/large/hayfill3", "block/wood/trough/large/hayfill3", "block/wood/trough/large/hayfill4", "block/wood/trough/large/hayfill4"]
			},
			{
				code: "fruitmash",
				content: { type: "item", code: "pressedmash-*" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill1", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill2", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill3", "block/wood/trough/large/grainfill4", "block/wood/trough/large/grainfill4"],
				textureCode: "*"
			}
		],
		unsuitableFor: [ "chicken-*", "hare-*", "fox-*", "raccoon-*" ]
	},
	sidesolid: {
		all: false
	},
	sideopaque: {
		all: false
	},
	heldTpIdleAnimation: "holdunderarm",
	variantgroups: [
		{ code: "material", states: ["genericwood"] },
		{ code: "part", states: ["large-head", "large-feet"] },
		{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
	],
	creativeinventory: { "general": ["*-head-north"], "decorative": ["*-head-north"] },
	shapeinventory: { base: "block/wood/trough/large/inventory" },
	shapebytype: {
		"*-head-north": { base: "block/wood/trough/large/empty", rotateY: 90 },
		"*-head-east": { base: "block/wood/trough/large/empty", rotateY: 0 },
		"*-head-south": { base: "block/wood/trough/large/empty", rotateY: 270 },
		"*-head-west": { base: "block/wood/trough/large/empty", rotateY: 180 },
		
		"*-feet-north": { base: "block/wood/trough/large/empty", rotateY: 270 },
		"*-feet-east": { base: "block/wood/trough/large/empty", rotateY: 180 },
		"*-feet-south": { base: "block/wood/trough/large/empty", rotateY: 90 },
		"*-feet-west": { base: "block/wood/trough/large/empty", rotateY: 0 },
	},
	textures: {
		"contents-flax": { 
			base: "block/food/grain/flax",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-rice": { 
			base: "block/food/grain/rice",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-rye": { 
			base: "block/food/grain/rye",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-spelt": { 
			base: "block/food/grain/spelt",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-amaranth": { 
			base: "block/food/grain/amaranth",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-sunflower": { 
			base: "block/food/grain/sunflower",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-aubergine": { 
			base: "block/wood/barrel/raw-aubergine",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"bellpepper": { 
			base: "block/wood/barrel/raw-bellpepper",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"cabbage": { 
			base: "block/wood/barrel/raw-cabbage",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"carrot": { 
			base: "block/wood/barrel/raw-carrot",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"cassava": { 
			base: "block/wood/barrel/raw-cassava",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"onion": { 
			base: "block/wood/barrel/raw-onion",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"oniontop": { base: "block/plant/crop/onion/e2" },
		"parsnip": { 
			base: "block/wood/barrel/raw-parsnip",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-peanut": { 
			base: "block/wood/barrel/raw-peanut",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"pumpkin": { 
			base: "block/wood/barrel/raw-pumpkin",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-soybean": { 
			base: "block/wood/barrel/raw-soybean",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"tomato": { 
			base: "block/wood/barrel/raw-tomato",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"turnip": { 
			base: "block/wood/barrel/raw-turnip",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"turniptop": { base: "block/plant/crop/turnip/e2" },
		"singlehay": { base: "block/wood/trough/large/singlehay" },
		"singlehay2": { base: "block/wood/trough/large/singlehay2" },
		"normal-side": { base: "block/hay/normal-side" },
		"normal-top": { base: "block/hay/normal-top" },
		"contents-pressedmash-apple": { 
			base: "block/food/pie/fill-apple",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-blueberry": { 
			base: "block/food/pie/fill-blueberry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-cranberry": { 
			base: "block/food/pie/fill-cranberry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-redcurrant": { 
			base: "block/food/pie/fill-redcurrant",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-whitecurrant": { 
			base: "block/food/pie/fill-whitecurrant",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-blackcurrant": { 
			base: "block/food/pie/fill-blackcurrant",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-saguaro": { 
			base: "block/food/pie/fill-saguaro",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-pineapple": { 
			base: "block/food/pie/fill-pineapple",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-redapple": { 
			base: "block/food/pie/fill-apple",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-pinkapple": { 
			base: "block/food/pie/fill-apple",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-yellowapple": { 
			base: "block/food/pie/fill-apple",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-cherry": { 
			base: "block/food/pie/fill-cherry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-peach": { 
			base: "block/food/pie/fill-peach",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-pear": { 
			base: "block/food/pie/fill-pear",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-orange": { 
			base: "block/food/pie/fill-orange",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-mango": { 
			base: "block/food/pie/fill-mango",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-breadfruit": { 
			base: "block/food/pie/fill-breadfruit",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-lychee": { 
			base: "block/food/pie/fill-lychee",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-pomegranate": { 
			base: "block/food/pie/fill-pomegranate",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-beautyberry": { 
			base: "block/food/pie/fill-beautyberry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-blackberry": { 
			base: "block/food/pie/fill-blackberry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-cactusfruit": { 
			base: "block/food/pie/fill-cactusfruit",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-cloudberry": { 
			base: "block/food/pie/fill-cloudberry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-gooseberry": { 
			base: "block/food/pie/fill-gooseberry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-guava": { 
			base: "block/food/pie/fill-guava",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-kumquat": { 
			base: "block/food/pie/fill-kumquat",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-plumnatal": { 
			base: "block/food/pie/fill-plumnatal",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-raspberry": { 
			base: "block/food/pie/fill-raspberry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-strawberry": { 
			base: "block/food/pie/fill-strawberry",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"contents-pressedmash-olive": { 
			base: "block/food/pie/fill-olive",
			overlays: ["block/wood/trough/large/shadow"]
		},
		"rotoverlay": { base: "item/resource/rot/rotoverlay" },
		"rot": { base: "item/resource/rot/rot-solids" },
		"fuzz": { base: "item/resource/rot/rot-fringe" }
	},
	blockmaterial: "Wood",
	replaceable: 550,
	resistance: 2,
	lightAbsorption: 0,
	combustibleProps: {
		burnTemperature: 600,
		burnDuration: 40,
	},
	guiTransform: {
		translation: { x: -1, y: 2, z: 0 },
		origin: { x: 1, y: 0.3, z: 0.5 },
		scale: 1.04
	},
	tpHandTransform: {
		translation: { x: -0.3, y: -0.4, z: -0.4 },
		rotation: { x: 85, y: 0, z: 0 },
		scale: 0.6
	},
	groundTransform: {
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 2.5
	},
	selectionbox: { 
		x1: 0.125, y1: 0, z1: 0, x2: 0.875, y2: 0.5625, z2: 0.8125, rotateYByType: 
		{
			"*-feet-north": 180,
			"*-feet-east": 90,
			"*-feet-south": 0,
			"*-feet-west": 270,
			
			"*-head-north": 0,
			"*-head-east": 270,
			"*-head-south": 180,
			"*-head-west": 90,
		}
	},
	collisionbox: { 
		x1: 0.125, y1: 0, z1: 0, x2: 0.875, y2: 0.5625, z2: 0.8125, rotateYByType: 
		{
			"*-feet-north": 180,
			"*-feet-east": 90,
			"*-feet-south": 0,
			"*-feet-west": 270,
			
			"*-head-north": 0,
			"*-head-east": 270,
			"*-head-south": 180,
			"*-head-west": 90,
		}
	},	
	sounds: {
		"place": "block/planks",
		"hit": "block/planks",
		"break": "block/planks",
		"walk": "walk/wood"
	},
	materialDensity: 600
}
