i want to make a throwable custom item that can come back after it hits an entity

i cannot get it to work for a custom item
Continue to help post