Mod

Mobs Love Sunlight

Quick rating

Mobs Love Sunlight

No reviews yet

A Minecraft Fabric mod that prevents selected mobs from burning in the sun and allows for daytime spawning.

Horror
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
mobs-love-sunlight-1.0.0-1.21.1.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Mobs Love Sunlight

image

The sun is no longer a safe haven.

Mobs Love Sunlight puts you in charge of deciding which hostile mobs should spawn during the day and which mobs should burn in the sun. The mod keeps vanilla spawning rules intact and simply removes the requirement that certain monsters must spawn in darkness.

This means daytime can become just as dangerous as nighttime without completely changing how Minecraft's spawning system works.

This mod was originally created to complement Mob Control.

Mob Control is not required, but it pairs exceptionally well with Mobs Love Sunlight by allowing gradual difficulty scaling, custom spawn timing, and different behavior rules for daytime and nighttime mobs.


Features

  • Allow selected hostile mobs to spawn during the day.
  • Prevent selected mobs from burning in sunlight.
  • Fully configurable per entity type.
  • Configurable dimensions.
  • Configurable monster block light limit.
  • Preserves vanilla biome restrictions, spawn weights, and special spawning rules.

How It Works

This mod does not create new spawn locations or change mob spawn rates.

Instead, it changes the rules that normally prevent hostile mobs from appearing during daylight.

As a result:

  • Zombies still spawn where zombies normally spawn.
  • Husks still require deserts.
  • Slimes still require slime chunks or swamps.
  • Structure-specific spawns remain structure-specific.
  • Rare mobs remain rare.

A useful way to think about the mod is:

If a mob could naturally spawn at this location during the night, it can also spawn there during the day (if enabled in the configuration).

Because this mod preserves vanilla spawning mechanics and only removes daylight restrictions, it should generally work well with mods that modify mob attributes, AI, or spawn behavior, including Mob Control.


Configuration

The configuration file is located in:

config/mobs-love-sunlight.json

Example

{
  "noDaylightBurningEntityTypes": [
    "minecraft:zombie",
    "minecraft:skeleton"
  ],

  "daytimeSpawningEntityTypes": [
    "minecraft:zombie",
    "minecraft:skeleton",
    "minecraft:creeper",
    "minecraft:spider"
  ],

  "affectedDimensions": [
    "minecraft:overworld"
  ],

  "monsterSpawnBlockLightLimit": 0
}

Default Configuration

By default, no hostile mobs are allowed to spawn during the day.

The default configuration only disables sunlight burning for a few undead mobs. If you want daytime spawning, you must explicitly add the desired entity types to:

daytimeSpawningEntityTypes

Options

noDaylightBurningEntityTypes

A list of entity identifiers that should no longer burn in sunlight.

Example:

[
  "minecraft:zombie",
  "minecraft:skeleton"
]

affectedDimensions

A list of dimensions where the mod should apply.

Example:

[
  "minecraft:overworld",
  "aether:the_aether"
]

monsterSpawnBlockLightLimit

Controls the maximum block light level that hostile mobs may spawn in.

Vanilla value:

0

Allowed range:

0-15

daytimeSpawningEntityTypes

A list of hostile mobs that should be allowed to spawn during the day.

Example:

[
  "minecraft:zombie",
  "minecraft:creeper",
  "minecraft:spider"
]

Difficulty Warning

Enabling daytime spawning dramatically changes Minecraft's difficulty.

Even enabling a single mob type can make surviving the early game considerably harder.

The difference between enabling one mob type and enabling every vanilla hostile mob is mostly how quickly the hostile mob cap fills up, not whether daytime becomes dangerous.

For example:

  • Zombies alone can quickly populate the surface because they have a high spawn weight.
  • Skeletons make gathering early resources much riskier because they can attack from a distance.
  • Creepers can destroy terrain and early shelters.
  • Endermen remain relatively uncommon because they are naturally rare.

Because vanilla spawn weights and spawn locations are preserved, the exact difficulty depends heavily on which mobs you choose to enable.

If you enable every vanilla hostile mob, expect daytime to become a constant survival challenge rather than a safe exploration period.


