{
	code: "ciderportion",
	variantGroups: [
		{ code: "fruit", loadFromProperties: "block/fruit", states: ["apple", "mead", "spelt", "rice", "rye", "amaranth", "cassava" ] },
	],
	skipVariants: [
		"*-pinkapple", 
		"*-redapple", 
		"*-yellowapple", 
		"*-olive",
		"*-plumnatal",
		"*-guava",
		"*-gooseberry",
		"*-kumquat",
		"*-cactusfruit"
	],
	class: "ItemLiquidPortion",
	matterState: "liquid",
	attributes: {
		handbook: {
			ignoreCreativeInvStacks: true,
			groupBy: ["ciderportion-*"]
		},
		distillationPropsbytype: {
			"ciderportion-mead": {
				distilledStack: { type: "item", code: "spiritportion-mead" }, 
				ratio: 0.05 
			},
			"ciderportion-spelt": {
				distilledStack: { type: "item", code: "spiritportion-spelt" }, 
				ratio: 0.05 
			},
			"ciderportion-rice": {
				distilledStack: { type: "item", code: "spiritportion-rice" }, 
				ratio: 0.05 
			},
			"ciderportion-rye": {
				distilledStack: { type: "item", code: "spiritportion-rye" }, 
				ratio: 0.05 
			},
			"ciderportion-amaranth": {
				distilledStack: { type: "item", code: "spiritportion-amaranth" }, 
				ratio: 0.05 
			},
			"ciderportion-cassava": {
				distilledStack: { type: "item", code: "spiritportion-cassava" }, 
				ratio: 0.05 
			},			
			"*": {
				distilledStack: { type: "item", code: "spiritportion-{fruit}" },
				ratio: 0.1
			}
		},
		waterTightContainerProps: {
			containable: true,
			itemsPerLitre: 100,
			texturebytype: {
				"*-mead": { base: "block/liquid/honey", alpha: 180 },
				"*-spelt": { base: "block/food/pie/fill-fish", alpha: 180 },
				"*-rice": { base: "block/food/dairy/milk", alpha: 180 },
				"*-rye": { base: "block/food/pie/fill-gooseberry", alpha: 180 },
				"*-amaranth": { base: "block/food/pie/fill-poultry", alpha: 180 },
				"*-cassava": { base: "block/food/pie/fill-cassava", alpha: 180 },
				"*-breadfruit": { base: "block/food/pie/fill-breadfruit", alpha: 180 },
				"*": { base: "block/food/pie/fill-{fruit}", alpha: 180 }
			},
			allowSpill: true,
			whenSpilled: { 
				action: "DropContents",
				stack: { type: "item", code: "ciderportion-{fruit}", states: ["apple", "mead", "spelt", "rice", "rye", "amaranth", "cassava"] } 
			},
			nutritionPropsPerLitre: {
				satiety: 80,
				intoxication: 0.15,
				foodcategorybytype: {
					"*-spelt": "Grain",
					"*-rice": "Grain",
					"*-rye": "Grain",
					"*-amaranth": "Grain",
					"*-cassava": "Grain",
					"*-breadfruit": "Grain",
					"*": "Fruit"
				}
			}
		}
	},
	shape: { base: "item/liquid" },
	texturebytype: {
		"*-mead": { base: "block/liquid/honey", alpha: 180 },
		"*-spelt": { base: "block/food/pie/fill-fish", alpha: 180 },
		"*-rice": { base: "block/food/dairy/milk", alpha: 180 },
		"*-rye": { base: "block/food/pie/fill-gooseberry", alpha: 180 },
		"*-amaranth": { base: "block/food/pie/fill-poultry", alpha: 180 },
		"*-cassava": { base: "block/food/pie/fill-cassava", alpha: 180 },
		"*-breadfruit": { base: "block/food/pie/fill-breadfruit", alpha: 180 },
		"*": { base: "block/food/pie/fill-{fruit}", alpha: 180 }
	},
	creativeinventoryStacks: [ { tabs: ["general", "liquids"], stacks: [ { type: "block", code: "woodbucket", attributes: { ucontents: [ { type:"item", code: "ciderportion-{fruit}", states: ["mead", "spelt", "rice", "rye", "amaranth", "cassava" ], makefull: true } ] } } ] } ],
	maxstacksize: 5000,
	materialDensity: 200,
	guiTransform: {
		translation: { x: 0, y: 1, z: 0 },
		rotation: { x: 123, y: -33, z: -13 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 1.4
	},
	tpHandTransform: {
		translation: { x: -1.5, y: -1, z: -1.4 }
	},
	transitionableProps: [{
		type: "Perish",
		freshHours: { avg: 3360 },
		transitionHours: { avg: 48 },
		transitionedStack: { type: "item", code: "rot" },
		transitionRatio: 0.005
	}],
}
