behaviorBodyFactory

public static Function<Consumer<LivingEntity>, LivingEntity> behaviorBodyFactory(CustomBossEntity actor, Location location)

Ordinary YAML chooses a behavior; it does not introduce a second boss spawn path.