this feature allows developers to turn any item into a throwable like trident.

JSON goes to

data/namespace/cws_throwables/itemname.json

JSON Template

{
  "item": "minecraft:diamond_sword",
  "velocity": 3.0,
  "damage": 6.0,
  "gravity": 0.04,
  "returns_to_sender": true,
  "draw_speed": 10,
  "hide_command_output": false,
  "command_on_block_hit": "say <item_name> hit a block",
  "command_on_entity_hit": "say <item_name> hit a entity"
}