MCA: Mob Compat 0.3.4 (Forge 1.20.1)
Curse Maven Snippet
What's new
0.3.4
- Fixed: Pillagers, Witches and Illagers greeted players and complained when hit. Two causes:
- A character's hidden MCA person stands inside its body, so a sword's sweep, a splash potion or a blast aimed at
the body reached the person too, and MCA's own
hurtreacted before this mod's attack-event veto: the person said MCA's hurt lines ("Ouch! Why did you hit me?"), lost hearts, and raised the bounty that makes MCA's guards nearby warn and then attack the player. Every character's person was exposed to this, a guard's or a recruit's included. A new optional hook on MCA's villagerhurt(McaProxyHurtHook, contractmca.proxy_hurt) refuses every hit on a hidden person but this mod's own relay (and an operator's/kill) before MCA reacts; a hit on the guard or the recruit itself still reaches MCA as an assault, as before. Without the hook the attack event still refuses the damage, and/mcamobcompat characters adaptersreports it. - The greetings came from MCA: Conversations, which picked a raider's person like any MCA villager. A hostile
character's person now carries the scoreboard tag
mcamobcompat_hostile, and MCA: Conversations 1.8.5 never picks such a person to greet a player, reply in chat or show interest. The tag is a family contract (FAMILY_COMPATIBILITY.mdrule 8), pinned byHostileTagContractTest.
- A character's hidden MCA person stands inside its body, so a sword's sweep, a splash potion or a blast aimed at
the body reached the person too, and MCA's own
- Each kind of Illager is dressed for its kind (
IllagerOutfit). Every Illager's person used to wear one of the four Pillager coats. Ten outfit kinds are added, four variants each, beside the Pillager's coat: brute (Vindicator), heavy (shield-bearers and knights), conjurer (Evoker), illusionist (Illusioner), necromancer, alchemist, pyromancer, cryomancer, scholar and engineer. The vanilla Illagers and the curated types of Illager Invasion, Savage & Ravage, It Takes a Pillage, Friends & Foes, Enchant with Mob, Illage and Spillage, Illager Revolution, Dungeons Mobs and Illager Additions each have a kind; any other Illager is judged by its type name, its spells, its armour and what it holds, and a datapack names a kind outright with the entity type tagmcamobcompat:illager_outfits/<kind>. A person still in a Pillager coat this mod gave it is re-dressed once. New server option[illagers] archetypeOutfits, on by default. - Fixed: guards made from villagers lost MCA's Follow.
- Guard Villagers follows only a player with Hero of the Village (its own
followHerodefault) and only once that player is ten blocks away, so MCA's Follow was accepted and the guard stayed where it was; and MCA's screen, which offers Follow, Stay and Move by MCA's own order, then showed no Follow. A following guard is now walked to within four blocks of its player, and teleported beside them past sixteen where Guard Villagers' ownguardTeleportallows it; a guard with an enemy fights first. New server option[guard_villagers] guardFollowWithoutHero, on by default, which overrides Guard Villagers' Hero of the Village rule for bridged guards; off, that rule decides, and MCA's Follow is refused with the reason for a player it would not follow. - MCA's order on the person and the native order on the actor are kept as one order, both ways, once a second and whenever MCA's screen is opened on the actor: an order given in Guard Villagers', Villager Recruits' or Villager Workers' own screen now shows on MCA's screen, so its buttons match what the actor is doing. Before, MCA's state only ever went down to the actor.
- MCA's Go Home walks a guard home: the guard is released, and MCA's walk home is replayed onto it. Before, MCA said the villager was on its way and nothing moved; a recruit or a worker refuses it with the reason, since it goes where its own mod sends it.
- Guard Villagers follows only a player with Hero of the Village (its own
- Hardened: an actor's own fight is never ended from its person's side. The target mirror between an actor and its person pushed an empty target on the person up to the actor, which could clear a guard's or a recruit's target mid-fight, again and again wherever that target was refused on the person. The person's side now clears the actor's target only to withdraw an add-on's own order it had pushed up (MCA: Crime's pursuit). Reports of Villager Recruits wandering in combat on NeoForge 1.21.1 were investigated there: in skeleton arenas, owned and following recruits with their persons fought and won as unbridged ones did, and nothing else in this mod was found to take a recruit's target away. On this build the recruit combat GameTests show the same.
- Tests: unit tests for the Illager outfit kinds (every curated Illager has one), the target mirror's decision,
the order reconcile and the hurt hook's contract; the clothing resource check covers the forty new textures;
HostileTagContractTestpins the tag; the MCA binding probe now checks the hurt hook's target in every probed MCA build (7.6.20 to 7.7.2, where it ism_6469_). New GameTests:aStrayHitOnARaidersPersonDrawsNothingFromMca,eachVanillaIllagerIsDressedForItsKind,anIllagerInAnOldRaidersCoatIsRedressedOnce,aGuardFollowsItsPlayerWithoutHeroOfTheVillage,anOrderOnGuardVillagersOwnFlagsShowsOnMcasScreen,anEmptyPersonNeverEndsTheGuardsFightandaHitThatWasNeverTheGuardsIsRefusedBeforeMca.aPersistedMcaOrderIsNotAppliedAgainAfterARestartnow expects MCA's screen to show the guard's own release, andvanillaIllagersGetIsolatedOutlawPersonsAndTrackDespawnseach vanilla Illager's own outfit.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include