MinecraftHub.io
Java Mods

Mob Sunscreen

Stops mobs that normally burn in daylight from catching fire, including mobs added by other mods. You choose which ones in a config file.

MinecraftHub-generated cover art for Mob Sunscreen: a floating wooded block island with a workshop of crafting tables and furnaces, under a night sky

Screenshot 1 of 1. MinecraftHub-generated cover art for Mob Sunscreen: a floating wooded block island with a workshop of crafting tables and furnaces, under a night sky

What Mob Sunscreen works with.

PlatformJava Edition
LoadersFabric, NeoForge
Minecraft versions1.18, 1.18.2, 1.19.4, 1.20.4, 1.21.11, 26.1.2, 26.2
EnvironmentClient, Server

Mob Sunscreen keeps mobs that normally burn in daylight from burning, and it covers mobs added by any other mod. It runs on Fabric and NeoForge, with older Forge builds that have stopped. It works on the server, and it does nothing until you tell it which mobs to protect.

Loaders and versions

  • Fabric: Minecraft 1.18 to 26.2. The newest build requires Cloth Config API, Fabric API and Forge Config API Port; builds for 1.21.11 need no dependencies; builds for 1.18 to 1.21.10 require Cloth Config API and Fabric API.
  • NeoForge: Minecraft 1.20.2 to 26.2. The newest build needs no dependencies.
  • Forge: Minecraft 1.12.2 to 1.20.1, builds stopped after June 2024. The newest build needs no dependencies.

Choosing which mobs are protected

Nothing is protected by default. The config takes a mob's resource location, written as modid:name, so you decide exactly who gets sunscreen. You can list one mob in full, or give a mod id alone to cover every mob from that mod. The config ships with examples of both.

  1. 1.Press F3+H in game to turn on advanced tooltips.
  2. 2.Open creative mode and hover over a spawn egg or spawn item. The extra line shows the mob's resource location.
  3. 3.Copy that value into the mod's config, either as a full modid:name entry or as a bare mod id.

Installation and sides

Put the mod file in your mods folder, along with the dependencies listed for your loader, then launch with that loader's profile. If you have not set up a loader yet, see how to install Fabric or Forge and NeoForge.

Trade-offs

It does one thing, and the hand-written config is the whole interface. You must look up each mob's identifier yourself. Forge builds stopped after June 2024, so Forge players are limited to the older releases. The creator also points to Burn in the Sun as a good companion.

Questions about Mob Sunscreen.

4 questions

How do I configure Mob Sunscreen?

Open the config and list the mobs you want protected by resource location, written as modid:name. You can also enter a mod id alone to cover every mob from that mod. To find a mob's name, press F3+H, open creative and hover over its spawn egg. The config includes examples of both styles.

Does Mob Sunscreen work with mobs from other mods?

Yes. It can stop any mob from any mod from burning in sunlight. You add the mob's full resource location to the config, or the mod id alone to protect all mobs from that mod. Nothing is protected until you add entries, so an empty config changes nothing.

Does Mob Sunscreen need to be installed on the client?

The creator says that since 3.0.0 the client does not need it and the server alone is enough. Modrinth lists both sides as required, so installing it on both is the cautious route if you are unsure which release you run.

Can I put Mob Sunscreen in a modpack?

Yes. The creator says there is no need to ask permission before adding it to a modpack. A link back to the mod is appreciated but not required.

More Java Mods like Mob Sunscreen.

Guides for Java Mods.

Browse all Minecraft Java mods ↗