I passionately like to play Minecraft and like to make challanges.
Would anyone have any idea how to give a player the nausea effect all the time until the end dragon is defeated and also that no particles rise?
Thanks for answers
PS: Looking forward to answers
So to give all players Nausea until the Ender dragon is defeated, give yourself a command block with / give @s command_block
Then you put it on the ground (or bury it) and enter the following command: (This is a long command [not two])
/ execute @e [type = ender_dragon] ~ ~ ~ / effect @a nausea 1 1
You set this command block to Repeat and Always active.
As far as I know, the particles can't be removed.
Get in touch with me if it doesn't work I have another option.
To give the player the effect (without particles) do:
effect give username minecraft: nausea 999999 4 true
Canceling the effect as soon as the end dragon is killed is a little more difficult. It should go like this: Create a scoreboard called dragonEntities for the player. Then place 3 command blocks that are executed one after the other in the spawn chunks.
The first says:
scoreboard player set player name dragonEntities 0
the second says:
execute as @e [type = ender_dragon] run scoreboard player add player name dragonEntities 1
in the third / last:
execute if score username matches 8 run effect clear username minecraft: nausea
The "as" after execute and the "run" for effect are missing.
And that unfortunately only gives him Nausea when he is already at the end / the dragon is loaded.
To get the particles away you have to put True behind the command effect.
If that doesn't work try false.
If that still doesn't work, I don't know.
With kind w