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.

BiomeSelectors.foundInOverworld() ignores custom biomes added via minecraft/dimension/overworld.json

See original GitHub issue

Biome Modification API ignores mod biomes added in data pack loaded via ResourceManagerHelper.registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType.ALWAYS_ENABLED). Perhaps loading via ResourceManagerHelper doesn’t matter. https://github.com/FabricMC/fabric/issues/1703#issuecomment-913061946

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mschae23commented, Sep 6, 2021

Yes, it would be great to fix this, but I think it’s easier not to write dubious code and just rename methods like this:

vanillaOverworldBiomes();
vanillaNetherBiomes();
vanillaTheEndBiomes();

The problem is that it’s not just vanilla biomes, but also mod biomes added with the Biome API.

1reaction
mschae23commented, Sep 5, 2021

BiomeSelectors.foundInOverworld() has no biomes added via minecraft/dimension/overworld.json, however, selection by category works (selection.getBiome().getCategory() == Biome.Category.DESERT).

foundInOverworld does not actually check which biomes generate in the overworld, but which biomes generate with minecraft:vanilla_layered.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[MC-187262] Worldgen json ignores seed in custom dimensions
(your overworld or custom dimension seed must match with this bug; this bug will cause unsuspecting users to have corruptly-generated chunks in ...
Read more >
[SOLVED][1.16.5] Custom Biome not generating in overworld ...
Hi, I am working on a mod which adds a custom biome to the overworld, the /locatebiome command lists my biome as well,...
Read more >
Custom world generation - Minecraft Wiki - Fandom
Custom world generation allows data packs to change how the world generate. A world preset controls what dimensions a world has.
Read more >
Biomes - Bedrock Wiki
Non-JSON files directly placed inside this directory are ignored. ... De-slotting or the addition of custom biomes may be necessary to remove a...
Read more >
Just Enough Dimensions - Mods - Minecraft - CurseForge
Thus, if you want to have an RTG world, that needs to be the regular "main" overworld! You can then create the custom...
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