Enable all vanilla hostile mob spawns

This list only includes mobs that naturally spawn in the overworld. Adding other entities to this list is harmless but has no effect.

"daytimeSpawningEntityTypes": [
  "minecraft:bogged",
  "minecraft:creeper",
  "minecraft:drowned",
  "minecraft:enderman",
  "minecraft:skeleton",
  "minecraft:spider",
  "minecraft:stray",
  "minecraft:witch",
  "minecraft:zombie",
  "minecraft:zombie_villager"
]

Disable sunlight burning for all vanilla undead mobs

noDaylightBurningEntityTypes only affects mobs that already burn in sunlight in vanilla Minecraft. Adding other entities to this list is harmless but has no effect.

Phantoms are excluded on purpose because they have different spawn and despawn rules that cause them to accumulate over time if they don't burn in the sun. Feel free to add them if you want.

"noDaylightBurningEntityTypes": [
  "minecraft:zombie",
  "minecraft:zombie_villager",
  "minecraft:skeleton",
  "minecraft:stray",
  "minecraft:bogged",
  "minecraft:wither_skeleton"
]

Recommended Mob Control Configuration

This mod was originally designed alongside Mob Control, which can be used to gradually introduce daytime spawns over the first few Minecraft days.

Rather than immediately allowing full daytime spawning, the example configuration below slowly increases spawn frequency:

Day Expected experience
Day 1 Mostly peaceful with occasional hostile encounters while exploring.
Days 2-3 Expect frequent encounters and regular fighting or fleeing, but still with occasional calm moments.
Day 4+ Daytime becomes consistently dangerous. Spending long periods outside shelter becomes increasingly difficult.

This creates a smoother difficulty curve while still allowing every configured mob to eventually spawn during the day.

Installing the configuration

  1. Install Mob Control.
  2. Run Minecraft once to generate the default configuration.
  3. Open:
config/mobcontrol.toml
  1. Copy the following rules into the configuration file.
################################################################################
# Day 1
################################################################################

[[mob]]
name=["minecraft:bogged", "minecraft:creeper", "minecraft:enderman", "minecraft:husk", "minecraft:skeleton", "minecraft:spider", "minecraft:stray", "minecraft:witch", "minecraft:zombie", "minecraft:zombie_villager"]

[[mob.rule]]
name="day1Spawns"
type="natural"
dimension=["minecraft:overworld"]
day=0
time-of-day="<12000"
run=1
cool-down=[80,200]
spawn.count=1

################################################################################
# Day 2-3
################################################################################

[[mob.rule]]
name="day2And3Spawns"
type="natural"
dimension=["minecraft:overworld"]
day=[1,2]
time-of-day="<12000"
run=100
cool-down=[40,150]

################################################################################
# Day 4+
################################################################################

[[mob.rule]]
name="day4PlusSpawns"
type="natural"
dimension=["minecraft:overworld"]
day=">2"
time-of-day="<12000"
run=100

################################################################################
# Keep vanilla nighttime spawning
################################################################################

[[mob.rule]]
name="vanillaNight"
type="natural"
dimension=["minecraft:overworld"]
time-of-day=">12000"
run=100

################################################################################
# Keep non-natural spawning (spawn eggs, spawners, commands, etc.)
################################################################################

[[mob.rule]]
type="all"

Important Notes

Mobs can still burn

A mob configured for daytime spawning will still burn in sunlight unless it is also included in:

noDaylightBurningEntityTypes

Mobs may not spawn where you expect

This mod only removes daylight restrictions.

It does not change:

  • Biomes
  • Spawn weights
  • Structures
  • Special spawn conditions
  • Spawn probabilities

If a mob rarely spawns at night, it will also rarely spawn during the day.


Modded dimensions

By default only the Overworld is affected.

Many modded dimensions use custom spawning systems and may behave differently.


Compatibility Information

This mod modifies vanilla spawning using mixins.

The following systems are modified:

  • DimensionType.MonsterSettings
  • HostileEntity#getPathfindingFavor
  • MobEntity#isAffectedByDaylight

