//Oi mate, if ya here to sneak, steal or use my codes for reference please fockin' credit me and Vivy 'ey? We worked countless sleepless nights fo' this mate. If you still don't accept these kind term then so be it. Pray that karma will be the one getting you because I'll be the one praying for your safety if I found our who you are.

{
  "format_version": "1.15.0",
  "minecraft:entity": {
    "description": {
      "identifier": "projectile:slash",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": true,
      "runtime_identifier": "minecraft:arrow"
    },
    "component_groups": {
      "despawn": {
        "minecraft:instant_despawn": {}
      }
    },
    "components": {
      "minecraft:rideable": {
        "seat_count": 1,
        "passenger_max_width": 100.0,
        "pull_in_entities": false,
        "seats": [
          {
            "position": [ 0.0, 0.0,1.0 ],
            "min_rider_count": 1,
            "max_rider_count": 1,
            "rotate_rider_by": 0,
            "lock_rider_rotation": 0
          }
          ]
      },
      "minecraft:projectile": {
        "on_hit": {
          "impact_damage": {
            "damage": 0,
            "knockback": false,
            "semi_random_diff_damage": false,
            "destroy_on_hit": false
          }
        },
        "hit_sound": "bow.hit",
        "power": 1.0,
        "gravity": 0.0000,
        "anchor": 2,
        "liquid_inertia": 0.06,
        "should_bounce": false,
        "uncertainty_base": 5,
        "angle_offset": 0,
        "offset": [ 0, 0, 0 ]
      },
        "minecraft:despawn": {
          "despawn_from_distance": {
          "max_distance": 180,
          "min_distance": 175
        }
        },
      "minecraft:conditional_bandwidth_optimization": {
        "default_values": {
          "max_optimized_distance": 80.0,
          "max_dropped_ticks": 7,
          "use_motion_prediction_hints": true
        }
      },
      "minecraft:scale": {
        "value": 1.0
      },
      "minecraft:type_family": {
        "family": [
          "projectile",
          "misc",
          "custom_mob",
          "custom_projectile"
          ]
      },
      "minecraft:collision_box": {
        "width": 2.0,
        "height": 1.0
      },
      "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:damage_sensor": {
        "triggers": [
          {
            "deals_damage": false
          }
          ]
      },
      "minecraft:health": {
        "value": 10000,
        "max": 10000
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "sequence": [
          {
            "queue_command": {
              "command": [
                "tag @s add custom_projectile",
                "scoreboard players operation @s petID = @e[c=1,family=!misc,family=custom_mob] petID"
                ]
            }
          },
          {
            "queue_command": {
              "command": [
                "tag @s add iframes"
                ]
            }
          }
        ]
      },
      "despawn": {
        "add": {
          "component_groups": [
            "despawn"
            ]
        }
      }
    }
  }
}