mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 10:27:44 +01:00
Move per-world mob options around in config
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 704d8126bd2f4d60fde55740413be8f384583bbf Mon Sep 17 00:00:00 2001
|
||||
From 6008fe12c4429329fd28edcbe7cde65560146f97 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
|
||||
Date: Thu, 26 Dec 2019 22:08:37 -0600
|
||||
Subject: [PATCH] Add player death exp control options
|
||||
@@ -35,11 +35,11 @@ index 3957daf751..15e342454c 100644
|
||||
return 0;
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index deccd0084a..6351e78902 100644
|
||||
index 0a933e29a4..60ba8c1e9b 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -154,6 +154,13 @@ public class PurpurWorldConfig {
|
||||
hayBlockFallDamage = getBoolean("hay-block-fall-damage", hayBlockFallDamage);
|
||||
@@ -167,6 +167,13 @@ public class PurpurWorldConfig {
|
||||
elytraDamagePerTridentBoost = getInt("elytra.damage-per-boost.trident", elytraDamagePerTridentBoost);
|
||||
}
|
||||
|
||||
+ public String playerDeathExpDropEquation = "expLevel * 7";
|
||||
@@ -49,9 +49,9 @@ index deccd0084a..6351e78902 100644
|
||||
+ playerDeathExpDropMax = getInt("player.exp-dropped-on-death.maximum", playerDeathExpDropMax);
|
||||
+ }
|
||||
+
|
||||
public int catSpawnDelay = 1200;
|
||||
public boolean catSpawnDisableSwampHut = false;
|
||||
public int catSpawnSwampHutScanRange = 16;
|
||||
public boolean idleTimeoutKick = true;
|
||||
public boolean idleTimeoutTickNearbyEntities = false;
|
||||
public boolean idleTimeoutCountAsSleeping = false;
|
||||
--
|
||||
2.24.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user