Minecraft but every second all Entities will teleport to you

This is a Minecraft Map, but cursed. This is a simple Minecraft map. Cursed Minecraft maps every 2 minutes all entities will teleport to the player. All entities including items, mobs, etc. Your mission is very easy, which is to beat the ender dragon and break the curse. Below is a screenshot along with the tutorial. Hope You ENJOY!!!