Ice and Fire: Poison Dragons
Curse Maven Snippet
What's new
🌊 Ocean Generation & Worldgen Fixes Disabled Ocean Spawning: Prevented Poison Dragon nests (both surface roosts and underground caves) from generating in any ocean or deep ocean biomes. Biome Tag Exclusions: Updated #poisondragons:has_roost/poison and #poisondragons:has_cave/poison tags to target land biomes only, completely excluding all ocean variants. Double-Layer Java Safety Checks: Added hard-coded checks in WorldGenPoisonDragonCave, WorldGenPoisonDragonRoosts, PoisonDragonNestStructure, and PoisonDragonNestPiece to immediately reject generation if the biome or surface column contains ocean/water
. 🛠️ Anti-Crash & Performance (Spawn Freeze Fix) Spawn Ocean Deadlock Resolved: Fixed world generation freezes, lag spikes, and crashes occurring when world spawn generates in an ocean. Optimized Block Update Flags: Changed worldgen block placements from flag 3 to flag 2 (Block.UPDATE_CLIENTS). This stops cascading water flow ticks and cross-chunk physics updates during world creation. Cave Ceiling Height Protection: Enforced safe underground depth limits (effectiveSurface - outerRadius - 8), ensuring caves never breach water bodies above. Chunk Boundary Clipping: Added strict bounding box checks (box.isInside) to ensure structure generation never writes to unloaded adjacent chunks.
This mod has no additional files

