Last One Core

Makes Confluence prefixes configurable: editable prefix pools, compatible attributes, item eligibility, prefix selection, and rarity/crit behavior.
Back to Files

last_one_core-1.6.0

File namelast_one_core-1.6.0.jar
Uploader
DxEVILDxEVIL
Uploaded
Nov 8, 2026
Downloads
28
Size
267.5 KB
Mod Loaders
Forge
File ID
9511157
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:last-one-core-1742488:9511157")

Learn more about Curse Maven

What's new

1.6.0

  • Add the reverse direction of the Confluence and Iron's Spells mana compatibility behind [confluenceIronMana]. Confluence already ships a layer that lets its own mana power Iron's Spells; this feeds Iron's Spells from Confluence's mana economy instead. Confluence keeps its pool on the confluence:mana attachment (ManaStorage), and every change funnels through receiveMana, extractMana and forceExtractMana, while freshMaxMana recomputes stars * 20 + additionalMana. A @Pseudo mixin snapshots currentMana before those three calls and mirrors the real delta onto Iron's Spells afterwards, so AccessoryItems.MANA$USE$REDUCE, the auto-get-mana accessory path, creative mode and every other Confluence-side filter keep working unchanged: spending N Confluence mana spends N Iron's Spells mana, and restoring N restores N. mirrorMaxMana (default on) forwards the cap as well - the max_mana attribute receives a transient ADDITION modifier of stars * 20 + additionalMana - 20, re-applied every 10 ticks so a respawn or a dimension change cannot drop it and removed again when the toggle goes off. onlyUseIronMana (default off) replaces the Confluence pool outright: getCurrentMana, getMaxMana, canExtract and canReceive all read Iron's Spells, the mutators seed from it before running and write back after, so one bar drives both systems; Confluence's passive regeneration is skipped in that mode, because its formula scales with the maximum and would otherwise regenerate far faster than Iron's Spells does. Iron's Spells is reached purely through reflection (MagicData#getPlayerMagicData/getMana/setMana, AttributeRegistry.MAX_MANA, SyncManaPacket), so no compile dependency is added and everything no-ops when the mod is missing or its API moves. A mirrored change that lands exactly on Iron's Spells' maximum would never reach the client - MagicManager#regenPlayerMana only sends SyncManaPacket while mana is below the cap - so the value is pushed whenever it actually changed, at most every 10 ticks.

  • Add [confluenceManaHud] enabled (default on) to hide Confluence's mana HUD. Both styles are drawn by the single TerraStyleManaHud layer, which then dispatches to ClientConfigs.manaStyle (LEGACY star bar or OVERLAY Terra bar), so one HEAD cancel on render removes either of them; because the whole layer is skipped, the Terra style also stops reserving its 10 pixels of right-side height. It is a client-side display switch only - mana values, costs and regeneration are untouched - and it pairs with confluenceIronMana.onlyUseIronMana, where Iron's Spells' bar is the only mana that matters.

This mod has no additional files