This datapack utilizes the Gravity Changer mod to overhaul the Ender Dragon fight, splitting it into four phases. In each phase, you must destroy 5 end crystals to be able to hurt the dragon. Once you deplete a quarter of the dragon's health, 5 new crystals spawn. Each phase has its own rules for how gravity works and changes, so be sure to come prepared with blocks, a water bucket, a bow, and ender pearls.
Update for 1.19
This datapack can be played in 1.19 utilizing the Gravity API.
Additional Notes
Phase Breakdown
Phase 1: Downwards gravity.
Phase 2: North gravity, which switches to South after all crystals are destroyed.
Phase 3: Alternates between East and West whenever a crystal is destroyed. Once all crystals are gone, switches between North, East, South, and West on a timer.
Phase 4: Upwards gravity.
Also check out our discord: https://discord.gg/gbeVkSaauR