{
  "format_version": "1.13.0",
  "minecraft:entity": {
    "description": {
      "identifier": "hd:bomb4",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false,
      "runtime_identifier": "minecraft:egg",
      "scripts": {"animate": []},
      "animations": {}
    },

    "events": {
      "minecraft:explode": {
          "run_command":{
              "command":["particle bomb_exp ~~~","playsound bomb_explosion @a[r=100] ~~~ 8"
                  ]
          },
        "add": {
          "component_groups": ["minecraft:exploding"]
        }
      }
    },
    "component_groups": {
      "minecraft:exploding": {
        "minecraft:explode": {
          "fuse_length": 0,
          "fuse_lit": true,
          "power": 10,
          "causes_fire": false,
          "destroy_affected_by_griefing": true,
          "breaks_blocks": false
        }
      }
    },

    "components": {
      "minecraft:timer": {
        "looping": false,
        "time": 5,
        "time_down_event": {
          "event": "minecraft:explode",
          "target": "self"
        }
      },
      "minecraft:projectile": {
        "on_hit": {
          "impact_damage": {
            "damage": 50,
            "knockback": true
          },
          "particle_on_hit": {
            "particle_type": "explode",
            "on_other_hit": true
          },
          "definition_event": {
            "affect_projectile": true,
            "event_trigger": {
              "event": "minecraft:explode",
              "target": "self"
            }
          }
        },
        "shoottarget": true,
        "power": 2,
        "gravity": 0,
        "uncertaintyBase": 20,
        "angle_offset":90,
        "offset": [8, 16, -4],
        "inertia": 1,
        "liquid_inertia": 0.9
      },
      "minecraft:movement.basic": {},
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": false
      },
      "minecraft:scale": {
        "value": 0.8
      },
      "minecraft:collision_box": {
        "width": 1,
        "height": 1
      },
      "minecraft:type_family": {
        "family": ["projectile","missile"]
      },
      "minecraft:tick_world": {
        "radius": 2
        },
      "minecraft:health": {
        "value": 100,
        "max": 100
      },
      "minecraft:knockback_resistance": {
        "value": 100.0
      },
      "minecraft:jump.static": {},
      "minecraft:fire_immune": true,
      "minecraft:breathable": {
        "breathesAir": true,
        "breathesWater": true
      },
      "minecraft:physics": {},
      "minecraft:persistent": {}
    }
  }
}