MCA: Mob Compatibility: Configuration
On this page (21)
- Common config ( mcamobcompat-common.toml )
- [general]
- [modules]
- Client config ( mcamobcompat-client.toml )
- [rendering]
- [voices]
- Server config ( mcamobcompat-server.toml )
- [guard_villagers]
- [recruits]
- [workers]
- [pillagers]
- [illagers]
- [witches]
- [wandering_traders]
- [characters]
- [combat]
- [carry_on]
- [chores]
- [threats]
- [mounts]
- Per-mod recognition switches
MCA: Mob Compatibility uses three TOML configuration files. Every integration toggle, server rule, and client visual/voice preference has its own section and safe defaults.
| File | Location | Scope | When changes apply |
|---|---|---|---|
Common |
config/mcamobcompat-common.toml |
Module toggles & debug logging |
Immediately on reload (modules enabled mid-world activate on the server thread; caches drop automatically) |
Server |
<world>/serverconfig/mcamobcompat-server.toml |
Gameplay rules, NPC bridging, chores, threats, mounts |
Immediately on reload (server-authoritative; server syncs updated policy to connected clients automatically) |
Client |
config/mcamobcompat-client.toml |
Client rendering fallbacks & MCA villager voices |
Immediately on reload (visual/audio only; never alters server behavior or identities) |
[!TIP] To apply the same
mcamobcompat-server.tomlsettings to every newly created single-player or server world automatically, place a configured copy inside your instance’sdefaultconfigs/folder.
Common config (mcamobcompat-common.toml)
[general]
| Key | Type | Default | Effect |
|---|---|---|---|
debugLogging |
boolean |
false |
Logs detailed classification decisions and integration diagnostics at INFO level. Prefer /mcamobcompat commands when diagnosing individual entities. |
[modules]
Disabling a module makes MCA: Mob Compatibility completely ignore that mod’s entities. Turning a character module off stops bridging, routing, and rendering new actors while preserving existing records safely.
| Key | Type | Default | Effect |
|---|---|---|---|
guardVillagers |
boolean |
true |
Enables Guard Villagers integration. Warning: Turning this off also disables the conversion guard that prevents Guard Villagers from destroying MCA villagers. |
swem |
boolean |
true |
Enables SWEM ( swem) mount classification and ownership reading. |
geneticAnimals |
boolean |
true |
Enables Genetic Animals ( eanimod) livestock classification. |
dragnLivestock |
boolean |
true |
Enables DragN’s Livestock Overhaul ( dragnlivestock) livestock and mount classification. |
icysBetterHorses |
boolean |
true |
Enables Icy’s Better Horses ( icys_better_horses) ownership and hitching integration. |
alexsMobs |
boolean |
true |
Enables Alex’s Mobs ( alexsmobs) mount and pet classification. |
recruits |
boolean |
true |
Enables Villager Recruits ( recruits) character bridging. Warning: Turning this off also disables protection against Recruits’ villager conversions. |
workers |
boolean |
true |
Enables Villager Workers ( workers) character bridging (Forge 1.20.1 only; requires Recruits). |
carryOn |
boolean |
true |
Enables Carry On ( carryon) transport tracking for bridged characters. Off: characters cannot be carried. |
townstead |
boolean |
true |
Enables Townstead ( townstead) Roots, species rig, scale, and livery visual mirroring onto MCA render views. |
betterMobCombat |
boolean |
true |
Enables combat animation bridging and MCA model alignment for Better Mob Combat (via Mob Player Animator) and Better Mob Combat – Reimagined. |
Client config (mcamobcompat-client.toml)
Client options can only fall back to native rendering or native sounds; they never alter server-side identities, permissions, or controls.
[rendering]
| Key | Type | Default | Effect |
|---|---|---|---|
mcaAppearance |
boolean |
true |
Master client toggle to draw bridged characters as their MCA persons where allowed by the server. false draws every NPC using its own mod’s model. |
nativeRenderTypes |
list of strings |
[] |
List of entity type IDs (e.g., ["recruits:nomad"]) this client always draws with their native model. |
animationBridge |
boolean |
true |
Animates MCA-drawn characters and villagers with Better Mob Combat / Better Mob Combat – Reimagined weapon stances, combos, and ranged recoil. |
roleOutfits |
boolean |
true |
Draws role overlays ( recruit, noble, worker, cook) over serving characters’ own clothes where enabled on the server. |
townsteadLayers |
boolean |
true |
Mirrors Townstead Roots skin tints, overlays, attachments, custom eyes, species rigs, build proportions, senior hair, and state forms onto MCA render views. |
townsteadScale |
boolean |
true |
Mirrors Townstead life-stage scale (and Attributes.SCALE on 1.21.1) onto MCA render views. |
townsteadLivery |
boolean |
true |
Mirrors Townstead armor livery onto MCA render views. |
[voices]
Applies only to bridged actors currently drawn as their MCA persons, honoring MCA’s own useMCAVoices and useVanillaVoices configuration.
| Key | Type | Default | Effect |
|---|---|---|---|
mcaVoices |
boolean |
true |
Master client toggle for replacing native mob/villager sounds with gendered, pitched MCA villager voices. |
guardVillagers |
boolean |
true |
Use MCA voices for Guard Villagers guards. |
recruits |
boolean |
true |
Use MCA voices for Villager Recruits soldiers and nobles. |
workers |
boolean |
true |
Use MCA voices for Villager Workers villagers. |
wanderingTraders |
boolean |
true |
Use MCA voices for Wandering Traders. |
pillagers |
boolean |
true |
Use MCA voices for Pillagers. |
witches |
boolean |
true |
Use MCA voices for Witches (including Special Mobs Witches). |
illagers |
boolean |
true |
Use MCA voices for Vindicators, Evokers, Illusioners, and modded Illagers. |
Server config (mcamobcompat-server.toml)
[guard_villagers]
| Key | Type / Values | Default | Range | Effect |
|---|---|---|---|---|
blockGuardConversion |
boolean |
true |
— |
Safety critical: Blocks Guard Villagers’ destructive crouch-right-click villager conversion on both client and server. |
recruitMcaVillagersAsGuards |
boolean |
true |
— |
Turns the blocked crouch-right-click weapon gesture into safe enlistment ( guardRecruitmentMode). Requires blockGuardConversion = true. |
guardRecruitmentMode |
NATIVE_GUARD, MCA_PROFESSION |
NATIVE_GUARD |
— |
NATIVE_GUARD: creates a Guard Villagers guard keeping the exact MCA villager hidden behind it (needs treatGuardsAsMcaGuards & guardMcaInteraction). MCA_PROFESSION: assigns MCA’s mca:guard profession in place. |
treatGuardsAsMcaGuards |
boolean |
true |
— |
Gives #mcamobcompat:guard entities persistent MCA identities (name, gender, personality, hearts) while Guard Villagers is active. |
guardMcaInteraction |
boolean |
true |
— |
Pairs each bridged guard with a hidden MCA villager so plain right-click opens MCA’s screen and crouch-right-click opens Guard Villagers’ inventory. Requires treatGuardsAsMcaGuards. |
guardAppearance |
MCA, NATIVE |
MCA |
— |
Server policy for drawing bridged guards as their MCA person ( MCA) or Guard Villagers’ model (NATIVE). |
guardShowNameTag |
boolean |
true |
— |
Permanently shows the guard’s rolled/MCA name above its head. Turning off stops new guards from receiving one without stripping existing nameplates. |
protectMcaVillagers |
boolean |
true |
— |
Alerts nearby guards when a hostile mob attacks or targets an MCA villager or Villager Workers worker. |
preventGuardFriendlyFire |
boolean |
true |
— |
Prevents guards from targeting MCA villagers and cancels accidental guard/arrow damage to MCA villagers. |
retaliateAgainstPlayers |
boolean |
false |
— |
Also alerts guards when a player attacks an MCA villager. |
guardHelpRange |
integer |
32 |
1–128 |
Search radius (in blocks) for alerting nearby guards. |
maxGuardsAlerted |
integer |
8 |
1–64 |
Maximum guards alerted by a single attack incident. |
followAddonTargets |
boolean |
true |
— |
Pushes player pursuit targets set by MCA addons (e.g., MCA: Crime) on the hidden proxy up to the visible guard. |
guardFollowWithoutHero |
boolean |
true |
— |
Lets bridged guards ordered to Follow walk to their player (and teleport past 16 blocks if Guard Villagers’ guardTeleport allows) even without Hero of the Village. |
[recruits]
| Key | Type / Values | Default | Range | Effect |
|---|---|---|---|---|
mcaCharacters |
boolean |
true |
— |
Gives all Villager Recruits soldiers, companions, and nobles persistent MCA persons. |
mcaInteraction |
boolean |
true |
— |
Plain right-click opens MCA’s screen; crouch-right-click opens Recruits’ inventory/orders or hire screen. |
appearance |
MCA, NATIVE |
MCA |
— |
Server policy for drawing recruits as MCA persons or Recruits models. |
villagerConversion |
ENLIST, BLOCK |
ENLIST |
— |
ENLIST: noble hires targeting an MCA villager enlist that same person through Recruits’ emerald payment/ownership. BLOCK: refuses the hire unpaid. Automatic profession/noble conversions are always blocked. |
lawEnforcement |
boolean |
false |
— |
Assigns MCA’s mca:guard profession to recruits’ hidden persons so MCA: Crime and MCA: Reputation treat them as law enforcement. |
followAddonTargets |
boolean |
true |
— |
When lawEnforcement is true, forwards MCA addon pursuit targets onto eligible recruits (respecting owner, allies, treaties, stances, and hold-fire). |
protectMcaVillagers |
boolean |
true |
— |
Alerts nearby idle recruits (Neutral/Aggressive stance, not holding fire, non-noble) when mobs attack MCA villagers or workers. |
retaliateAgainstPlayers |
boolean |
false |
— |
Also alerts eligible recruits when a player attacks an MCA villager. |
helpRange |
integer |
32 |
1–128 |
Search radius (in blocks) for alerting recruits. |
maxAlerted |
integer |
8 |
1–64 |
Maximum recruits alerted per incident. |
preventFriendlyFire |
boolean |
false |
— |
Stops recruits from targeting MCA villagers due to “attack what owner attacks”, except on Raid stance or in self/owner/protectee defense. |
showNameTag |
boolean |
false |
— |
Permanently shows the recruit’s MCA name above its head (only adds to new/un-named recruits when enabled). |
[workers]
(Applicable on Forge 1.20.1; keys exist identically on NeoForge 1.21.1 where Villager Workers is unavailable.)
| Key | Type / Values | Default | Effect |
|---|---|---|---|
mcaCharacters |
boolean |
true |
Gives Villager Workers villagers persistent MCA persons. |
mcaInteraction |
boolean |
true |
Plain right-click opens MCA’s screen; crouch-right-click opens Workers’ management screen (for owners) or merchant stall (for customers). |
appearance |
MCA, NATIVE |
MCA |
Server policy for drawing workers as MCA persons or Workers models. |
preventFriendlyFire |
boolean |
false |
Stops workers from targeting MCA villagers under inherited Recruits owner-attack rules. |
showNameTag |
boolean |
false |
Permanently shows the worker’s MCA name above its head. |
[pillagers]
| Key | Type / Values | Default | Effect |
|---|---|---|---|
enabled |
boolean |
true |
Gives vanilla Pillagers ( minecraft:pillager) persistent, hostile MCA persons. Off suspends without deleting records. |
appearance |
MCA, NATIVE |
MCA |
Draws bridged Pillagers as MCA persons in raider coats or vanilla models. |
[illagers]
| Key | Type / Values | Default | Effect |
|---|---|---|---|
enabled |
boolean |
true |
Master toggle for vanilla and modded Illagers (excluding Pillagers). |
appearance |
MCA, NATIVE |
MCA |
Draws bridged Illagers as MCA persons or native models. |
archetypeOutfits |
boolean |
true |
Dresses each Illager according to its combat/magic archetype across 11 pools (re-dresses existing old Pillager coats once). Off uses Pillager coats. |
vindicators |
boolean |
true |
Bridges minecraft:vindicator. |
evokers |
boolean |
true |
Bridges minecraft:evoker. |
illusioners |
boolean |
true |
Bridges minecraft:illusioner. |
illagerInvasion |
boolean |
true |
Bridges humanoid Illagers from Illager Invasion ( illagerinvasion). |
savageAndRavage |
boolean |
true |
Bridges humanoid Illagers from Savage & Ravage ( savage_and_ravage). |
itTakesAPillage |
boolean |
true |
Bridges humanoid Illagers from It Takes a Pillage ( takesapillage). |
friendsAndFoes |
boolean |
true |
Bridges Illagers from Friends & Foes ( friendsandfoes). |
enchantWithMob |
boolean |
true |
Bridges Enchanters from Enchant with Mob ( enchantwithmob). |
illageAndSpillage |
boolean |
true |
Bridges curated humanoid Illagers from Illage and Spillage ( illageandspillage). |
otherModdedIllagers |
boolean |
true |
Bridges Illager Revolution, Dungeons Mobs, Illager Additions, #mcamobcompat:illager, and auto-detected humanoid Illagers. |
autoDetectModdedIllagers |
boolean |
true |
Under otherModdedIllagers, auto-bridges unknown humanoid AbstractIllager subclasses (width <= 1.2, 1.5 <= height <= 2.6) not in #mcamobcompat:excluded_illagers. |
[witches]
| Key | Type / Values | Default | Effect |
|---|---|---|---|
enabled |
boolean |
true |
Gives vanilla Witches persistent, hostile MCA persons in witch outfits. |
appearance |
MCA, NATIVE |
MCA |
Draws bridged Witches as MCA persons or vanilla models. |
includeSpecialMobs |
boolean |
true |
Also bridges Special Mobs ( specialmobs) themed Witch subclasses while [witches] enabled is true. |
[wandering_traders]
| Key | Type / Values | Default | Effect |
|---|---|---|---|
enabled |
boolean |
true |
Gives Wandering Traders persistent visiting MCA persons. |
appearance |
MCA, NATIVE |
MCA |
Draws Wandering Traders as MCA persons (automatically uses native invisible rendering while invisibility potions are active). |
allowSettlement |
boolean |
true |
Allows players liked by the trader to invite it to settle into a village via dialogue "Ask to stay" or /mcamobcompat character settle. |
[characters]
| Key | Type / Values | Default | Range | Effect |
|---|---|---|---|---|
editorPermission |
ANYONE, OWNER_OR_UNOWNED, OPERATORS |
OWNER_OR_UNOWNED |
— |
Who may open MCA’s Villager Editor on bridged characters. |
editorAdminPermissionLevel |
integer |
2 |
0–4 |
Permission level needed to alter age, traits, personality, mood, memories, or family links in the editor. |
editorSessionMinutes |
integer |
10 |
1–120 |
Duration before an open editor session expires. |
playerEnlistment |
boolean |
true |
— |
Allows players to run /mcamobcompat character enlist <role>. |
playerCivilianReturn |
boolean |
true |
— |
Allows enlisters/owners (operators always may) to run /mcamobcompat character release. |
forwardMcaCommands |
boolean |
true |
— |
Forwards MCA’s Follow, Stay, and Move orders to the native NPC’s controller. |
socialPause |
boolean |
false |
— |
Holds recruits/workers still for up to 30 seconds while talking through MCA’s screen. |
roleOutfits |
boolean |
true |
— |
Draws recruit, noble, worker, and cook outfits over serving characters’ own clothes. |
roleDialogue |
boolean |
true |
— |
Enables role-aware MCA opening greetings for serving guards, recruits, workers, and cooks talking to their own player. |
[combat]
| Key | Type | Default | Effect |
|---|---|---|---|
protectAlliedFire |
boolean |
true |
Cancels accidental NPC hits between allies (same owner, same team, Recruits allied factions, or non-hostile native NPCs vs MCA villages). |
protectNeutralCivilians |
boolean |
true |
Cancels incidental hits and stray arrows from combatant NPCs onto neutral MCA villagers or Villager Workers workers. |
[carry_on]
| Key | Type | Default | Effect |
|---|---|---|---|
carryCharacters |
boolean |
true |
Lets Carry On pick up bridged character actors while keeping their hidden MCA persons attached across moves, dimensions, and restarts. |
[chores]
| Key | Type / Values | Default | Effect |
|---|---|---|---|
protectOwnedAnimals |
boolean |
true |
Protects animals reporting a vanilla or Icy’s Better Horses owner from MCA hunting chores. |
protectedRoles |
list of strings |
["mount", "pet"] |
MobRole tag names protected from MCA hunting chores (matched case-insensitively). livestock is intentionally omitted by default. |
protectNamedAnimals |
boolean |
true |
Protects any animal with a custom name tag from MCA hunting chores. |
protectLeashedAnimals |
boolean |
true |
Protects any animal attached to a lead from MCA hunting chores. |
abandonHuntOnProtectedTarget |
boolean |
true |
Clears the hunting villager’s target via McaBinding when an attack is blocked so it does not swing forever. |
[threats]
| Key | Type | Default | Range | Effect |
|---|---|---|---|---|
creeperAwareness |
boolean |
true |
— |
Lets MCA villagers notice and react to entities in #mcamobcompat:npc_threats. |
creeperAlertRange |
integer |
8 |
2–32 |
Maximum sight distance (blocks) at which villagers assess threats. |
swellingFleeRange |
integer |
4 |
1–16 |
Range within which everyone (guards included) flees a burning fuse (doubled for charged creepers). |
guardsEngageCreepers |
boolean |
true |
— |
Lets healthy adult MCA guards and archers attack non-deadly creepers instead of fleeing. |
dismountToFlee |
boolean |
true |
— |
Makes mounted MCA villagers dismount before fleeing a threat. |
[mounts]
| Key | Type / Values | Default | Effect |
|---|---|---|---|
npcRidingPolicy |
REFUSE, ALLOW_INERT |
REFUSE |
REFUSE: cancels MCA villager riding on #mcamobcompat:player_only_mounts or owned/hitched Icy’s horses and notifies the player. ALLOW_INERT: seats the villager anyway as an unsteerable passenger. |
Per-mod recognition switches
| Section | Key | Type | Default | Effect |
|---|---|---|---|---|
[swem] |
recognizeAsMounts |
boolean |
true |
Recognizes SWEM horses as mounts (read-only). |
[genetic_animals] |
recognizeLivestock |
boolean |
true |
Recognizes Genetic Animals ( eanimod) entities as livestock. |
[dragn_livestock] |
recognizeLivestock |
boolean |
true |
Recognizes DragN’s Livestock Overhaul O-Animals as livestock/mounts. |
[icys_better_horses] |
recognizeOwnership |
boolean |
true |
Reads Icy’s Better Horses ownership for hunting and riding protection. |
[alexs_mobs] |
recognizeAnimals |
boolean |
true |
Classifies Alex’s Mobs’ 4 ground mounts and 20 tamable pets (when off, tamed animals are still protected by vanilla ownership). |