Links
Tags
Creators
Details
All versions
2.0.0
Release
Protect Mobs From Daylight 2.0.0 (NeoForge 26.x)1 hour ago 6
Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
Platform
NeoForge
Supported environments
Server-side
Singleplayer
Changes
[2.0.0]
Added
- Minecraft
1.21.1–1.21.11&26.1–26.4+Support: Updated for both Fabric and NeoForge (Java 21 for1.21.x, Java 25 unobfuscated for26.x). - Blacklist / Whitelist Filtering: Configure
modeasBLACKLIST(protect all mobs except listed ones) orWHITELIST(protect only listed mobs) inconfig/protectmobsfromdaylight.json. - In-Game Config Screen (Cloth Config): Switch between Blacklist and Whitelist and add/remove entity IDs (e.g.
minecraft:zombieorzombie) with live entity ID validation via Mod Menu (Fabric) or Mods -> Config (NeoForge). - Live Config Reload & Localization: Manual edits to
protectmobsfromdaylight.json(including case-insensitivemode) reload automatically; addeden_usandtr_trtranslations. - Automated Multi-Platform Publishing: Added GitHub Actions release workflow (
mod-publish-plugin) for GitHub Releases, CurseForge, and Modrinth.
Changed
- Replaced legacy Forge target with NeoForge and restructured the project around a shared
commoncodebase. - Removed unnecessary
fabric-apiruntime dependency on Fabric so the mod works across new game drops immediately.
Optional dependencies
Any compatible version
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:iMWSjs7k:g6FsjvsI"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:iMWSjs7k:g6FsjvsI"
}

