{"format_version":"1.20.80","minecraft:entity":{"description":{"identifier":"inmine_zhs:medkit_potion","is_spawnable":false,"is_summonable":true,"is_experimental":false,"properties":{"inmine_zhs:potion_type":{"type":"int","range":[0,1],"client_sync":true,"default":0}}},"component_groups":{"inmine_common:despawn":{"minecraft:instant_despawn":{}},"spawn_cloud":{"minecraft:spawn_entity":{"entities":{"max_wait_time":0,"min_wait_time":0,"num_to_spawn":1,"single_use":true,"spawn_entity":"inmine_zhs:medkit_3_effect_cloud"}},"minecraft:instant_despawn":{}},"splash":{"minecraft:projectile":{"on_hit":{"particle_on_hit":{},"impact_damage":{"damage":0,"knockback":false,"semi_random_diff_damage":false,"destroy_on_hit":true},"definition_event":{"affect_projectile":true,"event_trigger":{"event":"inmine_zhs:apply_splash","target":"self"}}},"destroy_on_hurt":true,"power":1,"gravity":0.02,"inertia":1,"liquid_inertia":1,"uncertainty_base":0,"uncertainty_multiplier":0,"anchor":1,"offset":[0,0.5,0]}},"lingering":{"minecraft:projectile":{"on_hit":{"particle_on_hit":{},"impact_damage":{"damage":0,"knockback":false,"semi_random_diff_damage":false,"destroy_on_hit":true},"definition_event":{"affect_projectile":true,"event_trigger":{"event":"inmine_zhs:spawn_cloud","target":"self"}}},"destroy_on_hurt":true,"power":1,"gravity":0.02,"inertia":1,"liquid_inertia":1,"uncertainty_base":0,"uncertainty_multiplier":0,"anchor":1,"offset":[0,0.5,0]}}},"components":{"minecraft:projectile":{"on_hit":{"particle_on_hit":{},"impact_damage":{"damage":0,"knockback":false,"semi_random_diff_damage":false,"destroy_on_hit":true},"definition_event":{"affect_projectile":true,"event_trigger":{"event":"inmine_zhs:spawn_cloud","target":"self"}}},"destroy_on_hurt":true,"ignored_entities":["inmine_zhs:toxic_frog"],"power":3.6,"gravity":0.02,"inertia":1,"liquid_inertia":1,"uncertainty_base":0,"uncertainty_multiplier":0,"anchor":1,"offset":[0,0.5,0]},"minecraft:collision_box":{"width":1,"height":1},"minecraft:physics":{},"minecraft:pushable":{"is_pushable":true,"is_pushable_by_piston":true},"minecraft:damage_sensor":{"triggers":[{"cause":"all","deals_damage":false,"on_damage_sound_event":""}]},"minecraft:conditional_bandwidth_optimization":{"default_values":{"max_optimized_distance":80,"max_dropped_ticks":7,"use_motion_prediction_hints":true}}},"events":{"inmine_common:despawn":{"add":{"component_groups":["inmine_common:despawn"]}},"inmine_zhs:apply_splash":{"queue_command":{"command":["playsound random.glass @a[r=16] ~ ~ ~","particle inmine_zhs:medkit_3_splash ~ ~0.1 ~","effect @a[r=2] regeneration 30 4","scriptevent inmine_zhs:medkits instant_heal"]},"add":{"component_groups":["inmine_common:despawn"]}},"inmine_zhs:spawn_cloud":{"add":{"component_groups":["spawn_cloud"]},"queue_command":{"command":["particle inmine_zhs:medkit_3_cloud ~ ~0.1 ~","playsound random.glass @a[r=16] ~ ~ ~"]}},"inmine_zhs:become_splash":{"set_property":{"inmine_zhs:potion_type":0},"add":{"component_groups":["splash"]}},"inmine_zhs:become_lingering":{"set_property":{"inmine_zhs:potion_type":1},"add":{"component_groups":["lingering"]}}}}}