Because of this, conflicts may occur with mods that:

  • modify monster light requirements;
  • alter hostile mob spawn checks;
  • replace mob pathfinding favor calculations;
  • completely rewrite mob spawning;
  • replace daylight burning behavior.

Examples of potentially incompatible mods include:

  • daylight spawning mods;
  • custom difficulty mods;
  • spawn overhaul mods;
  • mods that rewrite vanilla mob AI or spawning.

Compatibility with datapacks that only modify spawn tables is generally good.


For Modpack Authors

This mod intentionally preserves vanilla spawn rules and probabilities.

It is designed to work well alongside:

  • biome mods;
  • structure mods;
  • mob attribute mods;
  • mob behavior mods;
  • AI overhaul mods;
  • datapacks that change spawn lists.

If another mod also modifies the same mixin targets listed above, load order and compatibility may vary.


Frequently Asked Questions

Why aren't mobs spawning everywhere during the day?

Because this mod only removes daylight restrictions. Vanilla spawning rules still apply.


Why do some mobs still burn?

They need to be added to:

noDaylightBurningEntityTypes

Why don't Husks spawn in plains biomes?

Because Husks still use their vanilla desert spawning rules.


Why don't I see many daytime mobs?

This mod preserves vanilla spawn weights and spawn probabilities.

Some hostile mobs are naturally uncommon, and all normal spawning restrictions still apply.

If you have only enabled one or two mob types, they may also take longer to fill the hostile mob cap than if many different mobs are eligible to spawn.


Can I make the Nether or End use daylight spawning?

In theory, yes. Add the dimension identifier to:

affectedDimensions

However, dimensions without skylight may not behave as expected.


Why are Phantoms not recommended for disabling sunlight burning?

Phantoms have unusual spawning and despawn behavior. Preventing them from burning can cause large numbers of phantoms to accumulate over time.


Is this a complete spawn overhaul?

No.

The goal of this mod is simple:

Make the daytime feel as dangerous as the night while keeping Minecraft's normal spawning rules intact.

Mobs Love Sunlight

The sun is no longer a safe haven.

Mobs Love Sunlight puts you in charge of deciding which hostile mobs should spawn during the day and which mobs should burn in the sun. The mod keeps vanilla spawning rules intact and simply removes the requirement that certain monsters must spawn in darkness.

This means daytime can become just as dangerous as nighttime without completely changing how Minecraft's spawning system works.

This mod was originally created to complement Mob Control.

Mob Control is not required, but it pairs exceptionally well with Mobs Love Sunlight by allowing gradual difficulty scaling, custom spawn timing, and different behavior rules for daytime and nighttime mobs.


Features

  • Allow selected hostile mobs to spawn during the day.
  • Prevent selected mobs from burning in sunlight.
  • Fully configurable per entity type.
  • Configurable dimensions.
  • Configurable monster block light limit.
  • Preserves vanilla biome restrictions, spawn weights, and special spawning rules.

How It Works

This mod does not create new spawn locations or change mob spawn rates.

Instead, it changes the rules that normally prevent hostile mobs from appearing during daylight.

As a result:

  • Zombies still spawn where zombies normally spawn.
  • Husks still require deserts.
  • Slimes still require slime chunks or swamps.
  • Structure-specific spawns remain structure-specific.
  • Rare mobs remain rare.

A useful way to think about the mod is:

If a mob could naturally spawn at this location during the night, it can also spawn there during the day (if enabled in the configuration).

Because this mod preserves vanilla spawning mechanics and only removes daylight restrictions, it should generally work well with mods that modify mob attributes, AI, or spawn behavior, including Mob Control.


Configuration

The configuration file is located in:

config/mobs-love-sunlight.json

Example

{
  "noDaylightBurningEntityTypes": [
    "minecraft:zombie",
    "minecraft:skeleton"
  ],

  "daytimeSpawningEntityTypes": [
    "minecraft:zombie",
    "minecraft:skeleton",
    "minecraft:creeper",
    "minecraft:spider"
  ],

  "affectedDimensions": [
    "minecraft:overworld"
  ],

  "monsterSpawnBlockLightLimit": 0
}

Default Configuration

By default, no hostile mobs are allowed to spawn during the day.

