This is an adapted version of the Phantom Config modification, created specifically for Fabric 1.20.1 with the consent of the original developer.
WARNING: The original mod has been updated to version 1.20.2 and above. You should only use this version if you specifically need Minecraft 1.20.1 support.
Annoying phantoms stop bothering players with this modification! It offers two solution paths: either reduce the irritating effect of these mobs' presence in the regular world, or turn them into a deterrent for prolonged End exploration on multiplayer servers.
Using the mod's configuration settings, you can make phantoms not spawn at all when the character is in a lit area. Moreover, the user can configure the timing and conditions for these flying creatures' appearance exactly as they see fit.
Requires: Fabric API Optional dependency: Mod Menu
The mod only needs to be installed on the server side or in singleplayer.