Illager Assault
Last updated
Last updated
Illager Assaults are events that occur should the player accumulate a large amount of Soul Energy.
The spawning mechanic is highly configurable under the Illager section of the goety-mobs.toml config file.
The amount of soul energy needed for an assault to occur is configurable under "illagerAssaultThreshold". The default amount for the event to occur is if the player possesses 2500 or more soul energy. The energy can be stored in either Totem or Arca.
The more soul energy the player has the more number and types of Illagers will spawn.
An assault can occur every configured number of ticks under "illagerAssaultSpawnFreq" (default: 12000 ticks) with a percent chance that's specified under "illagerAssaultSpawnChance" (default: 5%).
The assault will not occur if:
There are no players in the world.
The player doesn't have enough Soul Energy.
The world is on Peaceful mode.
The player is in Creative or Spectator mode.
The player is within 5 by 5 by 5 sub-chunk cube around a village and has less than the configured "illagerAssaultLimit" of Soul Energy.
The player is in a biome that's under the tag "without_patrol_spawns".
The player is in a dimension where Raids cannot occur.
The player has a rest period from command, from a Minister dying nearby or from dying to an Illager.
The area where the Illagers should spawn on is not loaded.
Assaults can spawn on any non-fluid block with a motion-blocking material, with the exception of leaves. They can spawn during the day on blocks with a block light level of 8 or lower. The mod picks a random location 24–48 blocks along each of the X and Z axis away from the player to try to spawn the assault.
Assaults can be forcibly spawned using the goety command:
/goety illager spawn
/goety illager spawn [targets]
Assaults spawned through command will reset the delay.
The type and number of mobs spawning in an assault depends on the player's Soul Energy amount:
(SE stands for Soul Energy, "illagerAssaultThreshold" default value is 2500)
Mobs spawned in assaults will immediately attempt to reach and attack the player. If the mobs have successfully killed or lose the player, they will attempt to target any non Creative/Spectator player within 64x32x64 area around them that has accumulated enough Soul Energy.
If the player has 5x the "illagerAssaultThreshold" amount, the mobs will spawn with enchanted weapons.
Enviokers and Inquillagers will have 25% chance of spawning with Diamond Swords instead of Iron.
If "soulEnergyBadOmen" is enabled, and the player's Soul Energy has reached or exceeded "illagerAssaultLimit", the assault will also give Bad Omen to the player for 120000 ticks.
If the player wears an Alarming Amulet on their Charm slot, the Raid sound will play whenever an assault is successfully spawned in.
The mechanic is introduced as a consequence for having too much Soul Energy, and to give an impression that the Illagers are enraged by the player using their magic.
Originally, the assaults uses the now removed Infamy points that the player can obtain by killing certain Illagers and doing certain actions. This was removed due to it's clunky and unsatisfying behavior.
Threshold | Mob Types |
---|---|
SE >= "illagerAssaultThreshold"
SE >= "illagerAssaultThreshold" * 2
SE >= "illagerAssaultThreshold" * 2.5
SE >= "illagerAssaultThreshold" * 3
SE >= "illagerAssaultThreshold" * 5