promotional bannermobile promotional banner

Base Raid (Ominous Bottle Backport and Custom Pillager Patrols)

Turn your base into a battleground! This mod triggers raids at your home when Bad Omen expires near beds. Pairs perfectly with raid mods and even patrol-capable golems for a full-on base defense experience. 🛡️🔥

File Details

base_raid-0.5.jar

  • R
  • May 30, 2025
  • 25.21 KB
  • 17.1K
  • 1.20.1
  • Forge

File Name

base_raid-0.5.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:base-raid-1274480:6597646")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

✨ New Features

  • Custom Patrol Limit: Prevents more than 5 patrols from being active at the same time (approx. by counting Pillagers + Ravagers).
  • Patrol Follower AI: Added FollowPatrolLeaderGoal, a custom goal that allows mobs like Ravagers and special patrol mobs to follow the Patrol Leader.
  • Vanilla Patrol Toggle: Automatically enables vanilla patrols again if enableCustomPatrols is disabled in config.
  • Base Raids Modularized: Moved base raid logic into its own class HomeRaidSpawnLogic for better structure.

⚙️ Config Enhancements

New Config Options (under "pillager patrols" and "special patrols"):

  • enableCustomPatrols, patrolSpawnInterval, patrolSpawnChance, minPillagers, maxPillagers, patrolLeaderSpawn, patrolRavengers, addSpecialPatrols, specialIllagers, specialIllagerAmount, specialPatrolChance

Compatibility Toggles added:

  • huntersReturn, enchantWithMob, itTakesAPillage, savageAndRavage, illageAndSpillageRespillaged, illageAndSpillageBosses, difficultRaids, difficultRaidsBosses
  • (These allow automatic addition of modded mobs to patrols)

🔥 Ominous Bottle Improvements

BottleLootScriptGen now respects config:

  • dropFromCaptain decides whether the bottle drops from pillager captains.
  • dropChance and bottleDropMob used to control script output to kubejs/server_scripts/baseraid_ominous_bottle.js.

🧠 Refactoring & Cleanup

  • Code for raid triggering moved to a dedicated class (HomeRaidSpawnLogic) to separate concerns.
  • New class VanillaPatrolHandler for toggling the doPatrolSpawning gamerule.
  • Entire patrol spawning system encapsulated in CustomPatrolSpawner.