{
	code: "trough",
	class: "BlockTrough",
	behaviors: [{name: "NWOrientable"}],	
	entityClass: "Trough",
	attributes: {
		canStep: false,
		handbook: {
			groupBy: ["trough-*-small-*"]
		},
		contentConfig: [
			{
				code: "flax",
				content: { type: "item", code: "grain-flax" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill4", "block/wood/trough/small/grainfill4"],
				textureCode: "contents-flax"
			},
			{
				code: "rice",
				content: { type: "item", code: "grain-rice" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill4", "block/wood/trough/small/grainfill4"],
				textureCode: "contents-rice"
			},
			{
				code: "rye",
				content: { type: "item", code: "grain-rye" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill4", "block/wood/trough/small/grainfill4"],
				textureCode: "contents-rye"
			},
			{
				code: "spelt",
				content: { type: "item", code: "grain-spelt" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill4", "block/wood/trough/small/grainfill4"],
				textureCode: "contents-spelt"
			},
			{
				code: "amaranth",
				content: { type: "item", code: "grain-amaranth" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill4", "block/wood/trough/small/grainfill4"],
				textureCode: "contents-amaranth"
			},
			{
				code: "sunflower",
				content: { type: "item", code: "grain-sunflower" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill4", "block/wood/trough/small/grainfill4"],
				textureCode: "contents-sunflower"
			},
			{
				code: "bellpepper",
				content: { type: "item", code: "vegetable-bellpepper" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/bellpepperfill1", "block/wood/trough/small/bellpepperfill1", "block/wood/trough/small/bellpepperfill2", "block/wood/trough/small/bellpepperfill2", "block/wood/trough/small/bellpepperfill3", "block/wood/trough/small/bellpepperfill3", "block/wood/trough/small/bellpepperfill4", "block/wood/trough/small/bellpepperfill4"]
			},
			{
				code: "cabbage",
				content: { type: "item", code: "vegetable-cabbage" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/cabbagefill1", "block/wood/trough/small/cabbagefill1", "block/wood/trough/small/cabbagefill2", "block/wood/trough/small/cabbagefill2", "block/wood/trough/small/cabbagefill3", "block/wood/trough/small/cabbagefill3", "block/wood/trough/small/cabbagefill4", "block/wood/trough/small/cabbagefill4"],
			},
						{
				code: "carrot",
				content: { type: "item", code: "vegetable-carrot" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/carrotfill1", "block/wood/trough/small/carrotfill1", "block/wood/trough/small/carrotfill2", "block/wood/trough/small/carrotfill2", "block/wood/trough/small/carrotfill3", "block/wood/trough/small/carrotfill3", "block/wood/trough/small/carrotfill4", "block/wood/trough/small/carrotfill4"]
			},
			{
				code: "cassava",
				content: { type: "item", code: "rawcassava-raw" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/cassavafill1", "block/wood/trough/small/cassavafill1", "block/wood/trough/small/cassavafill2", "block/wood/trough/small/cassavafill2", "block/wood/trough/small/cassavafill3", "block/wood/trough/small/cassavafill3", "block/wood/trough/small/cassavafill4", "block/wood/trough/small/cassavafill4"],
			},
			{
				code: "onion",
				content: { type: "item", code: "vegetable-onion" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/onionfill1", "block/wood/trough/small/onionfill1", "block/wood/trough/small/onionfill2", "block/wood/trough/small/onionfill2", "block/wood/trough/small/onionfill3", "block/wood/trough/small/onionfill3", "block/wood/trough/small/onionfill4", "block/wood/trough/small/onionfill4"]
			},
			{
				code: "parsnip",
				content: { type: "item", code: "vegetable-parsnip" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/parsnipfill1", "block/wood/trough/small/parsnipfill1", "block/wood/trough/small/parsnipfill2", "block/wood/trough/small/parsnipfill2", "block/wood/trough/small/parsnipfill3", "block/wood/trough/small/parsnipfill3", "block/wood/trough/small/parsnipfill4", "block/wood/trough/small/parsnipfill4"]
			},
			{
				code: "pumpkin",
				content: { type: "item", code: "vegetable-pumpkin" }, 
				quantityPerFillLevel: 2,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/pumpkinfill1", "block/wood/trough/small/pumpkinfill1", "block/wood/trough/small/pumpkinfill2", "block/wood/trough/small/pumpkinfill2", "block/wood/trough/small/pumpkinfill3", "block/wood/trough/small/pumpkinfill3", "block/wood/trough/small/pumpkinfill4", "block/wood/trough/small/pumpkinfill4"]
			},
			{
				code: "peanut",
				content: { type: "item", code: "legume-peanut" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/legumefill1", "block/wood/trough/small/legumefill1", "block/wood/trough/small/legumefill2", "block/wood/trough/small/legumefill2", "block/wood/trough/small/legumefill3", "block/wood/trough/small/legumefill3", "block/wood/trough/small/legumefill4", "block/wood/trough/small/legumefill4"],
				textureCode: "contents-peanut"
			},
			{
				code: "soybean",
				content: { type: "item", code: "legume-soybean" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/legumefill1", "block/wood/trough/small/legumefill1", "block/wood/trough/small/legumefill2", "block/wood/trough/small/legumefill2", "block/wood/trough/small/legumefill3", "block/wood/trough/small/legumefill3", "block/wood/trough/small/legumefill4", "block/wood/trough/small/legumefill4"],
				textureCode: "contents-soybean",
			},
			{
				code: "turnip",
				content: { type: "item", code: "vegetable-turnip" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/turnipfill1", "block/wood/trough/small/turnipfill1", "block/wood/trough/small/turnipfill2", "block/wood/trough/small/turnipfill2", "block/wood/trough/small/turnipfill3", "block/wood/trough/small/turnipfill3", "block/wood/trough/small/turnipfill4", "block/wood/trough/small/turnipfill4"]
			},
			{
				code: "fruitmash",
				content: { type: "item", code: "pressedmash-*" }, 
				quantityPerFillLevel: 1,
				maxFillLevels: 8,
				shapesPerFillLevel: ["block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill1", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill2", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill3", "block/wood/trough/small/grainfill4", "block/wood/trough/small/grainfill4"],
				textureCode: "*"
			}
		],
		unsuitableFor: [ "deer-*", "semitameddeer-*", "tameddeer-*", "goat-*", "bear-*", "gazelle-*", "hyena-*", "pig-*", "sheep-*", "wolf-*" ]
	},
	sidesolid: {
		all: false
	},
	sideopaque: {
		all: false
	},
	heldTpIdleAnimation: "holdunderarm",
	variantgroups: [
		{ code: "material", states: ["genericwood"] },
		{ code: "part", states: ["small"] },
		{ code:"side", states: ["ns", "we"]}
	],
	creativeinventory: { "general": ["*-ns"], "decorative": ["*-ns"] },
	
	shape: { base: "block/wood/trough/small/empty" },
	shapebytype: {
		"*-ns": { base: "block/wood/trough/small/empty", rotateY: 0 },
		"*-we": { base: "block/wood/trough/small/empty", rotateY: 90 },
	},
	textures: {
		"contents-flax": { 
			base: "block/food/grain/flax",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-rice": { 
			base: "block/food/grain/rice",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-rye": { 
			base: "block/food/grain/rye",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-spelt": { 
			base: "block/food/grain/spelt",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-amaranth": { 
			base: "block/food/grain/amaranth",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-sunflower": { 
			base: "block/food/grain/sunflower",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"normal-side": { base: "block/hay/normal-side" },
		"normal-top": { base: "block/hay/normal-top" },
		
		"rotoverlay": { base: "item/resource/rot/rotoverlay" },
		"rot": { base: "item/resource/rot/rot-solids" },
		"fuzz": { base: "item/resource/rot/rot-fringe" },
		"contents-pressedmash-apple": { 
			base: "block/food/pie/fill-apple",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-blueberry": { 
			base: "block/food/pie/fill-blueberry",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-cranberry": { 
			base: "block/food/pie/fill-cranberry",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-redcurrant": { 
			base: "block/food/pie/fill-redcurrant",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-whitecurrant": { 
			base: "block/food/pie/fill-whitecurrant",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-blackcurrant": { 
			base: "block/food/pie/fill-blackcurrant",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-saguaro": { 
			base: "block/food/pie/fill-saguaro",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-pineapple": { 
			base: "block/food/pie/fill-pineapple",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-redapple": { 
			base: "block/food/pie/fill-apple",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-pinkapple": { 
			base: "block/food/pie/fill-apple",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-yellowapple": { 
			base: "block/food/pie/fill-apple",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-cherry": { 
			base: "block/food/pie/fill-cherry",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-peach": { 
			base: "block/food/pie/fill-peach",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-pear": { 
			base: "block/food/pie/fill-pear",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-orange": { 
			base: "block/food/pie/fill-orange",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-mango": { 
			base: "block/food/pie/fill-mango",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-breadfruit": { 
			base: "block/food/pie/fill-breadfruit",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-lychee": { 
			base: "block/food/pie/fill-lychee",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-pressedmash-pomegranate": { 
			base: "block/food/pie/fill-pomegranate",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"bellpepper": { 
			base: "block/wood/barrel/raw-bellpepper",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"cabbage": { 
			base: "block/wood/barrel/raw-cabbage",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"carrot": { 
			base: "block/wood/barrel/raw-carrot",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"cassava": { 
			base: "block/wood/barrel/raw-cassava",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"onion": { 
			base: "block/wood/barrel/raw-onion",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"oniontop": { base: "block/plant/crop/onion/e2" },
		"parsnip": { 
			base: "block/wood/barrel/raw-parsnip",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-peanut": { 
			base: "block/wood/barrel/raw-peanut",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"pumpkin": { 
			base: "block/wood/barrel/raw-pumpkin",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"contents-soybean": { 
			base: "block/wood/barrel/raw-soybean",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"tomato": { 
			base: "block/wood/barrel/raw-tomato",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"turnip": { 
			base: "block/wood/barrel/raw-turnip",
			overlays: ["block/wood/trough/small/shadow"]
		},
		"turniptop": { base: "block/plant/crop/turnip/e2" },
	},
	blockmaterial: "Wood",
	replaceable: 550,
	resistance: 2,
	lightAbsorption: 0,
	combustibleProps: {
		burnTemperature: 600,
		burnDuration: 40,
	},
	guiTransform: {
		translation: { x: -1, y: 0, z: 0 },
		origin: { x: 0.5, y: 0.22, z: 0.5 },
		scale: 1.53
	},
	tpHandTransform: {
		translation: { x: -0.5, y: -0.3, z: -0.01 },
		rotation: { x: 85, y: 1, z: 0 },
		scale: 0.88
	},
	groundTransform: {
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 2.5
	},
	collisionselectionbox: { 
		x1: 0.25, y1: 0, z1: 0.0625, x2: 0.75, y2: 0.25, z2: 0.9375, rotateYByType: 
		{
			"*-ns": 90,
			"*-we": 0,
		}
	},	
	sounds: {
		"place": "block/planks",
		"hit": "block/planks",
		"break": "block/planks",
		"walk": "walk/wood"
	},
	materialDensity: 600
}
