This is datapack, but it can't work independent, it need to work with my another datapack "Special Mobs (spmdpi is 3.x)".
special mobs is a data pack add a lot of mobs which can perform skill into minecraft.
I make this because some mobs in the overworld is too op, and this is not friendly for beginner.
So I split all special mobs spawn in overworld into thee class, each class for each day event, when the sun rise, the day events will change
To let this datapack work properly, you need to delete file "data/spm_dpi/tags/functions/nature_spawn/in/overworld.json" in the datapack "special mobs"
So if there is a class of mobs you don't like, you can sleep through that night.
Special Days
Class
magic day : ender phantom, skeleton lord, warp enderman, fire creeper, lightning creeper, black widow
rpg day : barbarian, ninja, ice_shooter, robbery, miner, sailor
undead day : no special mobs, but a lot of undead mobs (zombie,skeleton,drowned)
peaceful day : no special mobs
This datapacks only modify the spawn rule of special mobs in overworld
Acknowledge
Minecraft-Random : uniform random function