Skip to content

Commit

Permalink
Massively increased Stalker spawn rate, close to the original.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrodynamite18 committed Nov 6, 2023
1 parent adcf520 commit fff86d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/kyanite/deeperdarker/DeeperDarker.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ public static void breakEvent(final BlockEvent.BreakEvent event) {

if(event.getLevel() instanceof ServerLevel level) {
RandomSource random = level.getRandom();
if(random.nextFloat() < 0.1f) {
if(random.nextFloat() < 0.92f) {
if(random.nextFloat() < 0.16f) {
if(random.nextFloat() < 0.7f) {
for(int i = 0; i < random.nextInt(1, 4); i++) {
DDEntities.SCULK_LEECH.get().spawn(level, event.getPos(), MobSpawnType.TRIGGERED);
}
Expand Down

0 comments on commit fff86d1

Please sign in to comment.