{
	"format_version": "1.16.0",
	"minecraft:entity": {
		"description": {
			"identifier": "v360:cluckshroom",
			"runtime_identifier": "minecraft:chicken",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"minecraft:chicken_baby": {
				"minecraft:is_baby": {},
				"minecraft:scale": {
					"value": 0.5
				},
				"minecraft:ageable": {
					"duration": 1200,
					"feed_items": [
						"wheat_seeds",
						"beetroot_seeds",
						"melon_seeds",
						"pumpkin_seeds"
					],
					"grow_up": {
						"event": "minecraft:ageable_grow_up",
						"target": "self"
					}
				},
				"minecraft:behavior.follow_parent": {
					"priority": 5,
					"speed_multiplier": 1.1
				}
			},
			"minecraft:chicken_adult": {
				"minecraft:experience_reward": {
					"on_bred": "math.random(1,7)",
					"on_death": "query.last_hit_by_player?math.random(1,3):0"
				},
				"minecraft:loot": {
					"table": "loot_tables/entities/cluckshroom.json"
				},
				"minecraft:breedable": {
					"require_tame": false,
					"breeds_with": {
						"mate_type": "v360:cluckshroom",
						"baby_type": "v360:cluckshroom",
						"breed_event": {
							"event": "minecraft:entity_born",
							"target": "baby"
						}
					},
					"breed_items": [
						"minecraft:wheat_seeds",
						"minecraft:pumpkin_seeds",
						"minecraft:melon_seeds"
					]
				},
				"minecraft:behavior.breed": {
					"priority": 3,
					"speed_multiplier": 1
				},
				"minecraft:rideable": {
					"seat_count": 1,
					"family_types": [
						"zombie"
					],
					"seats": {
						"position": [
							0,
							0.4,
							0
						]
					}
				},
				"minecraft:interact": {
					"interactions": [
						{
							"on_interact": {
								"filters": {
									"all_of": [
										{
											"test": "has_equipment",
											"subject": "other",
											"domain": "hand",
											"value": "shears"
										}
									]
								},
								"event": "become_chicken",
								"target": "self"
							},
							"use_item": false,
							"hurt_item": 1,
							"play_sounds": "shear",
							"spawn_items": {
								"table": "loot_tables/entities/mooshroom_shear.json"
							},
							"particle_on_start": {
								"particle_type": "largeexplode",
								"particle_y_offset": 0,
								"particle_offset_towards_interactor": true
							},
							"interact_text": "action.interact.mooshear"
						},
						{
							"on_interact": {
								"filters": {
									"all_of": [
										{
											"test": "has_equipment",
											"subject": "other",
											"domain": "hand",
											"value": "bowl"
										}
									]
								},
								"target": "self"
							},
							"add_items": {
								"table": "loot_tables/gameplay/entities/mooshroom_milking.json"
							},
							"use_item": true,
							"play_sounds": "milk_suspiciously",
							"interact_text": "action.interact.moostew"
						}
					]
				},
				"minecraft:mark_variant": {
					"value": -1
				}
			},
			"become_chicken": {
				"minecraft:transformation": {
					"into": "minecraft:chicken"
				}
			}
		},
		"components": {
			"minecraft:is_hidden_when_invisible": {},
			"minecraft:type_family": {
				"family": [
					"chicken",
					"mob"
				]
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0
			},
			"minecraft:collision_box": {
				"width": 0.6,
				"height": 0.8
			},
			"minecraft:nameable": {},
			"minecraft:health": {
				"value": 4,
				"max": 4
			},
			"minecraft:hurt_on_condition": {
				"damage_conditions": [
					{
						"filters": {
							"test": "in_lava",
							"subject": "self",
							"operator": "==",
							"value": true
						},
						"cause": "lava",
						"damage_per_tick": 4
					}
				]
			},
			"minecraft:movement": {
				"value": 0.25
			},
			"minecraft:damage_sensor": {
				"triggers": {
					"cause": "fall",
					"deals_damage": false
				}
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:balloonable": {
				"mass": 0.5
			},
			"minecraft:navigation.walk": {
				"can_path_over_water": true,
				"avoid_damage_blocks": true
			},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:despawn": {
				"despawn_from_distance": {}
			},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.panic": {
				"priority": 1,
				"speed_multiplier": 1.5
			},
			"minecraft:behavior.mount_pathing": {
				"priority": 2,
				"speed_multiplier": 1.5,
				"target_dist": 0,
				"track_target": true
			},
			"minecraft:behavior.tempt": {
				"priority": 4,
				"speed_multiplier": 1,
				"items": [
					"minecraft:wheat_seeds",
					"minecraft:pumpkin_seeds",
					"minecraft:melon_seeds"
				]
			},
			"minecraft:behavior.random_stroll": {
				"priority": 6,
				"speed_multiplier": 1
			},
			"minecraft:behavior.look_at_player": {
				"priority": 7,
				"look_distance": 6,
				"probability": 0.02
			},
			"minecraft:behavior.random_look_around": {
				"priority": 8
			},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:conditional_bandwidth_optimization": {},
			"minecraft:mark_variant": {
				"value": -1
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"randomize": [
					{
						"weight": 95,
						"trigger": "minecraft:spawn_adult"
					},
					{
						"weight": 5,
						"add": {
							"component_groups": [
								"minecraft:chicken_baby"
							]
						}
					}
				]
			},
			"minecraft:entity_born": {
				"remove": {},
				"add": {
					"component_groups": [
						"minecraft:chicken_baby"
					]
				}
			},
			"minecraft:ageable_grow_up": {
				"remove": {
					"component_groups": [
						"minecraft:chicken_baby"
					]
				},
				"add": {
					"component_groups": [
						"minecraft:chicken_adult"
					]
				}
			},
			"minecraft:spawn_adult": {
				"add": {
					"component_groups": [
						"minecraft:chicken_adult"
					]
				}
			},
			"become_chicken": {
				"remove": {},
				"add": {
					"component_groups": [
						"become_chicken"
					]
				}
			}
		}
	}
}