Added ability to control player's insomnia and phantoms spawning (#6500)
This commit is contained in:
parent
f59c802697
commit
21b964af4e
2 changed files with 72 additions and 2 deletions
|
@ -1444,10 +1444,10 @@ index 0000000000000000000000000000000000000000..1bb16fc7598cd53e822d84b69d6a9727
|
|||
+}
|
||||
diff --git a/src/main/java/io/papermc/paper/configuration/WorldConfiguration.java b/src/main/java/io/papermc/paper/configuration/WorldConfiguration.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..7e995bb83a06e302fd70a8e6f079e3ac55c60473
|
||||
index 0000000000000000000000000000000000000000..5982dda61e07f1661b0a68d0ba1fcc1122e8d428
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/io/papermc/paper/configuration/WorldConfiguration.java
|
||||
@@ -0,0 +1,468 @@
|
||||
@@ -0,0 +1,471 @@
|
||||
+package io.papermc.paper.configuration;
|
||||
+
|
||||
+import com.google.common.collect.HashBasedTable;
|
||||
|
@ -1692,6 +1692,9 @@ index 0000000000000000000000000000000000000000..7e995bb83a06e302fd70a8e6f079e3ac
|
|||
+ public boolean enderDragonsDeathAlwaysPlacesDragonEgg = false;
|
||||
+ public boolean phantomsDoNotSpawnOnCreativePlayers = true;
|
||||
+ public boolean phantomsOnlyAttackInsomniacs = true;
|
||||
+ public int playerInsomniaStartTicks = 72000;
|
||||
+ public int phantomsSpawnAttemptMinSeconds = 60;
|
||||
+ public int phantomsSpawnAttemptMaxSeconds = 119;
|
||||
+ public boolean parrotsAreUnaffectedByPlayerMovement = false;
|
||||
+ public double zombieVillagerInfectionChance = -1.0;
|
||||
+ public MobsCanAlwaysPickUpLoot mobsCanAlwaysPickUpLoot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue