Effective Instruments: Compatibility
On this page (6)
Effective Instruments (1.7.0, Forge 1.20.1) is built around quarantined optional integrations: every external mod dependency is optional (compileOnly at build time and gated via ModList.isLoaded or bytecode verification at runtime), so the mod loads cleanly with any combination of backends and companions.
Multiplayer and client/server rules
- Required on both sides: Network protocol is 6 (
effectiveinstruments:main). Client and server must both run Effective Instruments1.7.0;1.6.xand vanilla clients are refused at login. - Server-authoritative sync: On login and after every
/effectiveinstruments reloador/reload, the server sends the resolved aura catalog (SyncAuraCatalogS2CPacket) and durability/instrument table (SyncInstrumentDataS2CPacket) to all clients. Clients without local JSON overrides see the server’s exact preset list, spell descriptions, repair materials, and durability bars. - Backend parity: Install Genshin Instruments, Even More Instruments, Immersive Melodies, and Iron’s Spells ‘n Spellbooks on both client and server whenever you enable them.
Instrument backends
Mod (modId) |
Version | Tier | How Effective Instruments integrates |
|---|---|---|---|
Genshin Instruments ( genshinstrument) |
5.0+ |
Stationary |
Subscribes to NoteSoundPlayedEvent, HeldNoteSoundPlayedEvent (ATTACK/RELEASE), and InstrumentOpenStateChangedEvent; injects the selector widget onto InstrumentScreen via reflection (GenshinInstrumentScreenBridge) |
Even More Instruments ( evenmoreinstruments) |
6.0+ (tested 6.1.4) |
Stationary |
Requires Genshin Instruments; all 24 instruments (8 core + 16 note-block variants) extend GI’s screen and note events automatically. Accessories (bow, bachi, records, looper) are excluded |
Immersive Melodies ( immersive_melodies) |
0.6.0+ (tested 0.8.0+1.20.1) |
Mobile |
Reads held ItemStack NBT (playing=true) for autoplay and uses a non-required server mixin (ImHookPlugin → NoteBroadcastRequest.handle) to count verified free-play notes. Selector overlay renders directly on ImmersiveMelodiesScreen and ImmersiveMelodiesFreePlayingScreen |
Other instrument mods |
Any |
Stationary |
Mods can call EffectiveInstrumentsAPI, or pack makers can add screen classes to screens.screenClassAllowlist (client.toml) and tag items #effectiveinstruments:instruments |
[!NOTE] If Immersive Melodies’ free-play mixin cannot verify (
ImHookPlugin), autoplay continues working normally, while open-screen free-play falls back to legacy potion auras without wear (spell auras require verified playback).
Iron’s Spells ‘n Spellbooks (irons_spellbooks)
- Tested release:
1.20.1-3.16.3(with Iron’s Lib1.20.1-2.1.0, Curios5.14.1+1.20.1, GeckoLib4.8.3, Player Animator1.0.2-rc1+1.20). Coexistence smoke-tested with Ars Nouveau (6688854) + Ars ‘n Spells (3.4.0) + Patchouli (1.20.1-85). - Two independent integrations:
- Spell provider (
[ironsSpellbooks]): Uses a non-required mixin config (effectiveinstruments.irons.mixins.json). Before any class loads,IronsHookPluginverifies that the Iron’s version starts with1.20.1-3.16.and that all10pinned gameplay method/call-site signatures match in the Iron’s jar. If verification fails (such as on3.4.xor3.15.x), all gameplay hooks skip cleanly andAUTOfalls back to legacy potion auras.3optional presentation hooks (MagicManager.spawnParticles,CameraShakeManager.addCameraShake,EarthquakeAoe/PoisonSplashtick attribution) verify independently. - Summon performer adapter (
[npcs.irons_spellbooks]): Open-range compatible (3.4+and3.16.x); allows Iron’s summons to play held instruments usingIMagicSummon.getSummoner()andSetSummonOwnerEventcaching.
- Spell provider (
- Uninstalling Iron’s from a world: EI itself stores no blocking world data when Iron’s is removed and restores legacy potion auras automatically. However, Iron’s Spells registers the
irons_spellbooks:pocket_dimensiondimension type, which vanilla refuses to load if Iron’s is removed without clearing that dimension entry fromlevel.dat.
NPC and library adapters
All 8 NPC performer adapters plus Pehkui load via ServiceLoader only when their mod ID is present (ModList.isLoaded):
Mod (modId) |
Minimum tested / targeted version | Role | Key caveats |
|---|---|---|---|
recruits |
1.15.0+ |
Performer + OWN_PET / ALLY |
Scans backpack inventory; respectRecruitsFaction honors shared owner UUID only (Recruits diplomacy relations are not read) |
guardvillagers |
1.7.05+ |
Performer + owner |
Falls back to nearest Hero of the Village player within heroPlayerRadius (24); stops while patrolling |
easy_npc |
5.0+ |
Performer |
Profession swaps rebuild AI goals; goal re-attaches on rejoin or /effectiveinstruments reload |
doggytalents |
1.18.64+ |
Performer |
Off-hand preferred; requires sitting or DOCILE mode by default; minimum 100-tick cooldown |
irons_spellbooks |
3.4+ / 3.16.x |
Performer + owner cache |
3.4.x honors minSummonTimerRemaining; 3.16.x binds to summon liveness; unresolved owner blocks offensive casts |
ars_nouveau |
4.0+ |
Performer (Starbuncle) |
Ownerless performer; allowFamiliars config key is reserved (no-op) |
touhou_little_maid |
1.5.0+ |
Performer |
Buff-only by default ( allowOffensiveAuras = false); pauses during attack/combat/guard tasks |
mca |
7.0+ |
Performer + spouse OWN_PET |
Married partner UUID counts as owner ( respectRelationships = true); pauses while sleeping or trading |
pehkui |
3.0+ |
Library hook |
Scales non-player aura radius by ScaleTypes.BASE (0.1–8.0 clamp); players are never scaled |
[!IMPORTANT] Verification status of NPC adapters: While the NPC adapters compile against all pinned APIs, not every NPC mod combination has been playtested in a live graphical client in
1.7.0. Run/effectiveinstruments npcs adaptersand/effectiveinstruments npcs diagnose <entity>if an NPC mod update changes entity internals.
Long-tail entity classifications (curated defaults)
config/effective_instruments/entity_classification.json ships 21 curated entries for mods whose entities don’t require custom Java adapters (skipped silently when those mods aren’t installed):
- Alex’s Mobs (
alexsmobs):capuchin_monkey,gorilla→OWN_PET(requireTamed: true) - Friends & Foes (
friendsandfoes):tuff_golem→IRON_GOLEM;glare→PASSIVE_MOB - Twilight Forest (
twilightforest):hydra,naga,lich,loyal_zombie→HOSTILE_MOB - Cataclysm (
cataclysm):ignis,netherite_monstrosity,ender_guardian,the_harbinger→HOSTILE_MOB - Mowzie’s Mobs (
mowziesmobs):umvuthana→PASSIVE_MOB;ferrous_wroughtnaut,naga→HOSTILE_MOB - Dungeons Mobs (
dungeons_mobs):vindicator_armored,pillager_royal_guard→HOSTILE_MOB - Born in Chaos (
born_in_chaos_v1):soldier_undead→HOSTILE_MOB - Eidolon (
eidolon):zombie_brute,wraith→HOSTILE_MOB - Graveyard (
graveyard):ghouling→HOSTILE_MOB - (Note: More Villagers uses
minecraft:villager, which already classifies asVILLAGER.)
Potion & protection mod behavior
- Beacons and stronger potions: Under
effectOverwritePolicy = REFRESH_TIES(default), EI never overwrites a higher-amplifier effect (such as Resistance II from a Beacon) and only removes effects recorded inEffectLedgerthat still match EI’s own amplifier, ambient flag, and expected expiry window. - Protection & spell mods: Player spell casts post Iron’s
SpellPreCastEventandSpellOnCastEvent, and NPC spell casts post EI’s cancelablePerformanceSpellCastEvent, letting claim/protection/addon mods cancel or inspect musical casts cleanly.