Fabric original biomes

- Capture original biomes at Fabric mod init so generated biome definitions exclude Fabric biome modifications
- Test the generated definition against a biome modified in place the way Fabric does it
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-29 08:44:08 -04:00
1 parent c7cca23155
commit 94c179fbd4
2 files changed
+109

No files matched your search

@@ -17,6 +17,7 @@ public final class IrisFabricBootstrap implements ModInitializer {
public void onInitialize() {
NativeFabricLoader loader = new NativeFabricLoader(new NativeLoaderOptions(
"irisworldgen", "treefeller", ModdedTreeFellerService::runBreakProbe));
loader.captureOriginalBiomes();
NativeChunkGeneratorDefinition generator = IrisModdedChunkGenerator.DEFINITION;
NativeFabricPackSources.bind(ModdedForcedDatapack::repositorySource);
ModdedEngineBootstrap.bootCommon(loader, "Fabric", () -> NativeFabricBootstrap.registerGenerator(generator));