onContact

public static void onContact(ModeledEntityHitboxContactEvent event)

FreeMinecraftModels found a player touching a model. For a pet body this replaces FMM's contact attack: the event is cancelled, and a wild pet remembers the touch of a player it may sting.