Currently there are multiple problems with how Raids are started, when doing so without the "Update 1.21"-Experiment:
1. the Bad Omen effect is no longer removed, see also MC-269963
2. particles are missing, see also MC-270441
3. advancement "Voluntary exile" is not triggered
4. statistic "Raid triggered" is not getting incremented
5. Pillagers and Vindicators - in additional waves - don't spawn with enchanted weapons
Steps to reproduce
Create a new superflat world
Go to the next village
Give yourself the bad omen effect
/effect give @s minecraft:bad_omen
Expected behavior
The same as in 1.20.4
Comments 3
Bad Omen not removed after starting a raid is MC-269963.
Thank you for your report!
However, this issue is Invalid.
Please put only one bug report in each ticket. It is very difficult to keep track of bugs when they are not in their own tickets.
However, please review the Bug Tracker Guidelines before creating new reports. Be sure to search for an existing issue as it is likely to have already been reported.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Code analysis
using Fabric's Yarn mappings 24w14a+build.5
Problem 1 & 2 are caused by the fact that the corresponding code is no longer present inside the
Raid
/RaidManager
classes.The other problems are caused inside
Raid#start(ServerPlayerEntity)
because the checkedStatusEffect
isRAID_OMEN
(notBAD_OMEN
)