The default configuration only disables sunlight burning for a few undead mobs. If you want daytime spawning, you must explicitly add the desired entity types to:

daytimeSpawningEntityTypes

Options

noDaylightBurningEntityTypes

A list of entity identifiers that should no longer burn in sunlight.

Example:

[
  "minecraft:zombie",
  "minecraft:skeleton"
]

affectedDimensions

A list of dimensions where the mod should apply.

Example:

[
  "minecraft:overworld",
  "aether:the_aether"
]

monsterSpawnBlockLightLimit

Controls the maximum block light level that hostile mobs may spawn in.

Vanilla value:

0

Allowed range:

0-15

daytimeSpawningEntityTypes

A list of hostile mobs that should be allowed to spawn during the day.

Example:

[
  "minecraft:zombie",
  "minecraft:creeper",
  "minecraft:spider"
]

Difficulty Warning

Enabling daytime spawning dramatically changes Minecraft's difficulty.

Even enabling a single mob type can make surviving the early game considerably harder.

The difference between enabling one mob type and enabling every vanilla hostile mob is mostly how quickly the hostile mob cap fills up, not whether daytime becomes dangerous.

For example:

  • Zombies alone can quickly populate the surface because they have a high spawn weight.
  • Skeletons make gathering early resources much riskier because they can attack from a distance.
  • Creepers can destroy terrain and early shelters.
  • Endermen remain relatively uncommon because they are naturally rare.

Because vanilla spawn weights and spawn locations are preserved, the exact difficulty depends heavily on which mobs you choose to enable.

If you enable every vanilla hostile mob, expect daytime to become a constant survival challenge rather than a safe exploration period.


Enable all vanilla hostile mob spawns

This list only includes mobs that naturally spawn in the overworld. Adding other entities to this list is harmless but has no effect.

"daytimeSpawningEntityTypes": [
  "minecraft:bogged",
  "minecraft:creeper",
  "minecraft:drowned",
  "minecraft:enderman",
  "minecraft:skeleton",
  "minecraft:spider",
  "minecraft:stray",
  "minecraft:witch",
  "minecraft:zombie",
  "minecraft:zombie_villager"
]

Disable sunlight burning for all vanilla undead mobs

noDaylightBurningEntityTypes only affects mobs that already burn in sunlight in vanilla Minecraft. Adding other entities to this list is harmless but has no effect.

Phantoms are excluded on purpose because they have different spawn and despawn rules that cause them to accumulate over time if they don't burn in the sun. Feel free to add them if you want.

"noDaylightBurningEntityTypes": [
  "minecraft:zombie",
  "minecraft:zombie_villager",
  "minecraft:skeleton",
  "minecraft:stray",
  "minecraft:bogged",
  "minecraft:wither_skeleton"
]

Recommended Mob Control Configuration

This mod was originally designed alongside Mob Control, which can be used to gradually introduce daytime spawns over the first few Minecraft days.

Rather than immediately allowing full daytime spawning, the example configuration below slowly increases spawn frequency:

Day Expected experience
Day 1 Mostly peaceful with occasional hostile encounters while exploring.
Days 2-3 Expect frequent encounters and regular fighting or fleeing, but still with occasional calm moments.
Day 4+ Daytime becomes consistently dangerous. Spending long periods outside shelter becomes increasingly difficult.

This creates a smoother difficulty curve while still allowing every configured mob to eventually spawn during the day.

Installing the configuration

  1. Install Mob Control.
  2. Run Minecraft once to generate the default configuration.
  3. Open:
config/mobcontrol.toml
  1. Copy the following rules into the configuration file.
################################################################################
# Day 1
################################################################################

[[mob]]
name=["minecraft:bogged", "minecraft:creeper", "minecraft:enderman", "minecraft:husk", "minecraft:skeleton", "minecraft:spider", "minecraft:stray", "minecraft:witch", "minecraft:zombie", "minecraft:zombie_villager"]

[[mob.rule]]
name="day1Spawns"
type="natural"
dimension=["minecraft:overworld"]
day=0
time-of-day="<12000"
run=1
cool-down=[80,200]
spawn.count=1

