Repository navigation
Releases
Releases · DenisMasterHerobrine/GeneratorAccelerator
v2.0.21.1
Changelog
The format is based on Keep a Changelog.
[2.0.21.1] - 2026-11-10
This is mostly a hotfix release regarding the previous release having false positives from AV related to CVE-2013-2423.
Fixed
- Fixed the deadlock related to light engine when pregenerating Macabre worlds.
- Fixed AVs false positives marking GA2 jars as malicious due to a
BiolithSearchfast search relocation, that is may heuristically be similar to CVE-2013-2423 exploitation, while it isn't. This exploit affected Java SE 7 Update 17 and earlier, while the mod is working on Java 17 or higher mostly. - Made Java 17, 21 and 25 requirement explicit on Forge and NeoForge.
[2.0.21] - 2026-10-30
Added
Backports and Ports
- Backported to 1.20.1 and ported to 26.1.2. Now Generator Accelerator supports both 1.20.1, 1.21.1 and 26.1.2 on Forge (1.20.1 only), NeoForge and Fabric.
GPU
- Introduced GPU light. Large light batches propagate their increases on the GPU, level by level from 15. Decreases stay on the light thread in vanilla's order. Each batch goes to the GPU or the CPU, whichever was faster over the last 8 batches.
- GPU now assists for modded biome lookups. Where a mod such as Biolith or Alex's Caves changes the biome lookup, the GPU still computes each quart's climate point and nearest leaves.
- Terrain adaptation around YUNG's API and Integrated API structure pieces is computed on the GPU, including YUNG's aquifer override.
- GPU and CPU share the work. When the GPU falls behind, the CPU takes the overflow chunks' biomes, blocks and surfaces instead of waiting, so a GPU slower than the CPU no longer slows generation down. The number of GPU regions in flight adapts to how long they take.
Light
- After a light batch, the copy other threads read is built from the changed sections only, instead of cloning the whole section map.
- Light tasks go straight into the light thread's queue instead of passing one chunk at
a time through vanilla's priority sorter. An update starts as soon as work is queued. - Block light and sky light of an update run at the same time, on the light thread and a "GA2 Light Lane" thread.
- Direct tasks and parallel layers are disabled when C2ME or Moonrise is installed.
Chunky and chunk loading
- GA2 raises Chunky's limit of open requests.
- Chunks next to Chunky's requests stay loaded until Chunky has asked for everything around them, instead of being saved and read back at region edges.
Storage
- Added a config option to compress saves faster at the cost of larger files. Level 1 compresses about 3 times as fast as vanilla's 6, with files about a fifth larger.
- Faster palette packing on save. Unchanged longs are copied, and 4-bit and 8-bit palettes are repacked through a byte table.
Structures
- Template clipping. A structure template places, transforms and processes only the blocks inside the chunk being decorated, instead of the whole template once per chunk.
- Template block positions now are shared across all loaded templates.
- A loaded template is returned without the template repository's lock, and a template being loaded holds up only callers of that template.
- ModernFix's
perf.dynamic_structure_manageris taken over. GA2 keeps the same soft-value template cache.
Features and decoration
- Implemented fast path for vanilla's
ReplaceBlobsFeature. - Trees with no decorators, or only vanilla's beehive decorator, keep their leaves as packed positions. The decorator's data is built only when a beehive is placed.
- Added more support of modded features decorators to run in parallel.
- Spectrum's gemstone ores around geodes now generate with GA2's fast geodes, as Pastel's do.
Biomes and terrain
- Biomes looked up outside a decoration region are kept per point and level. Should work just fine with vanilla's multi-noise source, Lithostitched, Biolith, TerraBlender and Alex's Caves.
- More noise cells are filled whole. Noise sampled per block is bounded per cell.
- Sky corners. The noise fill skips the density corners of open-sky cells that bounds prove are air.
- Added support for YUNG's Better Caves. Its liquid regions are applied to GA2's aquifer answers, so the aquifer fast path and GPU noise stay on.
- Added support for YUNG's Cave Biomes. GA2 takes over the Frosted Caves aquifer mixin and adds the frosted water itself, so GPU terrain stays on.
- Added support for Ecliptic Seasons. Its per-chunk surface biome map is recorded inside GA2's surface builder, so the fast and GPU surface stay on.
- Added support for Alex's Caves. Chunks returned off the server thread get the level's seed and dimension first, as the mod's own hook does.
- Surface rules that a mod rebuilds as a new sequence on every call reuse one compiled program.
Mod compatibility
- GregTech CEu
removeVanillaLargeOreVeinsis now respected by the CPU fill and the GPU. Fixes a crash on GregTech-based packs such as TerraFirmaGreg Modern and so on. - Introduced fast path incompatibility fixes for Lootr, Magnum Torch, FTB Chunks, FTB Evolution Companion, Sodium Extra, XyCraft Machines, Tectonic, ModernFix and Better Chunk Loading.
Memory
- Introduced heap pressure guard. When the heap stays above 85% after garbage collection, GA2 shrinks its caches (GPU region cache, save queue, border column cache, carver paths) and logs it.
- Caches unused for 30 seconds give their memory back. Very useful for modpacks with many dimensions.
- The GPU region cache is capped at 512 MB on integrated GPUs.
Changed
Platform
- From 2.0.21, GA2 uses its bundled LWJGL stack on dedicated servers, because 26.1's server ships it without natives.
GPU
- Waits for GPU answers leave out time the whole JVM stood still. A collector pause no longer marks answers late.
- The late-answer pause starts at 2 seconds and doubles for each late window in a row, up to 30 seconds.
- Late biome answers pause only GPU biomes, not GPU blocks and surfaces.
- GPU terrain is used only in dimensions where the GPU also builds the surface. A CPU surface after GPU terrain cost more than it saved.
- With Biolith, GPU terrain and the GPU surface stay on, while no mod registers a Biolith surface builder.
- Each GPU no longer creates 9 extra OpenCL command queues.
Features and decoration
- Decoration steps collect feature indexes in a hash set instead of vanilla's linearly searched set.
- Ores, simple blocks, multiface growth and springs no longer build a placement context per placement.
- Snow and freeze skips biomes too warm to freeze at any height, and whole chunks of warm biomes.
- The worldgen random reseeds in place. New carving masks start empty.
- Placement predicate programs are generated once a predicate was asked 1024 times.
- Placed features remember their placement modifier kinds. Tags that no block has answer at once.
- Ore features with no target blocks return early when the whole blob is inside the write radius.
- Per-layer placements resume each column's scan instead of restarting at the top.
- Decoration steps that already hold their area locks run before other queued steps.
- Alex's Caves and Mowzie's Mobs structure starts no longer wait on the shared structure lock.
- Fabric API's section air check no longer turns off GA2's section block writes, because GA2 makes the same check.
Surface and density functions
- Biomes with identical surface rules share one compiled class. A new biome's program compiles outside the shared lock.
- Generated density code checks each spline coordinate once, which keeps large modded density functions smaller.
- Hot loops sit in small methods of their own, so the JIT compiles them sooner during warm-up.
Mod compatibility
- Lithostitched's base biome lookup reuses the climate point its injector just sampled.
- Biolith answers are reused per thread when the same leaves come up, and its climate searches are checked for ties.
Memory
- Introducing smaller per-thread buffers for biome search column cache, tree leaf buffers, parallel light buffers and propagator queues.
Removed
- Removed experimental GPU decoration. It was never stable enough to be useful, and it was a very messy and painful to work on.
- The old jigsaw shortcuts were replaced by jigsaw lists.
Fixed
- Fixed the bug, when GPU surface never ran in singleplayer. The client's tag update made the surface program stale.
- Fixed the bug, when waiting for the GPU made the worker pool start extra threads, from 15 to 49 in one pregeneration, each with its own buffers.
- Fixed the bug, when the late-answer governor counted answers that arrived while it was paused, so a dimension could pause again at once.
- Fixed the bug, when in large packs the block-state index copied its page directory for every new state, like about 250 KB of garbage per chunk.
- Fixed the bug, when per-thread counters for Lithostitched and Spelunkery kept an entry for every worker thread that ever existed.
- Fixed the bug, when modded features that keep state in their own fields could race in parallel decoration. GA2 now checks a feature's own fields.
- Fixed the bug, when parallel structure starts reading the same template could crash with
ConcurrentModificationException. - Fixed the bug, where GregTechCEu's autosave could crash with
ConcurrentModificationExceptionwhile generation added bedrock fluid veins. Saved
data that changes while it is encoded is now encoded again. - Fixed the bug, where a failed generation step could leave the server waiting forever.
- Fixed the bug, when Lithostitched partial biome replacements with unreadable targets threw a
NullPointerExceptionon the second lookup. - Fixed the bug, where Fabric Loader's branding patch was reported as an unknown coremod.
v2.0.21
Changelog
The format is based on Keep a Changelog.
[2.0.21] - 2026-10-30
Added
Backports and Ports
- Backported to 1.20.1 and ported to 26.1.2. Now Generator Accelerator supports both 1.20.1, 1.21.1 and 26.1.2 on Forge (1.20.1 only), NeoForge and Fabric.
GPU
- Introduced GPU light. Large light batches propagate their increases on the GPU, level by level from 15. Decreases stay on the light thread in vanilla's order. Each batch goes to the GPU or the CPU, whichever was faster over the last 8 batches.
- GPU now assists for modded biome lookups. Where a mod such as Biolith or Alex's Caves changes the biome lookup, the GPU still computes each quart's climate point and nearest leaves.
- Terrain adaptation around YUNG's API and Integrated API structure pieces is computed on the GPU, including YUNG's aquifer override.
- GPU and CPU share the work. When the GPU falls behind, the CPU takes the overflow chunks' biomes, blocks and surfaces instead of waiting, so a GPU slower than the CPU no longer slows generation down. The number of GPU regions in flight adapts to how long they take.
Light
- After a light batch, the copy other threads read is built from the changed sections only, instead of cloning the whole section map.
- Light tasks go straight into the light thread's queue instead of passing one chunk at
a time through vanilla's priority sorter. An update starts as soon as work is queued. - Block light and sky light of an update run at the same time, on the light thread and a "GA2 Light Lane" thread.
- Direct tasks and parallel layers are disabled when C2ME or Moonrise is installed.
Chunky and chunk loading
- GA2 raises Chunky's limit of open requests.
- Chunks next to Chunky's requests stay loaded until Chunky has asked for everything around them, instead of being saved and read back at region edges.
Storage
- Added a config option to compress saves faster at the cost of larger files. Level 1 compresses about 3 times as fast as vanilla's 6, with files about a fifth larger.
- Faster palette packing on save. Unchanged longs are copied, and 4-bit and 8-bit palettes are repacked through a byte table.
Structures
- Template clipping. A structure template places, transforms and processes only the blocks inside the chunk being decorated, instead of the whole template once per chunk.
- Template block positions now are shared across all loaded templates.
- A loaded template is returned without the template repository's lock, and a template being loaded holds up only callers of that template.
- ModernFix's
perf.dynamic_structure_manageris taken over. GA2 keeps the same soft-value template cache.
Features and decoration
- Implemented fast path for vanilla's
ReplaceBlobsFeature. - Trees with no decorators, or only vanilla's beehive decorator, keep their leaves as packed positions. The decorator's data is built only when a beehive is placed.
- Added more support of modded features decorators to run in parallel.
- Spectrum's gemstone ores around geodes now generate with GA2's fast geodes, as Pastel's do.
Biomes and terrain
- Biomes looked up outside a decoration region are kept per point and level. Should work just fine with vanilla's multi-noise source, Lithostitched, Biolith, TerraBlender and Alex's Caves.
- More noise cells are filled whole. Noise sampled per block is bounded per cell.
- Sky corners. The noise fill skips the density corners of open-sky cells that bounds prove are air.
- Added support for YUNG's Better Caves. Its liquid regions are applied to GA2's aquifer answers, so the aquifer fast path and GPU noise stay on.
- Added support for YUNG's Cave Biomes. GA2 takes over the Frosted Caves aquifer mixin and adds the frosted water itself, so GPU terrain stays on.
- Added support for Ecliptic Seasons. Its per-chunk surface biome map is recorded inside GA2's surface builder, so the fast and GPU surface stay on.
- Added support for Alex's Caves. Chunks returned off the server thread get the level's seed and dimension first, as the mod's own hook does.
- Surface rules that a mod rebuilds as a new sequence on every call reuse one compiled program.
Mod compatibility
- GregTech CEu
removeVanillaLargeOreVeinsis now respected by the CPU fill and the GPU. Fixes a crash on GregTech-based packs such as TerraFirmaGreg Modern and so on. - Introduced fast path incompatibility fixes for Lootr, Magnum Torch, FTB Chunks, FTB Evolution Companion, Sodium Extra, XyCraft Machines, Tectonic, ModernFix and Better Chunk Loading.
Memory
- Introduced heap pressure guard. When the heap stays above 85% after garbage collection, GA2 shrinks its caches (GPU region cache, save queue, border column cache, carver paths) and logs it.
- Caches unused for 30 seconds give their memory back. Very useful for modpacks with many dimensions.
- The GPU region cache is capped at 512 MB on integrated GPUs.
Changed
Platform
- From 2.0.21, GA2 uses its bundled LWJGL stack on dedicated servers, because 26.1's server ships it without natives.
GPU
- Waits for GPU answers leave out time the whole JVM stood still. A collector pause no longer marks answers late.
- The late-answer pause starts at 2 seconds and doubles for each late window in a row, up to 30 seconds.
- Late biome answers pause only GPU biomes, not GPU blocks and surfaces.
- GPU terrain is used only in dimensions where the GPU also builds the surface. A CPU surface after GPU terrain cost more than it saved.
- With Biolith, GPU terrain and the GPU surface stay on, while no mod registers a Biolith surface builder.
- Each GPU no longer creates 9 extra OpenCL command queues.
Features and decoration
- Decoration steps collect feature indexes in a hash set instead of vanilla's linearly searched set.
- Ores, simple blocks, multiface growth and springs no longer build a placement context per placement.
- Snow and freeze skips biomes too warm to freeze at any height, and whole chunks of warm biomes.
- The worldgen random reseeds in place. New carving masks start empty.
- Placement predicate programs are generated once a predicate was asked 1024 times.
- Placed features remember their placement modifier kinds. Tags that no block has answer at once.
- Ore features with no target blocks return early when the whole blob is inside the write radius.
- Per-layer placements resume each column's scan instead of restarting at the top.
- Decoration steps that already hold their area locks run before other queued steps.
- Alex's Caves and Mowzie's Mobs structure starts no longer wait on the shared structure lock.
- Fabric API's section air check no longer turns off GA2's section block writes, because GA2 makes the same check.
Surface and density functions
- Biomes with identical surface rules share one compiled class. A new biome's program compiles outside the shared lock.
- Generated density code checks each spline coordinate once, which keeps large modded density functions smaller.
- Hot loops sit in small methods of their own, so the JIT compiles them sooner during warm-up.
Mod compatibility
- Lithostitched's base biome lookup reuses the climate point its injector just sampled.
- Biolith answers are reused per thread when the same leaves come up, and its climate searches are checked for ties.
Memory
- Introducing smaller per-thread buffers for biome search column cache, tree leaf buffers, parallel light buffers and propagator queues.
Removed
- Removed experimental GPU decoration. It was never stable enough to be useful, and it was a very messy and painful to work on.
- The old jigsaw shortcuts were replaced by jigsaw lists.
Fixed
- Fixed the bug, when GPU surface never ran in singleplayer. The client's tag update made the surface program stale.
- Fixed the bug, when waiting for the GPU made the worker pool start extra threads, from 15 to 49 in one pregeneration, each with its own buffers.
- Fixed the bug, when the late-answer governor counted answers that arrived while it was paused, so a dimension could pause again at once.
- Fixed the bug, when in large packs the block-state index copied its page directory for every new state, like about 250 KB of garbage per chunk.
- Fixed the bug, when per-thread counters for Lithostitched and Spelunkery kept an entry for every worker thread that ever existed.
- Fixed the bug, when modded features that keep state in their own fields could race in parallel decoration. GA2 now checks a feature's own fields.
- Fixed the bug, when parallel structure starts reading the same template could crash with
ConcurrentModificationException. - Fixed the bug, where GregTechCEu's autosave could crash with
ConcurrentModificationExceptionwhile generation added bedrock fluid veins. Saved
data that changes while it is encoded is now encoded again. - Fixed the bug, where a failed generation step could leave the server waiting forever.
- Fixed the bug, when Lithostitched partial biome replacements with unreadable targets threw a
NullPointerExceptionon the second lookup. - Fixed the bug, where Fabric Loader's branding patch was reported as an unknown coremod.
v1.21.1-1.6.1
What's Changed
- fix: structurify crash + modernfix/lithium mixin cleanup by @DenisMasterHerobrine in #41
- Update gradle.properties by @DeusSixik in #42
Full Changelog: v1.21.1-1.6.0...v1.21.1-1.6.1
v1.21.1-1.6.0
What's Changed
- delete: Bye natives :( by @DeusSixik in #35
- fix: Race condition by @DeusSixik in #36
- feat: Add compat with Alex Caves by @DeusSixik in #37
- feat/chunk-parallelizing-pipeline by @DenisMasterHerobrine in #38
- [1.21.1-1.6.0] Performance improvement by @DeusSixik in #39
Full Changelog: 1.21.1-1.5.0...v1.21.1-1.6.0
1.21.1-1.5.0
What's Changed
Added
- Added ModernFix compatibility paths for 5.27.4 and 5.27.6, including chunk-holder cleanup and suspended-holder tracking mixins.
- Added
/dfc dump, DFC spline runtime statistics, DFC cell-fill parity checks, and DFC cell-fill/native-planning statistics commands. - Added native module auto-discovery and packaging support for
common/natives/*, withnative.properties, prebuilt staging, and Gradle build integration. - Added new DFC native execution pieces, including native noise handles, slab-inner native programs, cell-fill fast paths, spline support, native planning metrics, and slice-native access.
- Added a data-oriented Decoration Pipeline for biome decorations with step feature caches, biome feature bitmasks, placement programs, section descriptors, scratch reuse, compatibility quarantine, and metrics.
- Added specialized decoration/feature fast paths for ores, scattered ores, random patches/selectors, block columns, block piles, disks, kelp, seagrass, sculk spreaders, simple blocks, springs, trees, vines, and related placement modifiers.
- Added a Surface Rule Compiler with IR building, analysis, lowering, optimization, mask primitives, executable surface programs, program caches, plan dumps, and runtime metrics.
- Added carver fast paths with chunk plans, plan cache entries, cave/canyon scratch data, skip checkers, batched cave tunnels, and a reusable chunk writer.
- Added runtime diagnostics under
/ga diagnostics, including status, start/reset, snapshot dumps, stop dumps, output folder reporting, JSON bundles, ZIP bundles, and JFR recording support. - Added data-oriented runtime caches and lifecycle resets for server start, datapack reload, and server stop.
- Added
GAThreadLocal, custom GA thread helpers, and thread profiling utilities. - Added
FastPositionalRandom, AIR block ID caching, flat block array improvements, and a structure-of-arraysNoiseInterpolatorpath. - Added compatibility coverage for C2ME, Repurposed Structures, Accessories, Artifacts, Dynamic Trees, OWO, Oreberries, Roots, Terrain Slabs, Waystones, YUNG's Bridges/Extras, Confluence, Zeta, Biolith, Biomes We've Gone, Nature's Spirit, Lithostitched, and TerraBlender-related worldgen paths.
- Added documentation for the Density Function Compiler, native modules, the spline LUT experiment, and the decoration/surface pipelines.
- Added tests and benchmarks for decoration pipeline compilation, section descriptor caching, weak caches, surface compiler parity, surface quick benchmarks, fast positional random, and GA thread locals.
Changed
- Reworked biome decoration from stream-heavy vanilla execution toward cached bitset selection, reusable scratch objects, compiled placement programs, and selective vanilla fallbacks.
- Reworked surface generation toward compiled data-oriented programs while retaining compatibility fallbacks for unsupported or modded rule trees.
- Reworked carver execution hot loops to use reusable planning/writer state and reduce repeated allocation-heavy work.
- Reworked DFC code generation, IR optimization, cache handling, marker rewriting, and generated class tracking to support more specialized hot paths.
- Reworked noise interpolation and noise chunk cache paths around flatter arrays, SoA access, and safer handling of empty arrays.
- Reworked runtime synchronization and cache lifecycle handling to reduce races in density-function mapping, plan caches, and shared worldgen caches.
- Reworked build metadata and dependencies for the
1.21.1-1.5.0line, including ModernFix 5.27.6 and native build configuration. - Restricted expensive diagnostics and pipeline metrics to operator/debug-oriented usage paths.
- Corrected project metadata and licensing for the 1.5.x line to GPLv3.
Deprecated
- Deprecated the older Feature VM path in favor of the newer data-oriented feature/decorations subsystems, while keeping the VM available for compatibility and benchmarks.
Removed
- Removed destructive legacy density patches that caused more harm than performance benefit.
- Disabled legacy native math paths and unused methods in favor of the newer native/DFC architecture.
- Removed reflection-heavy ModernFix workarounds where direct runtime paths are now available.
Fixed
- Fixed raw index offset handling in flat/raw cache paths.
- Fixed empty
bts$arraybehavior in flat block array/noise cache handling. - Fixed density generation errors after the DFC and native-path refactors.
- Fixed a noise crash in the optimized noise pipeline.
- Fixed cave carvers randomly producing empty water areas from cave-air handling.
- Fixed carver cache entry crashes and hardened merged mixin runtime paths.
- Fixed memory retention/leak issues in decoration, feature, and cache-heavy hot paths.
- Fixed race conditions in plan caches and density-function mapping synchronization.
- Fixed decorator pipeline behavior so unknown or incompatible data from other mods warns and falls back instead of hard-crashing.
- Fixed Terralith log spam and modded ID cache misses.
- Fixed compatibility issues with Repurposed Structures placement/vines logic.
- Fixed C2ME integration points for blender/density compiler coexistence.
- Fixed GPLv3 license metadata in Fabric and NeoForge mod descriptors.
New Contributors
- @DenisMasterHerobrine made their first contribution in #17
Full Changelog: 1.21.1-1.4.9...1.21.1-1.5.0
1.21.1-1.4.9
What's Changed
- Generator executor by @DeusSixik in #4
- Generator executor by @DeusSixik in #5
- Generator executor by @DeusSixik in #7
- feat: Add compat with mod Zeta by @DeusSixik in #8
- Optimize CubicSpline by @DeusSixik in #9
- Generator executor by @DeusSixik in #10
- Generator executor by @DeusSixik in #11
- feat: Add compats with Yungs Extras by @DeusSixik in #12
Full Changelog: 1.21.1-1.1.6-beta...1.21.1-1.4.9
1.21.1-1.1.6-beta
Full Changelog: 1.21.1-1.1.5-beta...1.21.1-1.1.6-beta
1.21.1-1.1.5-beta
What's Changed
- Refactoring by @DeusSixik in #1
Full Changelog: 0.1.0-beta.15+2eae1b1.3-alpha.1...1.21.1-1.1.5-beta
Moonrise Generator Accelerator 0.1.0-beta.15+2eae1b1.3-alpha.1
Full Changelog: https://github.com/DeusSixik/MoonriseGeneratorAccelerator/commits/0.1.0-beta.15+2eae1b1.3-alpha.1
Initial public alpha release for general testing.