develop-bloodmoon #10
@@ -34,6 +34,7 @@ import java.util.concurrent.ThreadLocalRandom;
|
||||
@SuppressWarnings("FieldCanBeLocal")
|
||||
public class Bloodmoon extends Appliance {
|
||||
// für alle Dimensionen? einstellbar machen?
|
||||
// TODO: Bossbar muss kleiner werden
|
||||
|
||||
public final Map<EntityType, Set<MobEffect>> affectedMobEffectMap = Map.of(
|
||||
EntityType.ZOMBIE, Set.of(
|
||||
@@ -149,6 +150,7 @@ public class Bloodmoon extends Appliance {
|
||||
Main.instance(),
|
||||
() -> {
|
||||
if(!this.bloodmoonIsActive()) return;
|
||||
// TODO: Nur für den speziellen Spieler
|
||||
this.spawnRandomHorde();
|
||||
this.startHordeSpawning(this.getRandomHordeSpawnDelay(), player);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user