vextris-forge-1.20.1-0.1.4.2.jar
Curse Maven Snippet
What's new
Vextris 0.1.4.2
Many large meshes in much less memory. A game with many large vehicles filled the heap on the loading screen (a player with 349 cars of 500-800k faces each: 11264 / 11264 MB). Every mesh still loads to the same model, bit for bit, and no public signature was removed or changed; mods that use the new on-demand loading (Vettura 1.2.1) need this version.
- Loading reads numbers straight from the file. A mesh file's large arrays are no longer built into a JSON tree first (about 100 bytes per number). Loading Vettura's three vehicle packs peaked at 2.7 GB instead of 4.9 GB, and took about 6 s instead of 8-9 s.
- Parallel loads within a memory budget. Files are sized first and the largest start first; loads run together only while their estimated peaks (four times the file size) fit a quarter of the maximum heap. With a 2.2 GB heap, Vettura's packs loaded five times over took 26 s with every file loaded, instead of 60 s with three bodies rejected out of memory. System property
vextris.meshLoadBudgetMBoverrides the budget. - Loaded meshes in about half the memory. A baked part stores each distinct vertex once and a small index per corner. Vettura's packs: 314 MB to 143 MB of heap.
- Meshes on demand (new, opt-in).
VextrisMeshes.loadOnDemand(predicate)names meshes the reload only notes; each loads in the background the first time it is asked for (get/byGeometrygive null until then), lightest first, within the same memory budget.status(id),preload(id)andonDemandErrors()tell and steer where each is.-Dvextris.meshesOnDemand=allputs every mesh on demand. A finished load does not changegeneration(). Loaded meshes are not unloaded during play.
Mods that depend on [0.1.0,0.2.0-alpha) or any later lower bound up to [0.1.4.1,0.2.0-alpha) accept 0.1.4.2.
Minecraft 1.20.1 · Forge 47.4.0+ · Java 17. Replace the old Vextris JAR in mods with this one.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects