{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "ga:bullet_beamrifle_gq",
      "runtime_identifier": "minecraft:snowball",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },

    "component_groups": {
      "entity:despawn": {
        "minecraft:despawn": {}
      },
      "minecraft:exploding": {
        "minecraft:explode": {
          "fuse_length": 0,
          "fuse_lit": true,
          "power": 10,
          "causes_fire": true,
          "destroy_affected_by_griefing": true
        }
      }
    },

    "components": {
      "minecraft:environment_sensor": {
            "triggers": [
             {
            "filters": { "test": "distance_to_nearest_player", "operator": ">", "value": 100 },
            "event": "minecraft:explode"
                 }
               ]
      },
      "minecraft:type_family": {
        "family": [ "beam_bullet" ]
      },
      "minecraft:scale": {
        "value": 5
      },
      "minecraft:collision_box": {
        "width": 1,
        "height": 1
      },
      "minecraft:timer": {
        "time": 0.5,
        "looping": false,
        "time_down_event": {
        "event": "minecraft:explode",
        "target": "self"
        }
      },
      "minecraft:projectile": {
        "on_hit": {
          "impact_damage": {
            "damage": 110,
            "knockback": true
          },
          "definition_event": {
            "affect_projectile": true,
            "event_trigger": {
              "event": "minecraft:explode",
              "target": "self"
            }
          },
          "particle_on_hit": {
            "particle_type": "lava",
            "on_other_hit": true
          }
        },
        "shoottarget": true,
        "catchFire":false,
        "power": 5,
        "gravity": 0.0,
        "uncertaintyBase": 0.4,
        "anchor": 1,
        "inertia": 1.2,
        "liquid_inertia": 0.9
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      }
    },
    "events": {
      "entity:despawn": {
        "add": {
          "component_groups": [
            "entity:despawn"
          ]
        }
      },
      "minecraft:explode": {
        "add": {
          "component_groups": [
            "minecraft:exploding"
          ]
        }
      }
    }
  }
}




