Onslaught [outdated/momentarily discontinued]

Onslaught [outdated/momentarily discontinued]

198k Downloads

Join our Discord for support



Documentation


Requires Athenaeum!

Onslaught
is a commissioned mod by codetaylor made for the Rebirth of the Night modpack. We'll adjust and add more to this description overtime, but a quick overview is that it is an extensive invasion mod made to allow for as much customization as possible. Inspired by Terraria invasions, there is a visible progress barandmobs defined in the config will spawn and seek the player out until they are killed whenever an invasion night occurs. The invasion ends after all mobs are killed.

Overview

  • Per-world
  • Mobs seek player
  • Defined in json templates in groups of waves
  • Time delayed, configurable
  • When wave is dead, spawn next wave faster, after N ticks, configurable
  • Server timed, every M to N days
  • Occur only at night
  • Have a unique configurable announcement message the morning prior
  • Visible invasion progress bar
  • Ends after invasion force is dead
  • Dimension whitelist / blacklist
  • Execute commands during invasion at given completion stages
  • Players can't sleep during invasion
  • Players can't change dimensions during an invasion

Invasion mobs

  • Allow spawning mobs with NBT data
  • Mobs that despawn due to chunk unloading are respawned
  • Can be json configured to spawn with potion effects
  • Can be json configured to drop additional bonus loot from external, json defined loot tables
  • Can be json configured to remain, die or simply disappear after sunrise
  • Can be NBT configured to have these additional AI roles:
  • ai_antiair: gives a mob the ability to magically pull them down when they see them, pretty mean
  • ai_mining: gives a mob the ability to dig towards their target, only use for mobs the size of a zombie
  • ai_explodeonstuck: gives a mob the ability to explode once they cant get any closer to their target
  • ai_counterattack: gives a mob the ability to counter attack with a leap towards the target after they're hit
  • ai_lunge: gives a mob the ability to move faster towards the target when they are close
  • ai_attack_melee: gives a mob the ability to chase and hurt a target, use on mobs that didn't have a melee attack like passive mobs

Spawning system

  • Prioritize dark locations far from player
  • Spawn at approximately the same Y level as player
  • Special "shadow spawn" logic if no valid spawn locations are found
  • Forces mobs to spawn in lit areas
  • Generates particles at the shadow spawn locations
  • Spawns are delayed
  • If spawn location becomes blocked, trigger fake explosion and clear a few blocks
  • Shadow spawn locations apply configurable potion effect to nearby players
  • Gamestage support
  • Select invasion based on player Gamestage
  • Exclude Gamestage, ie. select this invasion if player stage1, but not stage9001

Commands

  • Command to force start invasion

Documentation

  • Documentation of the .json syntax
  • Documentation of the commands
  • Documentation of the custom AI NBT syntax