Fix #462 - also renamed option for clarity

This commit is contained in:
William Blake Galbreath
2021-07-03 08:00:18 -05:00
parent 1ca029cdcc
commit c69c0bcadf
46 changed files with 225 additions and 219 deletions

View File

@@ -474,10 +474,10 @@ index 5d289be8f0ef003abbce992e7662f6ddce4f4a99..5e3d7321a73144c3e4c43c18c5b748b2
@Override
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07455bff74 100644
index 97737781cf5ee470bd24e0eabe4c777a2062b4d2..188dfe605056665d5b515efe4beb9e0632db088a 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
@@ -476,9 +476,11 @@ public class PurpurWorldConfig {
@@ -482,9 +482,11 @@ public class PurpurWorldConfig {
public boolean axolotlRidable = false;
public double axolotlMaxHealth = 14.0D;
@@ -489,7 +489,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean batRidable = false;
@@ -508,6 +510,7 @@ public class PurpurWorldConfig {
@@ -514,6 +516,7 @@ public class PurpurWorldConfig {
public boolean beeRidableInWater = false;
public double beeMaxY = 256D;
public double beeMaxHealth = 10.0D;
@@ -497,7 +497,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void beeSettings() {
beeRidable = getBoolean("mobs.bee.ridable", beeRidable);
beeRidableInWater = getBoolean("mobs.bee.ridable-in-water", beeRidableInWater);
@@ -518,6 +521,7 @@ public class PurpurWorldConfig {
@@ -524,6 +527,7 @@ public class PurpurWorldConfig {
set("mobs.bee.attributes.max_health", oldValue);
}
beeMaxHealth = getDouble("mobs.bee.attributes.max_health", beeMaxHealth);
@@ -505,7 +505,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean blazeRidable = false;
@@ -542,6 +546,7 @@ public class PurpurWorldConfig {
@@ -548,6 +552,7 @@ public class PurpurWorldConfig {
public int catSpawnDelay = 1200;
public int catSpawnSwampHutScanRange = 16;
public int catSpawnVillageScanRange = 48;
@@ -513,7 +513,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void catSettings() {
catRidable = getBoolean("mobs.cat.ridable", catRidable);
catRidableInWater = getBoolean("mobs.cat.ridable-in-water", catRidableInWater);
@@ -554,6 +559,7 @@ public class PurpurWorldConfig {
@@ -560,6 +565,7 @@ public class PurpurWorldConfig {
catSpawnDelay = getInt("mobs.cat.spawn-delay", catSpawnDelay);
catSpawnSwampHutScanRange = getInt("mobs.cat.scan-range-for-other-cats.swamp-hut", catSpawnSwampHutScanRange);
catSpawnVillageScanRange = getInt("mobs.cat.scan-range-for-other-cats.village", catSpawnVillageScanRange);
@@ -521,7 +521,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean caveSpiderRidable = false;
@@ -574,6 +580,7 @@ public class PurpurWorldConfig {
@@ -580,6 +586,7 @@ public class PurpurWorldConfig {
public boolean chickenRidableInWater = false;
public double chickenMaxHealth = 4.0D;
public boolean chickenRetaliate = false;
@@ -529,7 +529,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void chickenSettings() {
chickenRidable = getBoolean("mobs.chicken.ridable", chickenRidable);
chickenRidableInWater = getBoolean("mobs.chicken.ridable-in-water", chickenRidableInWater);
@@ -584,6 +591,7 @@ public class PurpurWorldConfig {
@@ -590,6 +597,7 @@ public class PurpurWorldConfig {
}
chickenMaxHealth = getDouble("mobs.chicken.attributes.max_health", chickenMaxHealth);
chickenRetaliate = getBoolean("mobs.chicken.retaliate", chickenRetaliate);
@@ -537,7 +537,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean codRidable = false;
@@ -602,6 +610,7 @@ public class PurpurWorldConfig {
@@ -608,6 +616,7 @@ public class PurpurWorldConfig {
public boolean cowRidableInWater = false;
public double cowMaxHealth = 10.0D;
public int cowFeedMushrooms = 0;
@@ -545,7 +545,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void cowSettings() {
cowRidable = getBoolean("mobs.cow.ridable", cowRidable);
cowRidableInWater = getBoolean("mobs.cow.ridable-in-water", cowRidableInWater);
@@ -612,6 +621,7 @@ public class PurpurWorldConfig {
@@ -618,6 +627,7 @@ public class PurpurWorldConfig {
}
cowMaxHealth = getDouble("mobs.cow.attributes.max_health", cowMaxHealth);
cowFeedMushrooms = getInt("mobs.cow.feed-mushrooms-for-mooshroom", cowFeedMushrooms);
@@ -553,7 +553,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean creeperRidable = false;
@@ -659,6 +669,7 @@ public class PurpurWorldConfig {
@@ -665,6 +675,7 @@ public class PurpurWorldConfig {
public double donkeyJumpStrengthMax = 0.5D;
public double donkeyMovementSpeedMin = 0.175D;
public double donkeyMovementSpeedMax = 0.175D;
@@ -561,7 +561,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void donkeySettings() {
donkeyRidableInWater = getBoolean("mobs.donkey.ridable-in-water", donkeyRidableInWater);
if (PurpurConfig.version < 10) {
@@ -674,6 +685,7 @@ public class PurpurWorldConfig {
@@ -680,6 +691,7 @@ public class PurpurWorldConfig {
donkeyJumpStrengthMax = getDouble("mobs.donkey.attributes.jump_strength.max", donkeyJumpStrengthMax);
donkeyMovementSpeedMin = getDouble("mobs.donkey.attributes.movement_speed.min", donkeyMovementSpeedMin);
donkeyMovementSpeedMax = getDouble("mobs.donkey.attributes.movement_speed.max", donkeyMovementSpeedMax);
@@ -569,7 +569,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean drownedRidable = false;
@@ -780,6 +792,7 @@ public class PurpurWorldConfig {
@@ -786,6 +798,7 @@ public class PurpurWorldConfig {
public boolean foxRidableInWater = false;
public double foxMaxHealth = 10.0D;
public boolean foxTypeChangesWithTulips = false;
@@ -577,7 +577,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void foxSettings() {
foxRidable = getBoolean("mobs.fox.ridable", foxRidable);
foxRidableInWater = getBoolean("mobs.fox.ridable-in-water", foxRidableInWater);
@@ -790,6 +803,7 @@ public class PurpurWorldConfig {
@@ -796,6 +809,7 @@ public class PurpurWorldConfig {
}
foxMaxHealth = getDouble("mobs.fox.attributes.max_health", foxMaxHealth);
foxTypeChangesWithTulips = getBoolean("mobs.fox.tulips-change-type", foxTypeChangesWithTulips);
@@ -585,7 +585,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean ghastRidable = false;
@@ -850,10 +864,12 @@ public class PurpurWorldConfig {
@@ -856,10 +870,12 @@ public class PurpurWorldConfig {
public boolean goatRidable = false;
public boolean goatRidableInWater = false;
public double goatMaxHealth = 10.0D;
@@ -598,7 +598,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean guardianRidable = false;
@@ -871,6 +887,7 @@ public class PurpurWorldConfig {
@@ -877,6 +893,7 @@ public class PurpurWorldConfig {
public boolean hoglinRidable = false;
public boolean hoglinRidableInWater = false;
public double hoglinMaxHealth = 40.0D;
@@ -606,7 +606,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void hoglinSettings() {
hoglinRidable = getBoolean("mobs.hoglin.ridable", hoglinRidable);
hoglinRidableInWater = getBoolean("mobs.hoglin.ridable-in-water", hoglinRidableInWater);
@@ -880,6 +897,7 @@ public class PurpurWorldConfig {
@@ -886,6 +903,7 @@ public class PurpurWorldConfig {
set("mobs.hoglin.attributes.max_health", oldValue);
}
hoglinMaxHealth = getDouble("mobs.hoglin.attributes.max_health", hoglinMaxHealth);
@@ -614,7 +614,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean horseRidableInWater = false;
@@ -889,6 +907,7 @@ public class PurpurWorldConfig {
@@ -895,6 +913,7 @@ public class PurpurWorldConfig {
public double horseJumpStrengthMax = 1.0D;
public double horseMovementSpeedMin = 0.1125D;
public double horseMovementSpeedMax = 0.3375D;
@@ -622,7 +622,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void horseSettings() {
horseRidableInWater = getBoolean("mobs.horse.ridable-in-water", horseRidableInWater);
if (PurpurConfig.version < 10) {
@@ -904,6 +923,7 @@ public class PurpurWorldConfig {
@@ -910,6 +929,7 @@ public class PurpurWorldConfig {
horseJumpStrengthMax = getDouble("mobs.horse.attributes.jump_strength.max", horseJumpStrengthMax);
horseMovementSpeedMin = getDouble("mobs.horse.attributes.movement_speed.min", horseMovementSpeedMin);
horseMovementSpeedMax = getDouble("mobs.horse.attributes.movement_speed.max", horseMovementSpeedMax);
@@ -630,7 +630,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean huskRidable = false;
@@ -974,6 +994,7 @@ public class PurpurWorldConfig {
@@ -980,6 +1000,7 @@ public class PurpurWorldConfig {
public double llamaJumpStrengthMax = 0.5D;
public double llamaMovementSpeedMin = 0.175D;
public double llamaMovementSpeedMax = 0.175D;
@@ -638,7 +638,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void llamaSettings() {
llamaRidable = getBoolean("mobs.llama.ridable", llamaRidable);
llamaRidableInWater = getBoolean("mobs.llama.ridable-in-water", llamaRidableInWater);
@@ -990,6 +1011,7 @@ public class PurpurWorldConfig {
@@ -996,6 +1017,7 @@ public class PurpurWorldConfig {
llamaJumpStrengthMax = getDouble("mobs.llama.attributes.jump_strength.max", llamaJumpStrengthMax);
llamaMovementSpeedMin = getDouble("mobs.llama.attributes.movement_speed.min", llamaMovementSpeedMin);
llamaMovementSpeedMax = getDouble("mobs.llama.attributes.movement_speed.max", llamaMovementSpeedMax);
@@ -646,7 +646,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean magmaCubeRidable = false;
@@ -1009,6 +1031,7 @@ public class PurpurWorldConfig {
@@ -1015,6 +1037,7 @@ public class PurpurWorldConfig {
public boolean mooshroomRidable = false;
public boolean mooshroomRidableInWater = false;
public double mooshroomMaxHealth = 10.0D;
@@ -654,7 +654,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void mooshroomSettings() {
mooshroomRidable = getBoolean("mobs.mooshroom.ridable", mooshroomRidable);
mooshroomRidableInWater = getBoolean("mobs.mooshroom.ridable-in-water", mooshroomRidableInWater);
@@ -1018,6 +1041,7 @@ public class PurpurWorldConfig {
@@ -1024,6 +1047,7 @@ public class PurpurWorldConfig {
set("mobs.mooshroom.attributes.max_health", oldValue);
}
mooshroomMaxHealth = getDouble("mobs.mooshroom.attributes.max_health", mooshroomMaxHealth);
@@ -662,7 +662,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean muleRidableInWater = false;
@@ -1027,6 +1051,7 @@ public class PurpurWorldConfig {
@@ -1033,6 +1057,7 @@ public class PurpurWorldConfig {
public double muleJumpStrengthMax = 0.5D;
public double muleMovementSpeedMin = 0.175D;
public double muleMovementSpeedMax = 0.175D;
@@ -670,7 +670,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void muleSettings() {
muleRidableInWater = getBoolean("mobs.mule.ridable-in-water", muleRidableInWater);
if (PurpurConfig.version < 10) {
@@ -1042,11 +1067,13 @@ public class PurpurWorldConfig {
@@ -1048,11 +1073,13 @@ public class PurpurWorldConfig {
muleJumpStrengthMax = getDouble("mobs.mule.attributes.jump_strength.max", muleJumpStrengthMax);
muleMovementSpeedMin = getDouble("mobs.mule.attributes.movement_speed.min", muleMovementSpeedMin);
muleMovementSpeedMax = getDouble("mobs.mule.attributes.movement_speed.max", muleMovementSpeedMax);
@@ -684,7 +684,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void ocelotSettings() {
ocelotRidable = getBoolean("mobs.ocelot.ridable", ocelotRidable);
ocelotRidableInWater = getBoolean("mobs.ocelot.ridable-in-water", ocelotRidableInWater);
@@ -1056,11 +1083,13 @@ public class PurpurWorldConfig {
@@ -1062,11 +1089,13 @@ public class PurpurWorldConfig {
set("mobs.ocelot.attributes.max_health", oldValue);
}
ocelotMaxHealth = getDouble("mobs.ocelot.attributes.max_health", ocelotMaxHealth);
@@ -698,7 +698,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void pandaSettings() {
pandaRidable = getBoolean("mobs.panda.ridable", pandaRidable);
pandaRidableInWater = getBoolean("mobs.panda.ridable-in-water", pandaRidableInWater);
@@ -1070,6 +1099,7 @@ public class PurpurWorldConfig {
@@ -1076,6 +1105,7 @@ public class PurpurWorldConfig {
set("mobs.panda.attributes.max_health", oldValue);
}
pandaMaxHealth = getDouble("mobs.panda.attributes.max_health", pandaMaxHealth);
@@ -706,7 +706,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean parrotRidable = false;
@@ -1150,6 +1180,7 @@ public class PurpurWorldConfig {
@@ -1156,6 +1186,7 @@ public class PurpurWorldConfig {
public boolean pigRidableInWater = false;
public double pigMaxHealth = 10.0D;
public boolean pigGiveSaddleBack = false;
@@ -714,7 +714,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void pigSettings() {
pigRidable = getBoolean("mobs.pig.ridable", pigRidable);
pigRidableInWater = getBoolean("mobs.pig.ridable-in-water", pigRidableInWater);
@@ -1160,6 +1191,7 @@ public class PurpurWorldConfig {
@@ -1166,6 +1197,7 @@ public class PurpurWorldConfig {
}
pigMaxHealth = getDouble("mobs.pig.attributes.max_health", pigMaxHealth);
pigGiveSaddleBack = getBoolean("mobs.pig.give-saddle-back", pigGiveSaddleBack);
@@ -722,7 +722,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean piglinRidable = false;
@@ -1209,6 +1241,7 @@ public class PurpurWorldConfig {
@@ -1215,6 +1247,7 @@ public class PurpurWorldConfig {
public double polarBearMaxHealth = 30.0D;
public String polarBearBreedableItemString = "";
public Item polarBearBreedableItem = null;
@@ -730,7 +730,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void polarBearSettings() {
polarBearRidable = getBoolean("mobs.polar_bear.ridable", polarBearRidable);
polarBearRidableInWater = getBoolean("mobs.polar_bear.ridable-in-water", polarBearRidableInWater);
@@ -1221,6 +1254,7 @@ public class PurpurWorldConfig {
@@ -1227,6 +1260,7 @@ public class PurpurWorldConfig {
polarBearBreedableItemString = getString("mobs.polar_bear.breedable-item", polarBearBreedableItemString);
Item item = Registry.ITEM.get(new ResourceLocation(polarBearBreedableItemString));
if (item != Items.AIR) polarBearBreedableItem = item;
@@ -738,7 +738,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean pufferfishRidable = false;
@@ -1240,6 +1274,7 @@ public class PurpurWorldConfig {
@@ -1246,6 +1280,7 @@ public class PurpurWorldConfig {
public double rabbitMaxHealth = 3.0D;
public double rabbitNaturalToast = 0.0D;
public double rabbitNaturalKiller = 0.0D;
@@ -746,7 +746,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void rabbitSettings() {
rabbitRidable = getBoolean("mobs.rabbit.ridable", rabbitRidable);
rabbitRidableInWater = getBoolean("mobs.rabbit.ridable-in-water", rabbitRidableInWater);
@@ -1251,6 +1286,7 @@ public class PurpurWorldConfig {
@@ -1257,6 +1292,7 @@ public class PurpurWorldConfig {
rabbitMaxHealth = getDouble("mobs.rabbit.attributes.max_health", rabbitMaxHealth);
rabbitNaturalToast = getDouble("mobs.rabbit.spawn-toast-chance", rabbitNaturalToast);
rabbitNaturalKiller = getDouble("mobs.rabbit.spawn-killer-rabbit-chance", rabbitNaturalKiller);
@@ -754,7 +754,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean ravagerRidable = false;
@@ -1282,6 +1318,7 @@ public class PurpurWorldConfig {
@@ -1288,6 +1324,7 @@ public class PurpurWorldConfig {
public boolean sheepRidable = false;
public boolean sheepRidableInWater = false;
public double sheepMaxHealth = 8.0D;
@@ -762,7 +762,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void sheepSettings() {
sheepRidable = getBoolean("mobs.sheep.ridable", sheepRidable);
sheepRidableInWater = getBoolean("mobs.sheep.ridable-in-water", sheepRidableInWater);
@@ -1291,6 +1328,7 @@ public class PurpurWorldConfig {
@@ -1297,6 +1334,7 @@ public class PurpurWorldConfig {
set("mobs.sheep.attributes.max_health", oldValue);
}
sheepMaxHealth = getDouble("mobs.sheep.attributes.max_health", sheepMaxHealth);
@@ -770,7 +770,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean shulkerRidable = false;
@@ -1445,6 +1483,7 @@ public class PurpurWorldConfig {
@@ -1451,6 +1489,7 @@ public class PurpurWorldConfig {
public boolean striderRidable = false;
public boolean striderRidableInWater = false;
public double striderMaxHealth = 20.0D;
@@ -778,7 +778,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void striderSettings() {
striderRidable = getBoolean("mobs.strider.ridable", striderRidable);
striderRidableInWater = getBoolean("mobs.strider.ridable-in-water", striderRidableInWater);
@@ -1454,6 +1493,7 @@ public class PurpurWorldConfig {
@@ -1460,6 +1499,7 @@ public class PurpurWorldConfig {
set("mobs.strider.attributes.max_health", oldValue);
}
striderMaxHealth = getDouble("mobs.strider.attributes.max_health", striderMaxHealth);
@@ -786,7 +786,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean traderLlamaRidable = false;
@@ -1464,6 +1504,7 @@ public class PurpurWorldConfig {
@@ -1470,6 +1510,7 @@ public class PurpurWorldConfig {
public double traderLlamaJumpStrengthMax = 0.5D;
public double traderLlamaMovementSpeedMin = 0.175D;
public double traderLlamaMovementSpeedMax = 0.175D;
@@ -794,7 +794,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void traderLlamaSettings() {
traderLlamaRidable = getBoolean("mobs.trader_llama.ridable", traderLlamaRidable);
traderLlamaRidableInWater = getBoolean("mobs.trader_llama.ridable-in-water", traderLlamaRidableInWater);
@@ -1480,6 +1521,7 @@ public class PurpurWorldConfig {
@@ -1486,6 +1527,7 @@ public class PurpurWorldConfig {
traderLlamaJumpStrengthMax = getDouble("mobs.trader_llama.attributes.jump_strength.max", traderLlamaJumpStrengthMax);
traderLlamaMovementSpeedMin = getDouble("mobs.trader_llama.attributes.movement_speed.min", traderLlamaMovementSpeedMin);
traderLlamaMovementSpeedMax = getDouble("mobs.trader_llama.attributes.movement_speed.max", traderLlamaMovementSpeedMax);
@@ -802,7 +802,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean tropicalFishRidable = false;
@@ -1500,6 +1542,7 @@ public class PurpurWorldConfig {
@@ -1506,6 +1548,7 @@ public class PurpurWorldConfig {
public boolean turtleEggsBreakFromExpOrbs = true;
public boolean turtleEggsBreakFromItems = true;
public boolean turtleEggsBreakFromMinecarts = true;
@@ -810,7 +810,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void turtleEggSettings() {
turtleRidable = getBoolean("mobs.turtle.ridable", turtleRidable);
turtleRidableInWater = getBoolean("mobs.turtle.ridable-in-water", turtleRidableInWater);
@@ -1512,6 +1555,7 @@ public class PurpurWorldConfig {
@@ -1518,6 +1561,7 @@ public class PurpurWorldConfig {
turtleEggsBreakFromExpOrbs = getBoolean("blocks.turtle_egg.break-from-exp-orbs", turtleEggsBreakFromExpOrbs);
turtleEggsBreakFromItems = getBoolean("blocks.turtle_egg.break-from-items", turtleEggsBreakFromItems);
turtleEggsBreakFromMinecarts = getBoolean("blocks.turtle_egg.break-from-minecarts", turtleEggsBreakFromMinecarts);
@@ -818,7 +818,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean vexRidable = false;
@@ -1540,6 +1584,7 @@ public class PurpurWorldConfig {
@@ -1546,6 +1590,7 @@ public class PurpurWorldConfig {
public int villagerSpawnIronGolemRadius = 0;
public int villagerSpawnIronGolemLimit = 0;
public boolean villagerCanBreed = true;
@@ -826,7 +826,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void villagerSettings() {
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
@@ -1556,6 +1601,7 @@ public class PurpurWorldConfig {
@@ -1562,6 +1607,7 @@ public class PurpurWorldConfig {
villagerSpawnIronGolemRadius = getInt("mobs.villager.spawn-iron-golem.radius", villagerSpawnIronGolemRadius);
villagerSpawnIronGolemLimit = getInt("mobs.villager.spawn-iron-golem.limit", villagerSpawnIronGolemLimit);
villagerCanBreed = getBoolean("mobs.villager.can-breed", villagerCanBreed);
@@ -834,7 +834,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
}
public boolean vindicatorRidable = false;
@@ -1649,6 +1695,7 @@ public class PurpurWorldConfig {
@@ -1655,6 +1701,7 @@ public class PurpurWorldConfig {
public boolean wolfRidable = false;
public boolean wolfRidableInWater = false;
public double wolfMaxHealth = 8.0D;
@@ -842,7 +842,7 @@ index 4dcff94e8ccf1af911be322c04871b8d561f60ca..f40cc359bb7f68e3332014c43c747b07
private void wolfSettings() {
wolfRidable = getBoolean("mobs.wolf.ridable", wolfRidable);
wolfRidableInWater = getBoolean("mobs.wolf.ridable-in-water", wolfRidableInWater);
@@ -1658,6 +1705,7 @@ public class PurpurWorldConfig {
@@ -1664,6 +1711,7 @@ public class PurpurWorldConfig {
set("mobs.wolf.attributes.max_health", oldValue);
}
wolfMaxHealth = getDouble("mobs.wolf.attributes.max_health", wolfMaxHealth);