minecolonies_spore-1.0.1.jar
Curse Maven Snippet
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

