{
	code: "claypot",
	classByType: {
		"*-fired": "BlockCookingContainer",
		"*-cooked": "BlockCookedContainer"
	},
	entityclassByType: {
		"*-cooked": "CookedContainer"
	},
	behaviors: [
		{ name: "GroundStorable", properties: { layout: 'Quadrants', collisionBox: { x1: 0, y1: 0, z1: 0, x2: 1, y2: 0.125, z2: 1 } } },
		{ name: "Unplaceable", }, // The ground storable obsoletes this being a block. Should be an item, but is kept a block for backwards compatibility
	],
	heldTpIdleAnimation: "holdbothhandslarge",
	heldTpUseAnimation: "twohandplaceblock",
	variantgroups: [
		{ code: "color", states: ["blue", "fire", "black", "brown", "cream", "earthyorange", "gray", "orange", "red", "tan" ] },
		{ code: "type", states: ["fired", "cooked"] },
	],
	shape: { base: "block/clay/pot-opened-empty" },
	textures: {
		"transparent": { base: "block/transparent" },
		"ceramic": { base: "block/clay/pot/{color}" },
		"dark": { base: "block/clay/hardened/{color}", overlays: [ "block/clay/overlay/dark" ] },
		"lid": { base: "block/clay/hardened/{color}", overlays: [ "block/clay/overlay/crock" ] },
		"group1": { base: "block/food/meal/group1-flax-carrot-blueberry-cottagecheese-fish" },
		"group2": { base: "block/food/meal/group2-soup-flyagaric-cactifruit-redmeat" },
		"group3": { base: "block/food/meal/group3-millet-bolete-cranberry-poultry" },
		"group4": { base: "block/food/meal/group4-rice-parsnip-whitecurrant-bluecheese-fishstew" },
		"group5": { base: "block/food/meal/group5-rye-turnip-blackcurrant-cheddarcheese-poultrystew" },
		"group6": { base: "block/food/meal/group6-spelt-onion-redcurrant-egg-redmeatstew" },
		"group7": { base: "block/food/meal/group7-honey-fieldmushroom-pineapple-scrambledegg-bushmeat" },
		"group8": { base: "block/food/meal/group8-amaranth-pumpkin-bellpepper-bushmeatstew" },
		"group9": { base: "block/food/meal/group9-sunflower-soya" },
		"group10": { base: "block/food/meal/group10-cabbage" },
		"group11": { base: "block/food/meal/group11-cassava" },
		"group12": { base: "block/food/meal/group12-peanut" },
		"group13": { base: "block/food/meal/group13-aubergine" },
		"group14": { base: "block/food/meal/group14-tomato" },
		"group15": { base: "block/food/meal/group15-walnut" },
		"group17": { base: "block/food/meal/group17-olive" },
		"group28": { base: "block/food/meal/group28-fennel" },
		"honey": { base: "block/liquid/honey" },
		"fruit-redapple": { base: "block/food/pie/fill-apple" },
		"fruit-pinkapple": { base: "block/food/pie/fill-apple" },
		"fruit-yellowapple": { base: "block/food/pie/fill-apple" },
		"fruit-cherry": { base: "block/food/pie/fill-cherry" },
		"fruit-peach": { base: "block/food/pie/fill-peach" },
		"fruit-pear": { base: "block/food/pie/fill-pear" },
		"fruit-orange": { base: "block/food/pie/fill-orange" },
		"fruit-mango": { base: "block/food/pie/fill-mango" },
		"fruit-pomegranate": { base: "block/food/pie/fill-pomegranate" },
		"fruit-lychee": { base: "block/food/pie/fill-lychee" },
		"fruit-breadfruit": { base: "block/food/pie/fill-breadfruit" },
		"fruit-beautyberry": { base: "block/food/pie/fill-beautyberry" },
		"fruit-blackberry": { base: "block/food/pie/fill-blackberry" },
		"fruit-cactusfruit": { base: "block/food/pie/fill-cactusfruit" },
		"fruit-cloudberry": { base: "block/food/pie/fill-cloudberry" },
		"fruit-gooseberry": { base: "block/food/pie/fill-gooseberry" },
		"fruit-guava": { base: "block/food/pie/fill-guava" },
		"fruit-kumquat": { base: "block/food/pie/fill-kumquat" },
		"fruit-plumnatal": { base: "block/food/pie/fill-plumnatal" },
		"fruit-raspberry": { base: "block/food/pie/fill-raspberry" },
		"fruit-strawberry": { base: "block/food/pie/fill-strawberry" },

		"rot-solids": { base: "item/resource/rot/rot-solids" },
		"rot-spill": { base: "item/resource/rot/rot-spill" },

		"milkportion": { base: "block/food/dairy/milk" },
		"cottagecheeseportion": { base: "block/food/dairy/cottagecheese" },
		"glue-hot": { base: "block/liquid/glue-hot" },
		"glue-cold": { base: "block/liquid/glue-cold" }
	},
	attributes: {
		tempGlowMode: 1,
		shelvable: true,
		mealContainer: true,
		attachmentArea: { x1: 4, y1: 0, z1: 4, x2: 11, y2: 0, z2: 11 },
		servingCapacity: 6,
		storageType: 1,
		maxTemperature: 200,
		mealBlockCode: "claypot-{color}-cooked",
		attachShape: { base: "item/wearable/hooved/cookpot" },
		wearableAttachment: true,
		wearableCategoryCode: "frontrightside",
		attachableToEntity: {
			categoryCode: "pot",
			texturePrefixCode: "cookpot-{color}-{type}",
			attachedShapeBySlotCode: {
				"frontrightside": { base: "item/wearable/hooved/elk/cookpotr" },
				"frontleftside": { base: "item/wearable/hooved/elk/cookpotl" }
			}
		},
		inFirePitProps: {
			transform: {
				translation: { x: 0, y: 0.125, z: 0 }
			},
			useFirepitModel: "Wide"
		},
		onTongTransform: {
			translation: { x: -1.23, y: -0.9, z: -0.51 },
			rotation: { x: 5, y: 0, z: 72 },
			scale: 0.8
		},
		handbook: {
			groupBy: ["claypot-*-{type}"]
		},
		onMetalTongTransform: {
			translation: { x: -1.02, y: -0.61, z: -0.51 },
			rotation: { x: -6, y: 0, z: 76 },
			origin: { x: 0.5, y: 0.3, z: 0.5 },
			scale: 0.9
		}
	},
	attributesByType: {
		"*-fired": {
			cookingContainerSlots: 4,
			maxContainerSlotStackSize: 6,
			dirtiedBlockCode: "dirtyclaypot-{color}-cooked",
		},
		"claypot-blue-cooked": {
			emptiedBlockCode: "claypot-blue-fired",
			allowHeating: true,
			handleCookingContainerInteract: true,
			textureMapping: {
				"grain-flax": ["grain", "group1" ],
				"vegetable-carrot": ["vegetable", "group1"],
				"pickledvegetable-carrot": ["vegetable", "group1"],
				"fruit-blueberry": ["fruit", "group1"],

				"fruit-saguaro": ["fruit", "group2"],
				"waterportion": ["water", "group2"],

				"grain-millet": ["grain", "group3"],
				"fruit-cranberry": ["fruit", "group3"],

				"grain-rice": ["grain", "group4"],
				"vegetable-parsnip": ["vegetable", "group4"],
				"pickledvegetable-parsnip": ["vegetable", "group4"],
				"fruit-whitecurrant": ["fruit", "group4"],
				"cheese-blue-1slice": ["cheese", "group4"],
				"fish-raw": ["meat", "group4"],
				"fish-cured": ["meat", "group4"],

				"grain-rye": ["grain", "group5"],
				"vegetable-turnip": ["vegetable", "group5"],
				"pickledvegetable-turnip": ["vegetable", "group5"],
				"fruit-blackcurrant": ["fruit", "group5"],
				"poultry-raw": ["meat", "group5"],
				"poultry-cured": ["meat", "group5"],
				"cheese-cheddar-1slice": ["cheese", "group5"],

				"grain-spelt": ["grain", "group6"],
				"vegetable-onion": ["vegetable", "group6"],
				"pickledvegetable-onion": ["vegetable", "group6"],
				"fruit-redcurrant": ["fruit", "group6"],
				"redmeat-raw": ["meat", "group6"],
				"redmeat-cured": ["meat", "group6"],
				"egg-chicken-raw": ["egg", "group6"],

				"fruit-pineapple": ["fruit", "group7"],

				"grain-amaranth": ["grain", "group8"],
				"pumpkin-fruit-4": ["vegetable", "group8"],
				"vegetable-pumpkin": ["vegetable", "group8"],
				"vegetable-bellpepper": ["fruit", "group8"],
				"pickledvegetable-bellpepper": ["fruit", "group8"],
				"pickledvegetable-pumpkin": ["vegetable", "group8"],

				"grain-sunflower": ["grain", "group9"],
				"legume-soybean": ["vegetable", "group9"],
				"legume-peanut": ["vegetable", "group12"],

				"pickledlegume-soybean": ["vegetable", "group9"],

				"vegetable-cabbage": ["vegetable", "group10"],
				"pickledvegetable-cabbage": ["vegetable", "group10"],
				"vegetable-olive": ["vegetable", "group17"],
				"pickledvegetable-olive": ["vegetable", "group17"],
				"vegetable-fennel": ["vegetable", "group28"],
				"pickledvegetable-fennel": ["vegetable", "group28"],

				"vegetable-cassava": ["vegetable", "group11"],

				"honeyportion": ["topping", "honey"],
				"jamhoneyportion": ["topping", "honey"],

				"milkportion": ["liquid", "milkportion"],
				"cottagecheeseportion": ["liquid", "cottagecheeseportion"],

				"glueportion-pitch-hot": ["liquid", "glue-hot"],
				"glueportion-pitch-cold": ["liquid", "glue-cold"],

				"fruit-pomegranate": ["fruit", "fruit-pomegranate"],
				"fruit-lychee": ["fruit", "fruit-lychee"],
				"fruit-breadfruit": ["fruit", "fruit-breadfruit"],
				"fruit-redapple": ["fruit", "fruit-redapple"],
				"fruit-pinkapple": ["fruit", "fruit-pinkapple"],
				"fruit-yellowapple": ["fruit", "fruit-yellowapple"],
				"fruit-cherry": ["fruit", "fruit-cherry"],
				"fruit-peach": ["fruit", "fruit-peach"],
				"fruit-pear": ["fruit", "fruit-pear"],
				"fruit-orange": ["fruit", "fruit-orange"],
				"fruit-mango": ["fruit", "fruit-mango"],
				"fruit-beautyberry": ["fruit", "fruit-beautyberry"],
				"fruit-blackberry": ["fruit", "fruit-blackberry"],
				"fruit-cactusfruit": ["fruit", "fruit-cactusfruit"],
				"fruit-cloudberry": ["fruit", "fruit-cloudberry"],
				"fruit-gooseberry": ["fruit", "fruit-gooseberry"],
				"fruit-guava": ["fruit", "fruit-guava"],
				"fruit-kumquat": ["fruit", "fruit-kumquat"],
				"fruit-plumnatal": ["fruit", "fruit-plumnatal"],
				"fruit-raspberry": ["fruit", "fruit-raspberry"],
				"fruit-strawberry": ["fruit", "fruit-strawberry"],

				"mushroom-fieldmushroom-normal": ["vegetable", "group7"],
				"mushroom-flyagaric-normal": ["vegetable", "group2"],

				"mushroom-almondmushroom-normal": ["vegetable", "group3"],
				"mushroom-beardedtooth-normal-north": ["vegetable", "group7"],
				"mushroom-bitterbolete-normal": ["vegetable", "group3"],
				"mushroom-blacktrumpet-normal": ["vegetable", "group3"],
				"mushroom-chanterelle-normal": ["vegetable", "group3"],
				"mushroom-chickenofthewoods-normal-north": ["vegetable", "group3"],
				"mushroom-commonmorel-normal": ["vegetable", "group3"],
				"mushroom-deathcap-normal": ["vegetable", "group7"],
				"mushroom-devilstooth-normal": ["vegetable", "group3"],
				"mushroom-devilbolete-normal": ["vegetable", "group3"],
				"mushroom-dryadsaddle-normal-north": ["vegetable", "group3"],
				"mushroom-earthball-normal": ["vegetable", "group7"],
				"mushroom-elfinsaddle-normal": ["vegetable", "group3"],
				"mushroom-golddropmilkcap-normal": ["vegetable", "group3"],
				"mushroom-greencrackedrussula-normal": ["vegetable", "group3"],
				"mushroom-indigomilkcap-normal": ["vegetable", "group3"],
				"mushroom-jackolantern-normal": ["vegetable", "group3"],
				"mushroom-kingbolete-normal": ["vegetable", "group3"],
				"mushroom-lobster-normal": ["vegetable", "group3"],
				"mushroom-orangeoakbolete-normal": ["vegetable", "group3"],
				"mushroom-paddystraw-normal": ["vegetable", "group7"],
				"mushroom-pinkoyster-normal-north": ["vegetable", "group7"],
				"mushroom-puffball-normal": ["vegetable", "group7"],
				"mushroom-redwinecap-normal": ["vegetable", "group3"],
				"mushroom-saffronmilkcap-normal": ["vegetable", "group3"],
				"mushroom-tinderhoof-normal-north": ["vegetable", "group7"],
				"mushroom-violetwebcap-normal": ["vegetable", "group3"],
				"mushroom-whiteoyster-normal-north": ["vegetable", "group7"],

				"mushroom-reishi-normal-north": ["vegetable", "group7"],
				"mushroom-funeralbell-normal-north": ["vegetable", "group7"],
				"mushroom-deerear-normal-north": ["vegetable", "group7"],
				"mushroom-livermushroom-normal-north": ["vegetable", "group7"],
				"mushroom-pinkbonnet-normal-north": ["vegetable", "group7"],
				"mushroom-shiitake-normal-north": ["vegetable", "group7"],
				"mushroom-witchhat-normal": ["vegetable", "group7"]
			}
		},
		"*-cooked": {
			emptiedBlockCode: "claypot-{color}-fired",
			allowHeating: true,
			handleCookingContainerInteract: true
		}
	},
	doNotRenderAtLod2: true,
	blockmaterial: "Ceramic",
	creativeinventory: { "general": ["*-fired"], "decorative": ["*-fired"] },
	replaceable: 400,
	resistance: 1.5,
	maxStackSizeByType: {
		"*-cooked": 1,
		"*": 8
	},
	lightAbsorption: 0,
	sounds: {
		walk: "walk/stone"
	},
	sideopaque: {
		all: false
	},
	sidesolid: {
		all: false
	},
	collisionbox: { x1: 0.28, y1: 0, z1: 0.28, x2: 0.72, y2: 0.3125, z2: 0.72 },
	selectionbox: { x1: 0.28, y1: 0, z1: 0.28, x2: 0.72, y2: 0.3125, z2: 0.72 },
	guiTransform: {
		origin: { x: 0.5, y: 0.2, z: 0.5 },
		scale: 2
	},
	groundTransform: {
		scale: 3
	},
	tpHandTransform: {
		translation: { x: -0.6799, y: 0.06, z: -0.37 },
		rotation: { x: -82, y: 19, z: -103 },
		origin: { x: 0.5, y: 0, z: 0.5 },
		scale: 0.76
	}
}
