event entity @e[type=ldz:teleport_pad] despawn

summon ldz:teleport_pad ~5 ~-0.5 ~5 0 0 beast_hub
summon ldz:teleport_pad ~-5 ~-0.5 ~-5 0 0 mystic_hub
summon ldz:teleport_pad ~5 ~-0.5 ~-5 0 0 scourge_hub
summon ldz:teleport_pad ~-5 ~-0.5 ~5 0 0 wraith_hub

summon ldz:teleport_pad ~10 ~-0.5 ~10 0 0 beast_dungeon
summon ldz:teleport_pad ~-10 ~-0.5 ~-10 0 0 mystic_dungeon
summon ldz:teleport_pad ~10 ~-0.5 ~-10 0 0 scourge_dungeon
summon ldz:teleport_pad ~-10 ~-0.5 ~10 0 0 wraith_dungeon

execute at @e[type=ldz:teleport_pad,family=beast_pad] run fill ~-1 ~ ~-1 ~1 ~ ~1 ldz:teleport_pad_beast
execute at @e[type=ldz:teleport_pad,family=mystic_pad] run fill ~-1 ~ ~-1 ~1 ~ ~1 ldz:teleport_pad_mystic
execute at @e[type=ldz:teleport_pad,family=scourge_pad] run fill ~-1 ~ ~-1 ~1 ~ ~1 ldz:teleport_pad_scourge
execute at @e[type=ldz:teleport_pad,family=wraith_pad] run fill ~-1 ~ ~-1 ~1 ~ ~1 ldz:teleport_pad_wraith