Utility Core (1.11.1)
Curse Maven Snippet
What's new
<h2>v1.11.1 - Mob Spawn Protection Now Covers the Full Column</h2>
<h3>Fix</h3> <ul> <li><strong>Mobs spawning under floating spawn schematics</strong>: <code>spawnSchematic.preventMobSpawns</code> only covered the schematic's own Y range (<code>minPos.getY()</code>-<code>maxPos.getY()</code>). When the schematic floats above the ground (<code>spawnSchematic.surfaceOffset</code>), the natural terrain below it — same X/Z footprint, dark at night — fell outside that Y range and mobs kept spawning there. Mob spawn prevention now covers the whole column under the structure, from the bottom of the world up to the top of the schematic.</li> </ul>
<h3>Technical Changes</h3> <ul> <li><code>SpawnSchematicManager</code> — added <code>isWithinMobSpawnColumn()</code>, which drops the lower Y bound so the full column below the schematic is covered.</li> <li><code>SpawnProtectionHandler</code> — <code>onSpawnPlacementCheck()</code> now uses <code>isWithinMobSpawnColumn()</code> instead of <code>isWithinBounds()</code>; block/place/explosion protection is unchanged.</li> </ul>
<hr>
<p><strong>JAR</strong>: <code>utility_core-26.1.2-neoforge-1.11.1.jar</code></p>
This mod has no additional files

