Skip to content

Commit

Permalink
feat(nerf): decrease Malignant Bloom spawn rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Elenterius committed Nov 8, 2023
1 parent b3923db commit dc1beb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static boolean convertSelf(BlockState state, ServerLevel level, BlockPos
level.setBlock(pos, slabState, Block.UPDATE_CLIENTS);
}
}
else if (PrimordialEcosystem.getRandomWithSeed(pos).nextFloat() <= 0.42f && LevelUtil.getMaxBrightness(level, pos) > 5) {
else if ((n < (borderThreshold - 0.03f)) && (PrimordialEcosystem.getRandomWithSeed(pos).nextFloat() <= 0.3f) && (LevelUtil.getMaxBrightness(level, pos) > 5)) {
posBelow = pos.relative(direction);
stateBelow = level.getBlockState(posBelow);
MalignantBloomBlock block = ModBlocks.MALIGNANT_BLOOM.get();
Expand Down

0 comments on commit dc1beb9

Please sign in to comment.