My server has a lobby/spawn. It has some Villagers that you can use to trade with.
They are not in the center of the lobby plataform.
Is there any way to prevent raids if someone comes around with Bad Omen?
I mean, clearing Bad Omen effect before Raid starts, or something.
Remember people can teleport to lobby.
I have some command blocks that gives effects to players in lobby:
execute as @a at @s if entity @s[x=116.5,y=87,z=-6.5,r=32] run effect @s night_vision 5 1
execute as @a at @s if entity @s[x=116.5,y=87,z=-6.5,r=32] run effect @s regeneration 5 2
execute as @a at @s if entity @s[x=116.5,y=87,z=-6.5,r=32] run effect @s saturation 5 1
execute as @a at @s if entity @s[x=116.5,y=87,z=-6.5,r=32] run effect @s speed 5 2
How do I prevent Raids on lobby, using command block, without using /gamerule? I still want Raids but far away from lobby.
Hi there, so my first thought is to repeatedly /effect clear them, now that might seem redundant but if you have those effects on a repeating command block then they wont lose those effects even with the repeated effect clear.
And another thing is to do a /kill @e[type=illager], at the center of that lobby. You might be concerned that this will stop raids everywhere, but that command block will only be in effect if its within rendering range.
[P.S: maybe more then one command block for the ravager and all the other types of raid entities, just as a precaution!]
Hello everybody.
My server has a lobby/spawn. It has some Villagers that you can use to trade with.
They are not in the center of the lobby plataform.
Is there any way to prevent raids if someone comes around with Bad Omen?
I mean, clearing Bad Omen effect before Raid starts, or something.
Remember people can teleport to lobby.
I have some command blocks that gives effects to players in lobby:
How do I prevent Raids on lobby, using command block, without using /gamerule? I still want Raids but far away from lobby.
BTW, Am using Minecraft Bedrock. Not Java
Thanks in advance.
Still nobody???
Hi there, so my first thought is to repeatedly /effect clear them, now that might seem redundant but if you have those effects on a repeating command block then they wont lose those effects even with the repeated effect clear.
And another thing is to do a /kill @e[type=illager], at the center of that lobby. You might be concerned that this will stop raids everywhere, but that command block will only be in effect if its within rendering range.
[P.S: maybe more then one command block for the ravager and all the other types of raid entities, just as a precaution!]
Hope this helped!