StockMarket Tweaks

Removes StockMarket's world-load stall and smooths its runtime cost in large mod packs — Adds JEI Quick Market Create
Back to Files

stockmarkettweaks-1.3.5.jar

File namestockmarkettweaks-1.3.5.jar
Uploader
Element1MElement1M
Uploaded
Dec 1, 2026
Downloads
7
Size
114.8 KB
Mod Loaders
NeoForge
File ID
9941041
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:stockmarket-tweaks-1804354:9941041"

Learn more about Curse Maven

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.