create custom snowball class extending snowball you can overwrite one of the function related to damage now you register a new entity and use that entity when people do the thing that shoot it you can also overwrite the onheld function to make it shoot deadly snowballs