Bosses of Mass Destruction [Forge | NeoForge]

Bosses of Mass Destruction [Forge | NeoForge]

9M Downloads

[BUG] Crash on structure generation: Void Blossom causes ClassCastException with Clifftree installed

Willem07 opened this issue · 0 comments

commented

Loader, loader version and Minecraft version

NeoForge 21.1.174
Minecraft 1.21.1
Mod version: Bosses of Mass Destruction 1.3.2
Mod: Cliff under a Tree (Clifftree) also installed

Describe the bug

When generating the world with the mod Cliff under a Tree (Clifftree) installed, using the /locate structure bosses_of_mass_destruction:void_blossom command causes the game to freeze. After a few seconds, Minecraft crashes. The crash appears to be related to a structure generation issue in Void Blossom Cavern, with an invalid configuration cast (RandomPatchConfiguration cannot be cast to VegetationPatchConfiguration).

To reproduce

  1. Create a new world with Bosses of Mass Destruction and Clifftree installed.
  2. Run the command:
    /locate structure bosses_of_mass_destruction:void_blossom
    
  3. Teleport to the coordinates or allow the chunk to generate.
  4. Minecraft freezes and crashes shortly after.

Expected behavior

The Void Blossom structure should generate successfully or, if the biome does not match, the game should return a "not found" result without crashing.

Screenshots

No screenshots required — crash occurs immediately.

Latest log

Attached latest.log file showing crash

Additional context

This may be a compatibility issue between Clifftree's custom biomes and the structure generation in Bosses of Mass Destruction. The crash occurs due to the incorrect use of RandomPatchConfiguration where a VegetationPatchConfiguration is expected, specifically in MossFloorCaveDecorator.