Generator Accelerator 2

Optimizes the Minecraft worldgen by rewriting worldgen internals, allowing you to pregenerate and load worlds in a much faster rate.
Back to Files

[NeoForge 1.21.1] Generator Accelerator 2 v2.0.21.257

File namegeneratoraccelerator2-neoforge-1.21.1-2.0.21.257.jar
Uploaded
Oct 30, 2026
Downloads
6
Size
3.8 MB
Mod Loaders
NeoForge
File ID
9377272
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:generator-accelerator-1323569:9377272"

Learn more about Curse Maven

What's new

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_manager is 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 removeVanillaLargeOreVeins is 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.21m 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 ConcurrentModificationException while 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 NullPointerException on the second lookup.
  • Fixed the bug, where Fabric Loader's branding patch was reported as an unknown coremod.

This mod has no additional files