What problem does it solve?
SpawnTable-driven system that replaces vanilla Minecraft mobs with weighted custom enemies within defined spatial boundaries, enabling predictable encounters and reducing reliance on vanilla spawn logic. It covers the SpawnTable data model, dimension/distance/coordinate-based branching, baseMob attribute overrides, and the runtime flow using maf_vh_checked tags and maf_vh_rand scoring.
Core Features & Use Cases
- Weighted spawn replacements: define a master spawn table with a replacement list and a baseMob.
- Attribute overrides: optionally override HP, Attack, Defense, and MoveSpeed via BaseMobAttributes, applied after replacement decisions.
- Spatial scoping: apply changes within specified dimension, distance, and axis-aligned bounding box ranges; supports per-table zoning and overlap validation.
- Export pipeline: generate per-table function files and dispatchers to plug into the datapack's generated/enemy/replace path.
Quick Start
Create or modify savedata/spawn_table entries and run the export pipeline to generate datapack artifacts.