promotional bannermobile promotional banner

Mineclonies X Fungal Infection: Spore

Unite your colony's defenses against the Fungal Infection! Equips guards to target Spore mobs proactively, shields colony territory from natural spawns, and adds immersive citizen infection & hospital cure mechanics.
Back to Files

minecolonies_spore-1.0.1.jar

File nameminecolonies_spore-1.0.1.jar
Uploader
JPanOuJPanOu
Uploaded
Nov 12, 2026
Downloads
9
Size
15.5 KB
Mod Loaders
NeoForge
File ID
9574587
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:mineclonies-x-1778274:9574587"

Learn more about Curse Maven

What's new

# Changelog - Minecolonies x Spore Integration

## [1.0.1] - Safe Spawning & Raid Preservation Update

### Fixed
- **MineColonies Raid Prevention Fix:** Modified `ColonySpawnBlocker.isRestrictedMob` and `onEntityJoinLevel` to explicitly ignore any entity belonging to the `"minecolonies"` namespace (such as Barbarians, Pirates, Egyptian Raiders, and colony guards).
  - *Previous Issue:* MineColonies raiders are classed as `Monster` / `Enemy`, which caused the spawn blocker to accidentally delete / cancel colony raids when they occurred near or inside the colony boundary.
- **Raid Event Whitelist:** Allowed spawns triggered with `MobSpawnType.EVENT` through `isAllowedInfectionSpawn`, ensuring scheduled colony attack events proceed normally.
- **Cross-Mod Hospitality Compatibility:** Added exemption for entities carrying the `"GourmetCustomer"` NBT flag, allowing restaurant customers (including monster customers like Zombies or Skeletons in GourmetCraft) to visit colony restaurants without being deleted by the territory spawn blocker.

### Compatibility & Standalone Safety
- **Soft Dependency on Spore:**
  - `spore` is marked as an optional dependency in `neoforge.mods.toml`.
  - All Spore-specific entity types, mob effects (`spore:mycelium`), damage types, and block tags are resolved dynamically through `BuiltInRegistries` and registry lookups with null checks.
  - If the `spore` mod is not installed or temporarily disabled, the mod runs quietly alongside Minecolonies without causing `ClassNotFoundException` or registry crashes.


This mod has no additional files