mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 10:27:44 +01:00
Move more options to per-world section (still more to come)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 0e366064ed25e7255921af0e4acc532ca38ca52d Mon Sep 17 00:00:00 2001
|
||||
From d744f9a25cb9abcacac69541ced6cc0bf4acf046 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Tue, 23 Jul 2019 08:28:21 -0500
|
||||
Subject: [PATCH] Implement configurable villager brain ticks
|
||||
@@ -40,10 +40,10 @@ index daa9544453..7d146d9783 100644
|
||||
this.world.getMethodProfiler().exit();
|
||||
if (!this.et() && this.bB > 0) {
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
index cccb966df0..2abdea8731 100644
|
||||
index de0cf5c55e..c35d19f66f 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -232,6 +232,13 @@ public class PurpurConfig {
|
||||
@@ -209,6 +209,13 @@ public class PurpurConfig {
|
||||
snowmanPumpkinPutBack = getBoolean("settings.mobs.snow_golem.pumpkin-can-be-added-back", snowmanPumpkinPutBack);
|
||||
}
|
||||
|
||||
@@ -54,9 +54,9 @@ index cccb966df0..2abdea8731 100644
|
||||
+ villagerBrainTicks = getInt("settings.mobs.villager.brain-ticks", villagerBrainTicks);
|
||||
+ }
|
||||
+
|
||||
public static float zombieHorseSpawnChance = 0F;
|
||||
private static void zombieHorseSettings() {
|
||||
zombieHorseSpawnChance = (float) getDouble("settings.mobs.zombie_horse.spawn-chance", zombieHorseSpawnChance);
|
||||
public static boolean largeEnderChests = true;
|
||||
private static void largeEnderChests() {
|
||||
largeEnderChests = getBoolean("settings.large-ender-chests", largeEnderChests);
|
||||
--
|
||||
2.24.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user