It looks like this is likely caused by another mod you're using that mixins into Mob.finalizeSpawn. Unfortunately can't tell which one it is from these logs though, as it appears they haven't properly prepended their mixin function's name with their mod id.