You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sussyboiiii Sorry for the delay. Actually my previous fix wasn't the best as it was laying the spawn proof block regardless of the light level on the soul sand. I've fixed this again with the following edit and it now considers the light level. This edit needs to be made to blockutils.java. This edit is under the public function "static mobspawn" This edit is within the second if statement.
Soul sand should be excluded from the fullcube check as it is spawnable despite being a partial cube and that is how I handled the fix.
if (!topSurface(mc.world.getBlockState(blockPos.down()))) {
if (mc.world.getBlockState(blockPos.down()).getCollisionShape(mc.world, blockPos.down()) != VoxelShapes.fullCube() && mc.world.getBlockState(blockPos.down()).getBlock() != Blocks.SOUL_SAND) return MobSpawn.Never;
if (mc.world.getBlockState(blockPos.down()).isTranslucent(mc.world, blockPos.down())) return MobSpawn.Never;
}
The key edit is "&& mc.world.getBlockState(blockPos.down()).getBlock() != Blocks.SOUL_SAND"
I've tested it and it is working. It also fixes the same issue inside light overlay.
Activity
[-][Bug] [/-][+][Bug] Spawn Proofer and soul sand[/+]miassassin commentedon Apr 30, 2022
I fixed this by adding this last line into the middle of this blockutils command.
public static MobSpawn isValidMobSpawn(BlockPos blockPos, boolean newMobSpawnLightLevel) {
int spawnLightLimit = newMobSpawnLightLevel ? 0 : 7;
if (!(mc.world.getBlockState(blockPos).getBlock() instanceof AirBlock) ||
mc.world.getBockState(blockPos.down()).getBlock() == Blocks.BEDROCK) return MobSpawn.Never;
gigglingbed commentedon Apr 30, 2022
it's because soul sand isn't a full block
sussyboiiii commentedon Jun 10, 2022
could you describe where to put this code please?
miassassin commentedon Jun 28, 2022
@sussyboiiii Sorry for the delay. Actually my previous fix wasn't the best as it was laying the spawn proof block regardless of the light level on the soul sand. I've fixed this again with the following edit and it now considers the light level. This edit needs to be made to blockutils.java. This edit is under the public function "static mobspawn" This edit is within the second if statement.
Soul sand should be excluded from the fullcube check as it is spawnable despite being a partial cube and that is how I handled the fix.
if (!topSurface(mc.world.getBlockState(blockPos.down()))) {
if (mc.world.getBlockState(blockPos.down()).getCollisionShape(mc.world, blockPos.down()) != VoxelShapes.fullCube() && mc.world.getBlockState(blockPos.down()).getBlock() != Blocks.SOUL_SAND) return MobSpawn.Never;
if (mc.world.getBlockState(blockPos.down()).isTranslucent(mc.world, blockPos.down())) return MobSpawn.Never;
}
The key edit is "&& mc.world.getBlockState(blockPos.down()).getBlock() != Blocks.SOUL_SAND"
I've tested it and it is working. It also fixes the same issue inside light overlay.
Gingerbeard5773 commentedon Jun 3, 2025
Do mobs even spawn on soulsand? its not a solid block technically