mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Add config options for snowman's pumpkin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 59d40521715a6724ac7f4ca690d07bedf5acad85 Mon Sep 17 00:00:00 2001
|
||||
From 79319fa688c3b43d63b2ed5a1c7d427995bcf970 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sun, 12 May 2019 00:43:12 -0500
|
||||
Subject: [PATCH] Make giants naturally spawn and have AI
|
||||
@@ -106,21 +106,23 @@ index 19b8312f2..b58b681a9 100644
|
||||
}
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
index b74868b9c..f7d24f18a 100644
|
||||
index d552076b3..d7236ebd6 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -114,4 +114,11 @@ public class PurpurConfig {
|
||||
showDuplicateEntityUUIDErrors = getBoolean("settings.logger.show-duplicate-entity-uuid-errors", showDuplicateEntityUUIDErrors);
|
||||
showUnknownAttributeWarnings = getBoolean("settings.logger.show-unknown-attribute-warnings", showUnknownAttributeWarnings);
|
||||
@@ -115,6 +115,13 @@ public class PurpurConfig {
|
||||
feedMushroomsToCows = getInt("settings.mobs.cow.feed-mushrooms-for-mooshroom", feedMushroomsToCows);
|
||||
}
|
||||
+
|
||||
|
||||
+ public static boolean giantsNaturallySpawn = true;
|
||||
+ public static boolean giantsHaveAI = true;
|
||||
+ private static void giantsSettings() {
|
||||
+ giantsNaturallySpawn = getBoolean("settings.mobs.giant.naturally-spawn", giantsNaturallySpawn);
|
||||
+ giantsHaveAI = getBoolean("settings.mobs.giant.have-ai", giantsHaveAI);
|
||||
+ }
|
||||
}
|
||||
+
|
||||
public static boolean snowmanDropsPumpkin = true;
|
||||
public static boolean snowmanPumpkinPutBack = true;
|
||||
private static void snowmansSettings() {
|
||||
--
|
||||
2.20.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user