add migrations for explosions configs

This commit is contained in:
BillyGalbreath
2022-12-09 07:18:05 -06:00
parent 9eca3cab29
commit 78e9a806d3
100 changed files with 628 additions and 608 deletions

View File

@@ -509,10 +509,10 @@ index 2d06a3ac4a5763cf948fc578ff5320c22c01c219..56dba90d0bb76b85cf21ace7ad50531f
@Override
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fbadbbeb08 100644
index 213ee1230206fe9afcf89b1be5af738cd64afbb1..7ebe655892cd22e06e41eea0cdb705ccbb123622 100644
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
@@ -505,10 +505,12 @@ public class PurpurWorldConfig {
@@ -515,10 +515,12 @@ public class PurpurWorldConfig {
public boolean axolotlRidable = false;
public boolean axolotlControllable = true;
public double axolotlMaxHealth = 14.0D;
@@ -525,7 +525,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean batRidable = false;
@@ -541,6 +543,7 @@ public class PurpurWorldConfig {
@@ -551,6 +553,7 @@ public class PurpurWorldConfig {
public boolean beeControllable = true;
public double beeMaxY = 320D;
public double beeMaxHealth = 10.0D;
@@ -533,7 +533,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void beeSettings() {
beeRidable = getBoolean("mobs.bee.ridable", beeRidable);
beeRidableInWater = getBoolean("mobs.bee.ridable-in-water", beeRidableInWater);
@@ -552,6 +555,7 @@ public class PurpurWorldConfig {
@@ -562,6 +565,7 @@ public class PurpurWorldConfig {
set("mobs.bee.attributes.max_health", oldValue);
}
beeMaxHealth = getDouble("mobs.bee.attributes.max_health", beeMaxHealth);
@@ -541,7 +541,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean blazeRidable = false;
@@ -572,6 +576,11 @@ public class PurpurWorldConfig {
@@ -582,6 +586,11 @@ public class PurpurWorldConfig {
blazeMaxHealth = getDouble("mobs.blaze.attributes.max_health", blazeMaxHealth);
}
@@ -553,7 +553,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
public boolean catRidable = false;
public boolean catRidableInWater = false;
public boolean catControllable = true;
@@ -579,6 +588,7 @@ public class PurpurWorldConfig {
@@ -589,6 +598,7 @@ public class PurpurWorldConfig {
public int catSpawnDelay = 1200;
public int catSpawnSwampHutScanRange = 16;
public int catSpawnVillageScanRange = 48;
@@ -561,7 +561,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void catSettings() {
catRidable = getBoolean("mobs.cat.ridable", catRidable);
catRidableInWater = getBoolean("mobs.cat.ridable-in-water", catRidableInWater);
@@ -592,6 +602,7 @@ public class PurpurWorldConfig {
@@ -602,6 +612,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);
@@ -569,7 +569,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean caveSpiderRidable = false;
@@ -615,6 +626,7 @@ public class PurpurWorldConfig {
@@ -625,6 +636,7 @@ public class PurpurWorldConfig {
public boolean chickenControllable = true;
public double chickenMaxHealth = 4.0D;
public boolean chickenRetaliate = false;
@@ -577,7 +577,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void chickenSettings() {
chickenRidable = getBoolean("mobs.chicken.ridable", chickenRidable);
chickenRidableInWater = getBoolean("mobs.chicken.ridable-in-water", chickenRidableInWater);
@@ -626,6 +638,7 @@ public class PurpurWorldConfig {
@@ -636,6 +648,7 @@ public class PurpurWorldConfig {
}
chickenMaxHealth = getDouble("mobs.chicken.attributes.max_health", chickenMaxHealth);
chickenRetaliate = getBoolean("mobs.chicken.retaliate", chickenRetaliate);
@@ -585,7 +585,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean codRidable = false;
@@ -647,6 +660,7 @@ public class PurpurWorldConfig {
@@ -657,6 +670,7 @@ public class PurpurWorldConfig {
public boolean cowControllable = true;
public double cowMaxHealth = 10.0D;
public int cowFeedMushrooms = 0;
@@ -593,7 +593,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void cowSettings() {
cowRidable = getBoolean("mobs.cow.ridable", cowRidable);
cowRidableInWater = getBoolean("mobs.cow.ridable-in-water", cowRidableInWater);
@@ -658,6 +672,7 @@ public class PurpurWorldConfig {
@@ -668,6 +682,7 @@ public class PurpurWorldConfig {
}
cowMaxHealth = getDouble("mobs.cow.attributes.max_health", cowMaxHealth);
cowFeedMushrooms = getInt("mobs.cow.feed-mushrooms-for-mooshroom", cowFeedMushrooms);
@@ -601,7 +601,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean creeperRidable = false;
@@ -709,6 +724,7 @@ public class PurpurWorldConfig {
@@ -719,6 +734,7 @@ public class PurpurWorldConfig {
public double donkeyJumpStrengthMax = 0.5D;
public double donkeyMovementSpeedMin = 0.175D;
public double donkeyMovementSpeedMax = 0.175D;
@@ -609,7 +609,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void donkeySettings() {
donkeyRidableInWater = getBoolean("mobs.donkey.ridable-in-water", donkeyRidableInWater);
if (PurpurConfig.version < 10) {
@@ -724,6 +740,7 @@ public class PurpurWorldConfig {
@@ -734,6 +750,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);
@@ -617,7 +617,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean drownedRidable = false;
@@ -843,6 +860,7 @@ public class PurpurWorldConfig {
@@ -853,6 +870,7 @@ public class PurpurWorldConfig {
public boolean foxControllable = true;
public double foxMaxHealth = 10.0D;
public boolean foxTypeChangesWithTulips = false;
@@ -625,7 +625,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void foxSettings() {
foxRidable = getBoolean("mobs.fox.ridable", foxRidable);
foxRidableInWater = getBoolean("mobs.fox.ridable-in-water", foxRidableInWater);
@@ -854,17 +872,20 @@ public class PurpurWorldConfig {
@@ -864,17 +882,20 @@ public class PurpurWorldConfig {
}
foxMaxHealth = getDouble("mobs.fox.attributes.max_health", foxMaxHealth);
foxTypeChangesWithTulips = getBoolean("mobs.fox.tulips-change-type", foxTypeChangesWithTulips);
@@ -646,7 +646,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean ghastRidable = false;
@@ -932,11 +953,13 @@ public class PurpurWorldConfig {
@@ -942,11 +963,13 @@ public class PurpurWorldConfig {
public boolean goatRidableInWater = false;
public boolean goatControllable = true;
public double goatMaxHealth = 10.0D;
@@ -660,7 +660,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean guardianRidable = false;
@@ -957,6 +980,7 @@ public class PurpurWorldConfig {
@@ -967,6 +990,7 @@ public class PurpurWorldConfig {
public boolean hoglinRidableInWater = false;
public boolean hoglinControllable = true;
public double hoglinMaxHealth = 40.0D;
@@ -668,7 +668,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void hoglinSettings() {
hoglinRidable = getBoolean("mobs.hoglin.ridable", hoglinRidable);
hoglinRidableInWater = getBoolean("mobs.hoglin.ridable-in-water", hoglinRidableInWater);
@@ -967,6 +991,7 @@ public class PurpurWorldConfig {
@@ -977,6 +1001,7 @@ public class PurpurWorldConfig {
set("mobs.hoglin.attributes.max_health", oldValue);
}
hoglinMaxHealth = getDouble("mobs.hoglin.attributes.max_health", hoglinMaxHealth);
@@ -676,7 +676,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean horseRidableInWater = false;
@@ -976,6 +1001,7 @@ public class PurpurWorldConfig {
@@ -986,6 +1011,7 @@ public class PurpurWorldConfig {
public double horseJumpStrengthMax = 1.0D;
public double horseMovementSpeedMin = 0.1125D;
public double horseMovementSpeedMax = 0.3375D;
@@ -684,7 +684,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void horseSettings() {
horseRidableInWater = getBoolean("mobs.horse.ridable-in-water", horseRidableInWater);
if (PurpurConfig.version < 10) {
@@ -991,6 +1017,7 @@ public class PurpurWorldConfig {
@@ -1001,6 +1027,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);
@@ -692,7 +692,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean huskRidable = false;
@@ -1068,6 +1095,7 @@ public class PurpurWorldConfig {
@@ -1078,6 +1105,7 @@ public class PurpurWorldConfig {
public double llamaJumpStrengthMax = 0.5D;
public double llamaMovementSpeedMin = 0.175D;
public double llamaMovementSpeedMax = 0.175D;
@@ -700,7 +700,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void llamaSettings() {
llamaRidable = getBoolean("mobs.llama.ridable", llamaRidable);
llamaRidableInWater = getBoolean("mobs.llama.ridable-in-water", llamaRidableInWater);
@@ -1085,6 +1113,7 @@ public class PurpurWorldConfig {
@@ -1095,6 +1123,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);
@@ -708,7 +708,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean magmaCubeRidable = false;
@@ -1113,6 +1142,7 @@ public class PurpurWorldConfig {
@@ -1123,6 +1152,7 @@ public class PurpurWorldConfig {
public boolean mooshroomRidableInWater = false;
public boolean mooshroomControllable = true;
public double mooshroomMaxHealth = 10.0D;
@@ -716,7 +716,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void mooshroomSettings() {
mooshroomRidable = getBoolean("mobs.mooshroom.ridable", mooshroomRidable);
mooshroomRidableInWater = getBoolean("mobs.mooshroom.ridable-in-water", mooshroomRidableInWater);
@@ -1123,6 +1153,7 @@ public class PurpurWorldConfig {
@@ -1133,6 +1163,7 @@ public class PurpurWorldConfig {
set("mobs.mooshroom.attributes.max_health", oldValue);
}
mooshroomMaxHealth = getDouble("mobs.mooshroom.attributes.max_health", mooshroomMaxHealth);
@@ -724,7 +724,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean muleRidableInWater = false;
@@ -1132,6 +1163,7 @@ public class PurpurWorldConfig {
@@ -1142,6 +1173,7 @@ public class PurpurWorldConfig {
public double muleJumpStrengthMax = 0.5D;
public double muleMovementSpeedMin = 0.175D;
public double muleMovementSpeedMax = 0.175D;
@@ -732,7 +732,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void muleSettings() {
muleRidableInWater = getBoolean("mobs.mule.ridable-in-water", muleRidableInWater);
if (PurpurConfig.version < 10) {
@@ -1147,12 +1179,14 @@ public class PurpurWorldConfig {
@@ -1157,12 +1189,14 @@ 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);
@@ -747,7 +747,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void ocelotSettings() {
ocelotRidable = getBoolean("mobs.ocelot.ridable", ocelotRidable);
ocelotRidableInWater = getBoolean("mobs.ocelot.ridable-in-water", ocelotRidableInWater);
@@ -1163,12 +1197,14 @@ public class PurpurWorldConfig {
@@ -1173,12 +1207,14 @@ public class PurpurWorldConfig {
set("mobs.ocelot.attributes.max_health", oldValue);
}
ocelotMaxHealth = getDouble("mobs.ocelot.attributes.max_health", ocelotMaxHealth);
@@ -762,7 +762,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void pandaSettings() {
pandaRidable = getBoolean("mobs.panda.ridable", pandaRidable);
pandaRidableInWater = getBoolean("mobs.panda.ridable-in-water", pandaRidableInWater);
@@ -1179,6 +1215,7 @@ public class PurpurWorldConfig {
@@ -1189,6 +1225,7 @@ public class PurpurWorldConfig {
set("mobs.panda.attributes.max_health", oldValue);
}
pandaMaxHealth = getDouble("mobs.panda.attributes.max_health", pandaMaxHealth);
@@ -770,7 +770,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean parrotRidable = false;
@@ -1262,6 +1299,7 @@ public class PurpurWorldConfig {
@@ -1272,6 +1309,7 @@ public class PurpurWorldConfig {
public boolean pigControllable = true;
public double pigMaxHealth = 10.0D;
public boolean pigGiveSaddleBack = false;
@@ -778,7 +778,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void pigSettings() {
pigRidable = getBoolean("mobs.pig.ridable", pigRidable);
pigRidableInWater = getBoolean("mobs.pig.ridable-in-water", pigRidableInWater);
@@ -1273,6 +1311,7 @@ public class PurpurWorldConfig {
@@ -1283,6 +1321,7 @@ public class PurpurWorldConfig {
}
pigMaxHealth = getDouble("mobs.pig.attributes.max_health", pigMaxHealth);
pigGiveSaddleBack = getBoolean("mobs.pig.give-saddle-back", pigGiveSaddleBack);
@@ -786,7 +786,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean piglinRidable = false;
@@ -1329,6 +1368,7 @@ public class PurpurWorldConfig {
@@ -1339,6 +1378,7 @@ public class PurpurWorldConfig {
public double polarBearMaxHealth = 30.0D;
public String polarBearBreedableItemString = "";
public Item polarBearBreedableItem = null;
@@ -794,7 +794,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void polarBearSettings() {
polarBearRidable = getBoolean("mobs.polar_bear.ridable", polarBearRidable);
polarBearRidableInWater = getBoolean("mobs.polar_bear.ridable-in-water", polarBearRidableInWater);
@@ -1342,6 +1382,7 @@ public class PurpurWorldConfig {
@@ -1352,6 +1392,7 @@ public class PurpurWorldConfig {
polarBearBreedableItemString = getString("mobs.polar_bear.breedable-item", polarBearBreedableItemString);
Item item = BuiltInRegistries.ITEM.get(new ResourceLocation(polarBearBreedableItemString));
if (item != Items.AIR) polarBearBreedableItem = item;
@@ -802,7 +802,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean pufferfishRidable = false;
@@ -1364,6 +1405,7 @@ public class PurpurWorldConfig {
@@ -1374,6 +1415,7 @@ public class PurpurWorldConfig {
public double rabbitMaxHealth = 3.0D;
public double rabbitNaturalToast = 0.0D;
public double rabbitNaturalKiller = 0.0D;
@@ -810,7 +810,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void rabbitSettings() {
rabbitRidable = getBoolean("mobs.rabbit.ridable", rabbitRidable);
rabbitRidableInWater = getBoolean("mobs.rabbit.ridable-in-water", rabbitRidableInWater);
@@ -1376,6 +1418,7 @@ public class PurpurWorldConfig {
@@ -1386,6 +1428,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);
@@ -818,7 +818,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean ravagerRidable = false;
@@ -1412,6 +1455,7 @@ public class PurpurWorldConfig {
@@ -1422,6 +1465,7 @@ public class PurpurWorldConfig {
public boolean sheepRidableInWater = false;
public boolean sheepControllable = true;
public double sheepMaxHealth = 8.0D;
@@ -826,7 +826,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void sheepSettings() {
sheepRidable = getBoolean("mobs.sheep.ridable", sheepRidable);
sheepRidableInWater = getBoolean("mobs.sheep.ridable-in-water", sheepRidableInWater);
@@ -1422,6 +1466,7 @@ public class PurpurWorldConfig {
@@ -1432,6 +1476,7 @@ public class PurpurWorldConfig {
set("mobs.sheep.attributes.max_health", oldValue);
}
sheepMaxHealth = getDouble("mobs.sheep.attributes.max_health", sheepMaxHealth);
@@ -834,7 +834,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean shulkerRidable = false;
@@ -1597,6 +1642,7 @@ public class PurpurWorldConfig {
@@ -1607,6 +1652,7 @@ public class PurpurWorldConfig {
public boolean striderRidableInWater = false;
public boolean striderControllable = true;
public double striderMaxHealth = 20.0D;
@@ -842,7 +842,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void striderSettings() {
striderRidable = getBoolean("mobs.strider.ridable", striderRidable);
striderRidableInWater = getBoolean("mobs.strider.ridable-in-water", striderRidableInWater);
@@ -1607,6 +1653,7 @@ public class PurpurWorldConfig {
@@ -1617,6 +1663,7 @@ public class PurpurWorldConfig {
set("mobs.strider.attributes.max_health", oldValue);
}
striderMaxHealth = getDouble("mobs.strider.attributes.max_health", striderMaxHealth);
@@ -850,7 +850,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean tadpoleRidable = false;
@@ -1627,6 +1674,7 @@ public class PurpurWorldConfig {
@@ -1637,6 +1684,7 @@ public class PurpurWorldConfig {
public double traderLlamaJumpStrengthMax = 0.5D;
public double traderLlamaMovementSpeedMin = 0.175D;
public double traderLlamaMovementSpeedMax = 0.175D;
@@ -858,7 +858,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void traderLlamaSettings() {
traderLlamaRidable = getBoolean("mobs.trader_llama.ridable", traderLlamaRidable);
traderLlamaRidableInWater = getBoolean("mobs.trader_llama.ridable-in-water", traderLlamaRidableInWater);
@@ -1644,6 +1692,7 @@ public class PurpurWorldConfig {
@@ -1654,6 +1702,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);
@@ -866,7 +866,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean tropicalFishRidable = false;
@@ -1664,6 +1713,7 @@ public class PurpurWorldConfig {
@@ -1674,6 +1723,7 @@ public class PurpurWorldConfig {
public boolean turtleRidableInWater = false;
public boolean turtleControllable = true;
public double turtleMaxHealth = 30.0D;
@@ -874,7 +874,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void turtleSettings() {
turtleRidable = getBoolean("mobs.turtle.ridable", turtleRidable);
turtleRidableInWater = getBoolean("mobs.turtle.ridable-in-water", turtleRidableInWater);
@@ -1674,6 +1724,7 @@ public class PurpurWorldConfig {
@@ -1684,6 +1734,7 @@ public class PurpurWorldConfig {
set("mobs.turtle.attributes.max_health", oldValue);
}
turtleMaxHealth = getDouble("mobs.turtle.attributes.max_health", turtleMaxHealth);
@@ -882,7 +882,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean vexRidable = false;
@@ -1701,6 +1752,7 @@ public class PurpurWorldConfig {
@@ -1711,6 +1762,7 @@ public class PurpurWorldConfig {
public boolean villagerFollowEmeraldBlock = false;
public boolean villagerCanBeLeashed = false;
public boolean villagerCanBreed = true;
@@ -890,7 +890,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void villagerSettings() {
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
@@ -1714,6 +1766,7 @@ public class PurpurWorldConfig {
@@ -1724,6 +1776,7 @@ public class PurpurWorldConfig {
villagerFollowEmeraldBlock = getBoolean("mobs.villager.follow-emerald-blocks", villagerFollowEmeraldBlock);
villagerCanBeLeashed = getBoolean("mobs.villager.can-be-leashed", villagerCanBeLeashed);
villagerCanBreed = getBoolean("mobs.villager.can-breed", villagerCanBreed);
@@ -898,7 +898,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
}
public boolean vindicatorRidable = false;
@@ -1825,6 +1878,7 @@ public class PurpurWorldConfig {
@@ -1835,6 +1888,7 @@ public class PurpurWorldConfig {
public boolean wolfRidableInWater = false;
public boolean wolfControllable = true;
public double wolfMaxHealth = 8.0D;
@@ -906,7 +906,7 @@ index 4195261edfb9119cced1250443c7392238cd19c6..0ce0d80860071b5e77b08e02a58007fb
private void wolfSettings() {
wolfRidable = getBoolean("mobs.wolf.ridable", wolfRidable);
wolfRidableInWater = getBoolean("mobs.wolf.ridable-in-water", wolfRidableInWater);
@@ -1835,6 +1889,7 @@ public class PurpurWorldConfig {
@@ -1845,6 +1899,7 @@ public class PurpurWorldConfig {
set("mobs.wolf.attributes.max_health", oldValue);
}
wolfMaxHealth = getDouble("mobs.wolf.attributes.max_health", wolfMaxHealth);