stockmarkettweaks-1.3.5.jar
Curse Maven Snippet
What's new
- **Added optional MCA (Minecraft Comes Alive) Custom Currency integration.** Opt-in
(`mcaCustomCurrencyEnabled: true) replacement for MCA's emerald currency across all four MCA
systems: villager trading (VillagerEntityMCA#getOffers), mercenary hiring (payEmeralds with
multi-denomination payment and exact change), "emeralds" gift/dialogue predicates, and village
taxes (taxesMap). Supports both `"custom" single/multi-tier items (e.g. Copper/Iron/Gold coins,
Create Numismatics, Lightman's Currency) and "banksystem" mode (BankSystem money bills + live
StockMarket Villager Trading coordination). Zero hard dependency on MCA fully optional if that is something you use.
- **Fixed Windows AccessDeniedException during StockMarket autosaves (DataPersistenceMixin).**
ModUtilities' DataPersistence.saveDataCompoundList / writeAtomically performed single-shot
Files.move calls (plugins.tmp -> plugins), which fail on Windows whenever antivirus, Search
Indexer, or Explorer briefly holds a handle on a newly written .nbt file. Moves now retry with
short exponential backoff (zero overhead on the happy path) and fall back to copying if a staged
directory rename remains locked (retryLockedFileSaves).
- **Fixed memory & VRAM leaks across world reloads (WorldCleanup & ClientHooks).** Releases
ItemIdFastIndex's cached RegistryAccess, BankSystem's static BankCraftingRecipes
RecipeManager cache, StockMarket/ModUtilities' static RegistryAccess fields on server stop,
and ModUtilities' leaked AbstractDisplayBlockEntityRenderer OpenGL framebuffers /
DynamicTextures + client search caches on client logout.
This mod has no additional files