################################################################################
# Day 2-3
################################################################################

[[mob.rule]]
name="day2And3Spawns"
type="natural"
dimension=["minecraft:overworld"]
day=[1,2]
time-of-day="<12000"
run=100
cool-down=[40,150]

################################################################################
# Day 4+
################################################################################

[[mob.rule]]
name="day4PlusSpawns"
type="natural"
dimension=["minecraft:overworld"]
day=">2"
time-of-day="<12000"
run=100

################################################################################
# Keep vanilla nighttime spawning
################################################################################

[[mob.rule]]
name="vanillaNight"
type="natural"
dimension=["minecraft:overworld"]
time-of-day=">12000"
run=100

################################################################################
# Keep non-natural spawning (spawn eggs, spawners, commands, etc.)
################################################################################

[[mob.rule]]
type="all"

Important Notes

Mobs can still burn

A mob configured for daytime spawning will still burn in sunlight unless it is also included in:

noDaylightBurningEntityTypes

Mobs may not spawn where you expect

This mod only removes daylight restrictions.

It does not change:

  • Biomes
  • Spawn weights
  • Structures
  • Special spawn conditions
  • Spawn probabilities

If a mob rarely spawns at night, it will also rarely spawn during the day.


Modded dimensions

By default only the Overworld is affected.

Many modded dimensions use custom spawning systems and may behave differently.


Compatibility Information

This mod modifies vanilla spawning using mixins.

The following systems are modified:

  • DimensionType.MonsterSettings
  • HostileEntity#getPathfindingFavor
  • MobEntity#isAffectedByDaylight

Because of this, conflicts may occur with mods that:

  • modify monster light requirements;
  • alter hostile mob spawn checks;
  • replace mob pathfinding favor calculations;
  • completely rewrite mob spawning;
  • replace daylight burning behavior.

Examples of potentially incompatible mods include:

  • daylight spawning mods;
  • custom difficulty mods;
  • spawn overhaul mods;
  • mods that rewrite vanilla mob AI or spawning.

Compatibility with datapacks that only modify spawn tables is generally good.


For Modpack Authors

This mod intentionally preserves vanilla spawn rules and probabilities.

It is designed to work well alongside:

  • biome mods;
  • structure mods;
  • mob attribute mods;
  • mob behavior mods;
  • AI overhaul mods;
  • datapacks that change spawn lists.

If another mod also modifies the same mixin targets listed above, load order and compatibility may vary.


Frequently Asked Questions

Why aren't mobs spawning everywhere during the day?

Because this mod only removes daylight restrictions. Vanilla spawning rules still apply.


Why do some mobs still burn?

They need to be added to:

noDaylightBurningEntityTypes

Why don't Husks spawn in plains biomes?

Because Husks still use their vanilla desert spawning rules.


Why don't I see many daytime mobs?

This mod preserves vanilla spawn weights and spawn probabilities.

Some hostile mobs are naturally uncommon, and all normal spawning restrictions still apply.

If you have only enabled one or two mob types, they may also take longer to fill the hostile mob cap than if many different mobs are eligible to spawn.


Can I make the Nether or End use daylight spawning?

In theory, yes. Add the dimension identifier to:

affectedDimensions

However, dimensions without skylight may not behave as expected.


Why are Phantoms not recommended for disabling sunlight burning?

Phantoms have unusual spawning and despawn behavior. Preventing them from burning can cause large numbers of phantoms to accumulate over time.


Is this a complete spawn overhaul?

No.

The goal of this mod is simple:

Make the daytime feel as dangerous as the night while keeping Minecraft's normal spawning rules intact.

Screenshots

Gallery

  • MobsLoveSunlightAction.jpg
    MobsLoveSunlightAction.jpg MobsLoveSunlightAction.jpg
  • ScreenshotDaytimeMobs.jpg
    ScreenshotDaytimeMobs.jpg ScreenshotDaytimeMobs.jpg
  • Daylight mobs icon
    Daylight mobs icon Beware the mobs that don't burn in the sun and spawn during the day
  • Daylight mobs
    Daylight mobs Do not expect the surface to be safe if you enable daytime spawning and disable sun burning

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync