{"format_version":"1.8.0","minecraft:entity":{"component_groups":{"minecraft:melee_attack":{"minecraft:behavior.melee_attack":{"priority":4,"speed_multiplier":1,"target_dist":1.2,"track_target":true},"minecraft:environment_sensor":{"on_environment":{"event":"minecraft:ranged_mode","filters":{"operator":"==","subject":"self","test":"in_water","value":false}}}}},"components":{"minecraft:annotation.break_door":{"break_time":1},"minecraft:attack":{"damage":40},"minecraft:behavior.float":{"priority":0},"minecraft:behavior.hurt_by_target":{"priority":3},"minecraft:behavior.look_at_player":{"look_distance":8,"priority":7},"minecraft:behavior.melee_attack":{"priority":2,"track_target":false},"minecraft:behavior.nearest_attackable_target":{"entity_types":[{"filters":{"any_of":[{"subject":"other","test":"is_family","value":"player"}]},"max_dist":6000,"must_see":false}],"must_see":false,"priority":2,"reselect_targets":true,"within_radius":30},"minecraft:behavior.random_look_around":{"priority":7},"minecraft:behavior.random_stroll":{"priority":6,"speed_multiplier":1},"minecraft:breathable":{"suffocateTime":0,"totalSupply":15},"minecraft:collision_box":{"height":1.9,"width":0.6},"minecraft:health":{"max":6000,"value":6000},"minecraft:jump.static":{},"minecraft:knockback_resistance":{"max":1,"value":1},"minecraft:movement":{"value":0.22},"minecraft:movement.basic":{},"minecraft:navigation.walk":{"can_break_doors":true,"can_pass_doors":true,"can_walk":true,"is_amphibious":true},"minecraft:physics":{},"minecraft:scale":{"value":1},"minecraft:type_family":{"family":["ghost"]},"minecraft:underwater_movement":{"value":0.02},"minecraft:variant":{"value":0}},"description":{"identifier":"ghost:pumpkin","is_experimental":false,"is_spawnable":true,"is_summonable":true},"events":{"minecraft:entity_spawned":{"add":{"component_groups":["minecraft:ranged_attack"]}},"minecraft:melee_mode":{"add":{"component_groups":["minecraft:melee_attack"]},"remove":{"component_groups":["minecraft:ranged_attack"]}}}}}