{
	"format_version": "1.16.0",
	"minecraft:entity": {
		"description": {
			"identifier": "dds_camping:hamper",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false
		},
		"component_groups": {
			"entity_death": {
				"minecraft:instant_despawn": {},
				"minecraft:spawn_entity": {
					"entities": [
						{
							"num_to_spawn": 1,
							"min_wait_time": 0,
							"max_wait_time": 0,
							"spawn_item": "dds_camping:hamper_spawn_egg",
							"single_use": true
						}
					]
				}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": [
					"hamper"
				]
			},
			"minecraft:health": {
				"value": 20
			},
			"minecraft:physics": {
				"has_collision": true,
				"has_gravity": false
			},
			"minecraft:collision_box": {
				"height": 0.4,
				"width": 1
			},
			"minecraft:inventory": {
				"additional_slots_per_strength": 0,
				"can_be_siphoned_from": false,
				"container_type": "minecart_chest",
				"inventory_size": 27,
				"private": false,
				"restrict_to_owner": false
			},
			"minecraft:knockback_resistance": {
				"value": 1
			},
			"minecraft:custom_hit_test": {
				"hitboxes": [
					{
						"width": 1,
						"height": 1,
						"pivot": [
							0,
							1,
							0
						]
					}
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "fire",
						"deals_damage": false
					},
					{
						"cause": "entity_attack",
						"deals_damage": true
					}
				]
			}
		},
		"events": {
			"dds_camping:despawn": {
				"add": {
					"component_groups": [
						"entity_death"
					]
				}
			}
		}
	}
}