{
    "format_version": "1.16.100",
    "minecraft:entity": {
        "description": {
            "identifier": "cc_fairytales:yeti_ball",
            "is_spawnable": false,
            "is_summonable": false,
            "is_experimental": false,
            "animations": {
                "hitter": "controller.animation.cc_fairytales.yeti_ball"
            },
            "scripts": {
                "animate": [
                    "hitter"
                ]
            }
        },
        "component_groups": {
            "flying": {
                "minecraft:variant": {
                    "value": 0
                }
            },
            "hitted": {
                "minecraft:variant": {
                    "value": 1
                }
            },
            "despawn": {
                "minecraft:instant_despawn": {
                    "remove_child_entities": false
                }
            }
        },
        "components": {
            "minecraft:projectile": {
                "on_hit": {
                    "impact_damage": {
                        "damage": 12,
                        "knockback": true,
                        "semi_random_diff_damage": false,
                        "destroy_on_hit": false
                    },
                    "particle_on_hit": {
                        "particle_type": "snowballpoof",
                        "num_particles": 6,
                        "on_entity_hit": true,
                        "on_other_hit": true
                    },
                    "definition_event": {
                        "affect_projectile": true,
                        "event_trigger": {
                            "event": "hit_detect",
                            "target": "self"
                        }
                    }
                },
                "hit_sound": "bullet.hit",
                "power": 2.0,
                "gravity": 0.0,
                "inertia": 0.99,
                "liquid_inertia": 0.8,
                "uncertainty_base": 1,
                "uncertainty_multiplier": 0,
                "anchor": 1,
                "offset": [
                    0,
                    -0.1,
                    0
                ]
            },
            "minecraft:collision_box": {
                "width": 0.5,
                "height": 0.5
            },
            "minecraft:hurt_on_condition": {
                "damage_conditions": [
                    {
                        "filters": {
                            "test": "in_lava",
                            "subject": "self",
                            "operator": "==",
                            "value": true
                        },
                        "cause": "lava",
                        "damage_per_tick": 4
                    }
                ]
            },
            "minecraft:physics": {},
            "minecraft:pushable": {
                "is_pushable": false,
                "is_pushable_by_piston": true
            },
            "minecraft:conditional_bandwidth_optimization": {
                "default_values": {
                    "max_optimized_distance": 80.0,
                    "max_dropped_ticks": 7,
                    "use_motion_prediction_hints": true
                }
            }
        },
        "events": {
            "minecraft:entity_spawned": {
                "add": {
                    "component_groups": [
                        "flying"
                    ]
                }
            },
            "minecraft:entity_born": {
                "add": {
                    "component_groups": [
                        "flying"
                    ]
                }
            },
            "hit_detect": {
                "remove": {
                    "component_groups": [
                        "flying"
                    ]
                },
                "add": {
                    "component_groups": [
                        "hitted"
                    ]
                }
            },
            "despawning": {
                "add": {
                    "component_groups": [
                        "despawn"
                    ]
                }
            }
        }
    }
}