Disable normal dragon resurgence

hey! im creating a datapack that gives a real purpose for the dragon egg

with this datapack you need to put the 4 end_crystals in their original positions and the egg in the middle of the portal

i just need to know if there is a way to disable the normal dragon resurgence when the player puts 4 end crystals

btw, sorry for the bad english (im brazilian)

Continue to help post