question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash at the world creation screen with datapack content added through the Biome API

See original GitHub issue

The game crashes when trying to create a world, if a mod with datapack content that is added through the Biome API is installed. As a clear example, Promenade features Nether and End biomes and features that are now added by the mod’s datapack (see commit https://github.com/DawnTeamMC/Promenade/commit/0e14663a8093a43ce420ed3f0958c8d13bbca925 and this crash log) and then added to vanilla generation through the Biome API, which is part of the Fabric API.

In vanilla Minecraft, when you try to create a world, the vanilla builtin worldgen gets loaded, and then opens the screen with the loaded generic content. However the Biome API lets us add to the vanilla generation by adding RegistryKeys, but actually requires these keys to represent built-in content so that it gets loaded on this specific screen. This constraint should not exist, and as a fix the Fabric API must tell the game to load the mod datapacks at the same time as builtin Minecraft worldgen content on this screen.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
Hugman76commented, Jun 2, 2022

The issue is still present in 1.19 too

1reaction
apple502jcommented, Jun 14, 2022

#2321 backports the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[MC-215120] World-gen datapacks can cause crashes when ...
In doing so I need to load said datapack into a new world. However, the game crashes as soon as the game starts...
Read more >
Crash when creating or loading a world - Modder Support
I am simply adding Blocks and Items to be used in a dimension that ... Jump to content ... {re:classloading} at net.minecraft.world.biome.
Read more >
Crash when creating world in 1.16.1 · Issue #1022 - GitHub
Crash when creating world in 1.16.1 #1022 · Comments · A detailed walkthrough of the error, its code path and all known details...
Read more >
Game crashing as soon as world loads up. playing with the ...
Here's the crash report I just don't know whats going on at all, I tried lowering my Ram usage from 12GB to around...
Read more >
Tutorials/Creating a data pack - Minecraft Wiki - Fandom
This tutorial shows how to create a data pack. Data packs can be used to add or modify functions, loot tables, world structures,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found