{
	"format_version": "1.14.0",
	"minecraft:entity": {
		"description": {
			"identifier": "dds_camping:cayak",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false
		},
		"component_groups": {
			"despawn_timer":{
				"minecraft:transformation": {
					"drop_equipment": false,
					"drop_inventory": true,
					"into": "dds_camping:cayak<entity_despawn>"
				}
			},
			"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:cayak_spawn_egg",
						"single_use": true
					}]
				}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": [
					"water_vehicle"
				]
			},
			"minecraft:scale": {
				"value": 1.2
			},
			"minecraft:knockback_resistance": {
				"value": 1
			},
			"minecraft:interact": {
				"interactions": [{
					"on_interact": {
						"filters": {
							"all_of": [{
								"test": "is_sneaking",
								"subject": "player",
								"value": true
							}]
						},
						"event": "despawn_timer"
					},
					"use_item": false,
					"interact_text": "action.interact.structure_demolish"
				}]
			},
			"minecraft:inventory": {
				"additional_slots_per_strength": 0,
				"can_be_siphoned_from": false,
				"container_type": "hopper",
				"inventory_size": 5,
				"private": false,
				"restrict_to_owner": false
			},
			"minecraft:behavior.rise_to_liquid_level": {
				"priority": 0,
				"liquid_y_offset": 0.5,
				"rise_delta": 0.05,
				"sink_delta": 0.05
			},
			"minecraft:underwater_movement": {
				"value": 0.1
			},
			"minecraft:navigation.walk": {
				"can_sink": false
			},
			"minecraft:rideable": {
				"seat_count": 1,
				"controlling_seat": 1,
				"family_types": [
					"player"
				],
				"interact_text": "action.interact.ride.boat",
				"pull_in_entities": true,
				"seats": [
					{
						"position": [
							0, 0.5, -0.5
						],
						"min_rider_count": 1,
						"max_rider_count": 1
					}
				]
			},
			"minecraft:input_ground_controlled": {},
			"minecraft:health": {
				"value": 10,
				"max": 10
			},
			"minecraft:movement": {
				"value": 0.02
			},
			"minecraft:movement.basic": {},
			"minecraft:collision_box": {
				"width": 1,
				"height": 1
			},
			"minecraft:physics": {},
			"minecraft:on_death": {
				"event": "despawn_timer",
				"target": "self"
			}
		},
		"events": {
			"entity_despawn": {
				"add": {
					"component_groups": [
						"entity_death"
					]
				}
			},
			"despawn_timer":{
				"add": {
					"component_groups": [
						"despawn_timer"
					]
				}
			}
		}
	}
}
