{
	"format_version": "1.19.40",
	"minecraft:entity": {
		"description": {
			"identifier": "agp:pl2",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"runtime_identifier": "minecraft:snowball",
			"scripts": {
				"animate": [
					"PR2"
				]
			},
			"animations": {
				"PR2": "animation.PR2"
			}
		},
		"component_groups": {
			"Despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:collision_box": {
				"width": 0.1,
				"height": 0.1
			},
			"minecraft:type_family": {
				"family": [
					"inanimate",
					"agp",
					"Lpia"
				]
			},
			"minecraft:projectile": {
				"on_hit": {
					"impact_damage": {
						"damage": 0
					},
					"stick_in_ground": {}
				},
				"liquid_inertia": 10,
				"should_bounce": false,
				"shoot_target": true,
				"multiple_targets": false,
				"power": 3.7,
				"gravity": 0.071,
				"angle_offset": 0
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "fall",
						"deals_damage": false
					}
				]
			},
			"minecraft:environment_sensor": {
				"triggers": [
					{
						"filters": {
							"all_of": [
								{
									"test": "on_ground",
									"subject": "self",
									"operator": "==",
									"value": true
								},
								{
									"test": "in_water",
									"subject": "self",
									"operator": "!=",
									"value": true
								}
							]
						},
						"event": "DamageTarget"
					},
					{
						"filters": {
							"test": "in_water",
							"subject": "self",
							"operator": "==",
							"value": true
						},
						"event": "Despawn"
					}
				]
			},
			"minecraft:rideable": {
				"seat_count": 2,
				"crouching_skip_interact": true,
				"pull_in_entities": false,
				"rider_can_interact": false,
				"family_types": [
					"player",
					"LT"
				],
				"seats": [
					{
						"min_rider_count": 0,
						"max_rider_count": 1,
						"position": [
							0,
							0.05,
							0
						]
					},
					{
						"min_rider_count": 1,
						"max_rider_count": 2,
						"position": [
							0,
							2.5,
							3
						]
					}
				]
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			}
		},
		"events": {
			"DamageTarget": {
				"run_command": {
					"command": [
						"damage @e[type=player,tag=ALD,r=12,c=1] 17",
						"tag @e[type=player,tag=RL,r=12,c=1] remove RL",
						"tag @e[type=player,tag=PD,r=12,c=1] remove PD",
						"tag @e[type=player,tag=LD,r=12,c=1] remove LD",
						"tag @e[type=player,tag=ALD,r=12,c=1] remove ALD"
					]
				},
				"add": {
					"component_groups": [
						"Despawn"
					]
				}
			},
			"Despawn": {
				"add": {
					"component_groups": [
						"Despawn"
					]
				}
			}
		}
	}
}