The Vanilla Experience (Mod) (Forge)

The Vanilla Experience (Mod) (Forge)

118k Downloads

Hangs indefinitely if no village can be generated

twothe opened this issue ยท 0 comments

commented

Information

Minecraft version: 21.1
Modloader: NeoForge
Forge version: 200
Environment: Singleplayer

Mod name: Village Spawn point
Mod version: 1.21.1-4.6

Description

I am working on a challenge mode for my modpack (which uses Village Spawn Point), in that challenge mode a noise generator is used to turn the entire world into a flat world and also remove all structures. When selecting that world type Village Spawn Point starts to search for a village but cannot find any as none are generated. Effectively world generation hangs indefinitely.

Two things should be changed:

  • If the world does not generate village structures this mod should not search for any.
  • If searching for a village takes longer than x seconds (configurable?) it should abort and use the usual spawn.

Crash report

latest.log clearly shows that this mod is the issue, this is the last entry before world generation hangs up:
[Server thread/INFO] [com.natamus.villagespawnpoint_common_neoforge.events.VillageSpawnEvent/]: [Village Spawn Point] Finding the nearest village. This might take a few seconds.

Disabling the mod immediately fixes the issue.