The Bug:
Raid omen effects start raids in the player's current dimension instead of at the villages where they were gained.
Steps to Reproduce:
Find a village, switch to creative mode, and start flying above its bell.
Without moving, teleport to the same coordinates in the End by using the command provided below.
/execute in minecraft:the_end run tp @s ~ ~ ~Build a glass room around you with a composter and a villager inside of it by using the commands provided below.
/fill ~-3 ~-1 ~-3 ~3 ~3 ~3 minecraft:glass hollow/setblock ~2 ~ ~ minecraft:composter/summon minecraft:villager ~1 ~ ~Wait until the villager becomes a farmer, then teleport back to the village by using the command provided below.
/execute in minecraft:overworld run tp @s ~ ~ ~Obtain an ominous bottle and drink it.
As soon as the raid omen effect appears, teleport back to the End by using the command provided below.
/execute in minecraft:the_end run tp @s ~ ~ ~Wait 30 seconds for the raid omen effect to end and observe if the "Raid" boss bar appears.
Observed Behavior:
Raid omen effects start raids in the current dimension instead of at the villages where they were gained.
Expected Behavior:
Raid omen effects would start raids at the villages where they were gained.