{
	"format_version": "1.16.100",
	"minecraft:block": {
		"description": {
			"identifier": "medieval:crimson_bowl0",
			"properties": {
				"medieval:facing_direction": [
					0,
					1,
					2,
					3,
					4,
					5
				],
				"medieval:status": [
					0,
					1,
					2,
					3,
					4,
					5,
					6,
					7,
					8,
					9
				]
			}
		},
		"permutations": [
			{
				"condition": "query.block_property('medieval:facing_direction') == 2",
				"components": {
					"minecraft:rotation": [
						0,
						0,
						0
					]
				}
			},
			{
				"condition": "query.block_property('medieval:facing_direction') == 3",
				"components": {
					"minecraft:rotation": [
						0,
						180,
						0
					]
				}
			},
			{
				"condition": "query.block_property('medieval:facing_direction') == 4",
				"components": {
					"minecraft:rotation": [
						0,
						90,
						0
					]
				}
			},
			{
				"condition": "query.block_property('medieval:facing_direction') == 5",
				"components": {
					"minecraft:rotation": [
						0,
						-90,
						0
					]
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 0",
				"components": {
					"minecraft:geometry": "geometry.bowl"
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 1",
				"components": {
					"minecraft:geometry": "geometry.bowl_beef",
					"minecraft:material_instances": {
						"beef": {
							"texture": "beef_cooked_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 2",
				"components": {
					"minecraft:geometry": "geometry.bowl_mutton",
					"minecraft:material_instances": {
						"mutton": {
							"texture": "mutton_cooked_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 3",
				"components": {
					"minecraft:geometry": "geometry.bowl_porkchop",
					"minecraft:material_instances": {
						"porkchop": {
							"texture": "porkchop_cooked_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 4",
				"components": {
					"minecraft:geometry": "geometry.bowl_cod",
					"minecraft:material_instances": {
						"cod": {
							"texture": "cod_cooked_item_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 5",
				"components": {
					"minecraft:geometry": "geometry.bowl_salmon",
					"minecraft:material_instances": {
						"salmon": {
							"texture": "salmon_cooked_item_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 6",
				"components": {
					"minecraft:geometry": "geometry.bowl_apple",
					"minecraft:material_instances": {
						"apple": {
							"texture": "apple_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 7",
				"components": {
					"minecraft:geometry": "geometry.bowl_apple",
					"minecraft:material_instances": {
						"apple": {
							"texture": "golden_apple_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 8",
				"components": {
					"minecraft:geometry": "geometry.bowl_bread",
					"minecraft:material_instances": {
						"bread": {
							"texture": "bread_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			},
			{
				"condition": "query.block_property('medieval:status') == 9",
				"components": {
					"minecraft:geometry": "geometry.bowl_cookie",
					"minecraft:material_instances": {
						"cookie": {
							"texture": "cookie_food",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						},
						"wood": {
							"texture": "stripped_crimson",
							"render_method": "opaque",
							"ambient_occlusion": true,
							"face_dimming": true
						}
					},
					"minecraft:on_interact": {
						"event": "eat"
					}
				}
			}
		],
		"components": {
			"minecraft:geometry": "geometry.bowl",
			"minecraft:material_instances": {
				"wood": {
					"texture": "stripped_crimson",
					"render_method": "opaque",
					"ambient_occlusion": true,
					"face_dimming": true
				}
			},
			"minecraft:on_player_placing": {
				"event": "set_facing_direction"
			},
			"minecraft:on_interact": {
				"event": "change"
			},
			"minecraft:creative_category": {
				"category": "equipment",
				"group": "itemGroup.name.bowl"
			},
			"minecraft:entity_collision": {
				"origin": [
					-7.5,
					0.0,
					-7.5
				],
				"size": [
					15,
					5,
					15
				]
			},
			"minecraft:pick_collision": {
				"origin": [
					-7.5,
					0.0,
					-7.5
				],
				"size": [
					15,
					5,
					15
				]
			},
			"minecraft:flammable": {
				"flame_odds": 5,
				"burn_odds": 5
			},
			"minecraft:block_light_absorption": 0.0,
			"minecraft:explosion_resistance": 1.8,
			"minecraft:map_color": "#b3244a",
			"minecraft:destroy_time": 1
		},
		"events": {
			"eat": {
				"set_block_property": {
					"medieval:status": 0
				},
				"run_command": {
					"command": "playsound random.eat @p ~ ~ ~"
				}
			},
			"change": {
				"sequence": [
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'cooked_beef'",
						"set_block_property": {
							"medieval:status": 1
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					},
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'cooked_mutton'",
						"set_block_property": {
							"medieval:status": 2
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					},
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'cooked_porkchop'",
						"set_block_property": {
							"medieval:status": 3
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					},
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'cooked_cod'",
						"set_block_property": {
							"medieval:status": 4
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					},
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'cooked_salmon'",
						"set_block_property": {
							"medieval:status": 5
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					},
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'apple'",
						"set_block_property": {
							"medieval:status": 6
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					},
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'golden_apple'",
						"set_block_property": {
							"medieval:status": 7
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					},
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'bread'",
						"set_block_property": {
							"medieval:status": 8
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					},
					{
						"condition": "query.block_property('medieval:status') == 0 && query.get_equipped_item_name('main_hand') == 'cookie'",
						"set_block_property": {
							"medieval:status": 9
						},
						"run_command": {
							"command": "playsound block.itemframe.add_item @p ~ ~ ~"
						}
					}
				]
			},
			"set_facing_direction": {
				"set_block_property": {
					"medieval:facing_direction": "query.cardinal_facing_2d"
				}
			}
		}
	}
}