{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "medieval:sit_bench",
			"is_summonable": true,
			"is_spawnable": false,
			"is_experimental": false
		},
		"component_groups": {
			"minecraft:despawn_if_not_riding": {
				"minecraft:environment_sensor": {
					"triggers": [
						{
							"filters": {
								"all_of": [
									{
										"chair": "is_riding",
										"operator": "!=",
										"value": false
									}
								]
							},
							"event": "medieval:despawn"
						}
					]
				}
			},
			"medieval:despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:rideable": {
				"seat_count": 1,
				"seats": [
					{
						"position": [0,0,0]
					}
				],
				"family_types": [
					"player"
				]
			},
			"minecraft:collision_box": {
				"width": 0,
				"height": 0
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:physics": {
				"has_collision": false,
				"has_gravity": false
			},
			"minecraft:despawn": {
				"despawn_from_distance": {
				}
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": false
					}
				]
			},
			"minecraft:health": {
				"value": 1,
				"max": 1
			},
			"minecraft:inside_block_notifier": {
				"block_list": [
					{
						"block": {
							"name": "minecraft:air"
						},
						"entered_block_event": {
							"event": "medieval:despawn",
							"target": "self"
						}
					}
				]
			},
			"minecraft:custom_hit_test": {
				"hitboxes": [
					{
						"width": -1,
						"height": -1,
						"pivot": [0,0,0]
					}
				]
			}
		},
		"events": {
			"medieval:despawn": {
				"add": {
					"component_groups": [
						"medieval:despawn"
					]
				}
			}
		}
	}
}