execute at @s anchored eyes positioned ^ ^ ^0.2 run function svm_ep:power/dimension_traveler/quick_portal/raycast

effect give @s minecraft:blindness 1 0 true
execute at @s run particle minecraft:flash ~ ~0.8 ~ 0 0 0 0 1
execute at @s run particle minecraft:end_rod ~ ~0.8 ~ 0 0 0 0.5 250
execute at @s run playsound minecraft:entity.enderman.teleport master @a[distance=..15] ~ ~ ~ 1.5 0.7
tag @s remove end_raycast