The Scary Update (v4.0) for Minecraft 1.21
Minecraft 1.21 was all about new combat opportunities. How do you square that with a data pack all about suppressing mobs? You make it possible to temporarily toggle monsters on, that's how! Oh look, finally a purpose for poisonous potatoes.
Nightmares
Hostile mobs are now allowed to spawn during Nightmares, which occur when any player in the world has one of the following effects:
- Bad Luck
- Raid Omen
- Trial Omen
Nightmares are global, so take care on multiplayer servers! If there are any types of mobs you don't want to spawn, even during nightmares, you can block them with commands (see Better Control).
Bad Luck can be acquired by consuming a new item added in this version of the data pack: Nightmare Stew, a suspicious stew made with a poisonous potato. Upon consuming, the effect lasts for 10 minutes (the duration of an entire night).
Raid Omen and Trial Omen are acquired via the usual means in 1.21 -- entering a village or a trial chamber while affected by Bad Omen. A recipe has been added for Ominous Bottle: glass bottle, ink sac, glow berries, and 1-5 fermented spider eye (depending on desired Ominous Bottle level.)
Of course, consuming milk clears these status effects. Once no player has any of these effects, hostile mob suppression kicks in again.
Better Control
Rather than having to memorize a bunch of esoteric commands, you can now control which mob types are allowed to spawn using a convenient new set of functions:
/function no-monster:control/allow/<group>allows the mob group to spawn like normal./function no-monster:control/suppress/<group>suppresses the mob group, except during nightmares. This is the default./function no-monster:control/block/<group>blocks the mob group, even during nightmares.
So, for example, if you want to allow arthropods all the time, never allow creepers, and suppress all other hostiles except during nightmares, you would run this (assuming you're starting from defaults):
/function no-monster:control/allow/arthropods
/function no-monster:control/block/creepers
The old spawn rules still work behind the scenes, so if you have configured some mobs to be allowed, that hasn't changed. The configuration variables for blocking are new, however, so you'll need to set those up if you need them.
Other Changes
- Bogged are now controlled in the
undeadgroup. - Camels now have the same drops as horses.
- Trader Llamas now always also drop 1 blue carpet.
- Fix fishing loot table errors.
- Tall grass now drops potatoes, carrots, and beetroot seeds again.
- The Wither Skull crafting recipe outputs one item as it should now, instead of two.
Breezes are not controlled by this data pack, since they only spawn from trial spawners. If you don't want to fight breezes, stay away from trial chambers, hey?
What About Earlier Versions of Minecraft?
Minecraft 1.20.6 is supported via a backport.
Unfortunately, due to reliance on some new technical features, v4.0 will not be available for any version of Minecraft prior to 1.20.6. For those, you can still use v3.0.