Pillager Caravans
Adds roaming pillager caravans with biome-themed loot and guarded convoys!
Pillager Caravans adds roaming, cargo-filled convoys guarded by pillagers, vindicators, and even ravagers. Instead of static treasure chests, caravans travel across biomes – sometimes near your base – with cargo that changes depending on the environment. The information provided here is intended to help understand the core concepts of the mod and customize it to your needs.
Key Concept
Caravan generation is fully data-driven. All customization is done either through a custom data pack, or in a config-like way using Fragmentum Layer, without needing to package or enable anything manually. It’s divided into two main parts – Caravan Variations and Caravan Placements:
- Caravan Variation defines what a caravan looks like: which mobs are part of it, what cargo it carries, and any special properties it has.
- Caravan Placement defines where and when caravans appear, setting their spawn conditions and selecting one of the available variations based on weighted chances.
Pack Structure
Examples
To see all features in action, check out the built-in Classic Caravans data pack.
Overriding
You can completely disable the built-in caravans by either turning off the Classic Caravans data pack or overriding its Caravan Placement files in your data pack with an empty biomes array.