promotional bannermobile promotional banner

Annoying Villagers Progression System Rework

Enhances the progression system of the Annoying Villagers mod to be more entertaining and chaotic.

Annoying Villagers Progression System Rework

Replaces the dimension-based progression of Annoying Villagers with three phases that advance with game ticks, never with dimensions or advancements, and changes spawning, loot and behavior in each phase.

Requires Annoying Villagers. SmartNpc is optional. NPC spawns, groups and loot only exist with it. Everything runs on the logical server, so on a dedicated server install it there. Clients without it only miss the translated chat texts, which show the English text.

Phases

Progress is based on game ticks in the Overworld. Defaults. Config phases. Medium after 108000 ticks, 1.5 hours of play. Hard after 432000 ticks, 6 hours. /avprs phase shows the phase. /avprs setphase easy, medium or hard, with op permissions, moves progress to the start of a phase. /avprs horde player summons a horde.

Villager Scout

Easy. Weight 11, groups 1-4.

Medium. Weight 12, groups 1-4.

Hard. Weight 12, groups 1-4.

Scout Captain

Medium. Weight 10, groups 1-3.

Hard. Weight 10, groups 1-3.

Villager Knights. Each of the 4

Medium. Weight 3, groups 1-2.

Hard. Weight 10, groups 1-4.

SmartNpc NPC

Easy. Weight 8, single, usual loot.

Medium. Weight 8, groups 1-3.

Hard. Weight 10, groups 1-3.

Weights mean the same as vanilla creature weights. Cow 8, pig 10, sheep 12. Everything is editable in avprogressionrework-common.toml. Spawns phase kind weight, min group, max group. Weight 0 means off.

MEDIUM

Chat message when the phase starts, translatable. "The world begins to become unstable..."

Normal zombies, not husks, drowned or zombie villagers, spawn with weapons and armor more often.

NPCs that spawn in a group are friendly to each other. They share a scoreboard team, which SmartNpc treats as allies.

NPCs get a little extra loot. Vanilla items, nothing better than diamond, and the medium Annoying Villagers list, the nine listed weapons and any ruby armor, preferring Annoying Villagers items with a 70% priority.

Three Villager Knights close together, within 12 blocks, can summon an Iron Golem Warrior with no weapons, 50 hearts and 7 attack damage, with the chat message. "<Villager Knight> Summoning... IRON GOLEM WARRIOR!" Each knight checks every 5 seconds with a 25% chance, so three knights together usually summon one within a few checks. The same rule also works in HARD, with the HARD golem.

HARD

NPCs get OP loot. Netherite and enchanted vanilla gear, totems, enchanted golden apples, and every Annoying Villagers weapon and armor except the excluded ones from the list.

A Villager Knight under 25% health has a 20% chance to summon an Iron Golem Warrior, rolled again every 5 seconds while it stays that low. It holds an enchanted emerald in its off hand for 1.5 seconds, then the emerald is replaced by what it held before while glass breaks and a zombie villager is cured.

The golem keeps normal stats and its helmet, holds only a diamond halberd, 75%, or diamond battleaxe, 25%. 30% of the time the weapon has Sharpness 3 and the helmet Protection 3.

Hordes, random with a cooldown. A big group of 10-16 zombies with full diamond armor and iron swords appears 24-40 blocks from a player, together with two Red Shirt Zombies that carry random enchanted diamond gear, 90% per slot, and an 85% chance that each item drops.

The chat shows the message "A horde has just begun..." and is translatable.

Settings in horde. Default is a check every 2 minutes with a 4% chance and at least 20 minutes between hordes.

/avprs horde player summons one in any phase. Without Avremastered Tweaks only the zombies appear.

All phases

Any Iron Golem Warrior has a 50% chance of exploding when it dies, configurable through iron golem warrior explosion chance and explosion power, and hates players by default. It targets any player it can see, not only the ones it is angry at.

Villager Scouts and Scout Captains cannot use the fishing rod. Its combat goal is removed.

Villager Knights always have enchantments on their armor and weapons. A low level enchantment is added if missing.

Scouts and captains only appear mounted on cows, sheep and chickens. Knights only on polar bears. When Annoying Villagers picks another animal, that mount is swapped for an allowed one with the same hidden buffs.

Knights never summon golems in the EASY phase. At most 3 Iron Golem Warriors can be near a knight within 48 blocks, configurable through max nearby golems, and a knight that summoned one waits 5 minutes through cluster cooldown ticks. A line in the log tells you whenever a knight summons one.

Villagers picking up items

Easy. No villager, scout, captain or knight, picks up items.

Medium. Half of them, configured through villager pickup medium share, decided once per villager and saved with it.

Hard. All of them.

Annoying Villagers NPCs pick items up with their own code once a second, so for a villager that may not, the items around it get a one tick pick-up delay right before that code runs. A player can still take them the next tick.

Annoying Villagers own phase

Annoying Villagers raises its own progression when a player changes dimension or the dragon dies, and uses it for what it changes per phase.

With phases sync annoying villagers progression, enabled by default, its progression is kept equal to this mod's phase, checked every second. When a phase starts, Annoying Villagers matching phase starts with it, and dimensions or the dragon can no longer move it. SmartNpc follows Annoying Villagers progression.

What this mod sets itself, spawn tables, golem stats and weapons, loot, is applied on top and re-applied on the golem's first ticks, so it has priority where both touch the same thing.

How spawning works

The biome spawn entries of these mobs, added by Annoying Villagers, SmartNpc or Remastered Patches, are removed, because a biome list is fixed when the world loads and cannot follow the phase.

Instead each chunk gets a pass that does what vanilla does for creatures while a chunk is generated. With the biome's creature probability it picks an entry by weight from the biome's creature list, animals included, plus the entries of the current phase, and spawns a group only when one of ours is picked.

A chunk gets a pass when it is created and once per phase the first time it loads in that phase, also around players when the phase changes.

Annoying Villagers progression requirement in its spawn rule is bypassed. SmartNpc keeps its own rule, population cap, names and daytime.

If Remastered Patches 1.1.2 or newer is installed, its villager spawn system steps aside.

Things to know

The progression systems of Annoying Villagers and SmartNpc themselves, dimension-based, still exist and drive their own internals. This mod's phases are separate and only control what is described above.

Group sizes that were not specified. Easy NPCs spawn alone, Hard NPCs 1-3, Hard scouts and captains keep their Medium values. Weight 1-3 for captains was read as a group of 1-3.

Annoying Villagers Progression System Rework Team

profile avatar
  • 23
    Followers
  • 33
    Projects
  • 617.1K
    Downloads

More from DanielhackerXDView all