Allow mini message in anvil (#1145)

This commit is contained in:
Rhythmic (Illo)
2022-10-05 01:24:31 -07:00
committed by GitHub
parent 28fc326003
commit aafe275140
98 changed files with 609 additions and 604 deletions

View File

@@ -331,7 +331,7 @@ index 6a6613f70f9c4cc950882191b00048d4c47bd84f..e739416fa58b182d7bd311be094d6aab
@Override
diff --git a/src/main/java/net/minecraft/world/entity/animal/goat/Goat.java b/src/main/java/net/minecraft/world/entity/animal/goat/Goat.java
index 77be0c6f6e6061ceee1daa467c20c8d7ece7590e..59caabbe84a24ea47796ae71130961dff146a76f 100644
index c1cdef2eaa2bb969ddecc8c3bbdb0fdd33fa9c82..af6bc24065f0db7b12962b5b718b5fb82cf5fa22 100644
--- a/src/main/java/net/minecraft/world/entity/animal/goat/Goat.java
+++ b/src/main/java/net/minecraft/world/entity/animal/goat/Goat.java
@@ -109,6 +109,11 @@ public class Goat extends Animal {
@@ -491,10 +491,10 @@ index e99ffbf30652e188e88f8e17ed41d39ff25c9f73..c335a32832c6eef95658fbf632b943bb
@Override
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910395f3442 100644
index d351b955427c00c4fea4157ac2d0eec3c4688b70..da8d0c3b68f0d41a0925b983f0214724764740e1 100644
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
@@ -503,10 +503,12 @@ public class PurpurWorldConfig {
@@ -505,10 +505,12 @@ public class PurpurWorldConfig {
public boolean axolotlRidable = false;
public boolean axolotlControllable = true;
public double axolotlMaxHealth = 14.0D;
@@ -507,7 +507,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean batRidable = false;
@@ -539,6 +541,7 @@ public class PurpurWorldConfig {
@@ -541,6 +543,7 @@ public class PurpurWorldConfig {
public boolean beeControllable = true;
public double beeMaxY = 320D;
public double beeMaxHealth = 10.0D;
@@ -515,7 +515,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void beeSettings() {
beeRidable = getBoolean("mobs.bee.ridable", beeRidable);
beeRidableInWater = getBoolean("mobs.bee.ridable-in-water", beeRidableInWater);
@@ -550,6 +553,7 @@ public class PurpurWorldConfig {
@@ -552,6 +555,7 @@ public class PurpurWorldConfig {
set("mobs.bee.attributes.max_health", oldValue);
}
beeMaxHealth = getDouble("mobs.bee.attributes.max_health", beeMaxHealth);
@@ -523,7 +523,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean blazeRidable = false;
@@ -577,6 +581,7 @@ public class PurpurWorldConfig {
@@ -579,6 +583,7 @@ public class PurpurWorldConfig {
public int catSpawnDelay = 1200;
public int catSpawnSwampHutScanRange = 16;
public int catSpawnVillageScanRange = 48;
@@ -531,7 +531,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void catSettings() {
catRidable = getBoolean("mobs.cat.ridable", catRidable);
catRidableInWater = getBoolean("mobs.cat.ridable-in-water", catRidableInWater);
@@ -590,6 +595,7 @@ public class PurpurWorldConfig {
@@ -592,6 +597,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);
@@ -539,7 +539,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean caveSpiderRidable = false;
@@ -613,6 +619,7 @@ public class PurpurWorldConfig {
@@ -615,6 +621,7 @@ public class PurpurWorldConfig {
public boolean chickenControllable = true;
public double chickenMaxHealth = 4.0D;
public boolean chickenRetaliate = false;
@@ -547,7 +547,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void chickenSettings() {
chickenRidable = getBoolean("mobs.chicken.ridable", chickenRidable);
chickenRidableInWater = getBoolean("mobs.chicken.ridable-in-water", chickenRidableInWater);
@@ -624,6 +631,7 @@ public class PurpurWorldConfig {
@@ -626,6 +633,7 @@ public class PurpurWorldConfig {
}
chickenMaxHealth = getDouble("mobs.chicken.attributes.max_health", chickenMaxHealth);
chickenRetaliate = getBoolean("mobs.chicken.retaliate", chickenRetaliate);
@@ -555,7 +555,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean codRidable = false;
@@ -645,6 +653,7 @@ public class PurpurWorldConfig {
@@ -647,6 +655,7 @@ public class PurpurWorldConfig {
public boolean cowControllable = true;
public double cowMaxHealth = 10.0D;
public int cowFeedMushrooms = 0;
@@ -563,7 +563,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void cowSettings() {
cowRidable = getBoolean("mobs.cow.ridable", cowRidable);
cowRidableInWater = getBoolean("mobs.cow.ridable-in-water", cowRidableInWater);
@@ -656,6 +665,7 @@ public class PurpurWorldConfig {
@@ -658,6 +667,7 @@ public class PurpurWorldConfig {
}
cowMaxHealth = getDouble("mobs.cow.attributes.max_health", cowMaxHealth);
cowFeedMushrooms = getInt("mobs.cow.feed-mushrooms-for-mooshroom", cowFeedMushrooms);
@@ -571,7 +571,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean creeperRidable = false;
@@ -707,6 +717,7 @@ public class PurpurWorldConfig {
@@ -709,6 +719,7 @@ public class PurpurWorldConfig {
public double donkeyJumpStrengthMax = 0.5D;
public double donkeyMovementSpeedMin = 0.175D;
public double donkeyMovementSpeedMax = 0.175D;
@@ -579,7 +579,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void donkeySettings() {
donkeyRidableInWater = getBoolean("mobs.donkey.ridable-in-water", donkeyRidableInWater);
if (PurpurConfig.version < 10) {
@@ -722,6 +733,7 @@ public class PurpurWorldConfig {
@@ -724,6 +735,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);
@@ -587,7 +587,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean drownedRidable = false;
@@ -841,6 +853,7 @@ public class PurpurWorldConfig {
@@ -843,6 +855,7 @@ public class PurpurWorldConfig {
public boolean foxControllable = true;
public double foxMaxHealth = 10.0D;
public boolean foxTypeChangesWithTulips = false;
@@ -595,7 +595,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void foxSettings() {
foxRidable = getBoolean("mobs.fox.ridable", foxRidable);
foxRidableInWater = getBoolean("mobs.fox.ridable-in-water", foxRidableInWater);
@@ -852,17 +865,20 @@ public class PurpurWorldConfig {
@@ -854,17 +867,20 @@ public class PurpurWorldConfig {
}
foxMaxHealth = getDouble("mobs.fox.attributes.max_health", foxMaxHealth);
foxTypeChangesWithTulips = getBoolean("mobs.fox.tulips-change-type", foxTypeChangesWithTulips);
@@ -616,7 +616,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean ghastRidable = false;
@@ -930,11 +946,13 @@ public class PurpurWorldConfig {
@@ -932,11 +948,13 @@ public class PurpurWorldConfig {
public boolean goatRidableInWater = false;
public boolean goatControllable = true;
public double goatMaxHealth = 10.0D;
@@ -630,7 +630,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean guardianRidable = false;
@@ -955,6 +973,7 @@ public class PurpurWorldConfig {
@@ -957,6 +975,7 @@ public class PurpurWorldConfig {
public boolean hoglinRidableInWater = false;
public boolean hoglinControllable = true;
public double hoglinMaxHealth = 40.0D;
@@ -638,7 +638,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void hoglinSettings() {
hoglinRidable = getBoolean("mobs.hoglin.ridable", hoglinRidable);
hoglinRidableInWater = getBoolean("mobs.hoglin.ridable-in-water", hoglinRidableInWater);
@@ -965,6 +984,7 @@ public class PurpurWorldConfig {
@@ -967,6 +986,7 @@ public class PurpurWorldConfig {
set("mobs.hoglin.attributes.max_health", oldValue);
}
hoglinMaxHealth = getDouble("mobs.hoglin.attributes.max_health", hoglinMaxHealth);
@@ -646,7 +646,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean horseRidableInWater = false;
@@ -974,6 +994,7 @@ public class PurpurWorldConfig {
@@ -976,6 +996,7 @@ public class PurpurWorldConfig {
public double horseJumpStrengthMax = 1.0D;
public double horseMovementSpeedMin = 0.1125D;
public double horseMovementSpeedMax = 0.3375D;
@@ -654,7 +654,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void horseSettings() {
horseRidableInWater = getBoolean("mobs.horse.ridable-in-water", horseRidableInWater);
if (PurpurConfig.version < 10) {
@@ -989,6 +1010,7 @@ public class PurpurWorldConfig {
@@ -991,6 +1012,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);
@@ -662,7 +662,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean huskRidable = false;
@@ -1066,6 +1088,7 @@ public class PurpurWorldConfig {
@@ -1068,6 +1090,7 @@ public class PurpurWorldConfig {
public double llamaJumpStrengthMax = 0.5D;
public double llamaMovementSpeedMin = 0.175D;
public double llamaMovementSpeedMax = 0.175D;
@@ -670,7 +670,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void llamaSettings() {
llamaRidable = getBoolean("mobs.llama.ridable", llamaRidable);
llamaRidableInWater = getBoolean("mobs.llama.ridable-in-water", llamaRidableInWater);
@@ -1083,6 +1106,7 @@ public class PurpurWorldConfig {
@@ -1085,6 +1108,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);
@@ -678,7 +678,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean magmaCubeRidable = false;
@@ -1111,6 +1135,7 @@ public class PurpurWorldConfig {
@@ -1113,6 +1137,7 @@ public class PurpurWorldConfig {
public boolean mooshroomRidableInWater = false;
public boolean mooshroomControllable = true;
public double mooshroomMaxHealth = 10.0D;
@@ -686,7 +686,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void mooshroomSettings() {
mooshroomRidable = getBoolean("mobs.mooshroom.ridable", mooshroomRidable);
mooshroomRidableInWater = getBoolean("mobs.mooshroom.ridable-in-water", mooshroomRidableInWater);
@@ -1121,6 +1146,7 @@ public class PurpurWorldConfig {
@@ -1123,6 +1148,7 @@ public class PurpurWorldConfig {
set("mobs.mooshroom.attributes.max_health", oldValue);
}
mooshroomMaxHealth = getDouble("mobs.mooshroom.attributes.max_health", mooshroomMaxHealth);
@@ -694,7 +694,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean muleRidableInWater = false;
@@ -1130,6 +1156,7 @@ public class PurpurWorldConfig {
@@ -1132,6 +1158,7 @@ public class PurpurWorldConfig {
public double muleJumpStrengthMax = 0.5D;
public double muleMovementSpeedMin = 0.175D;
public double muleMovementSpeedMax = 0.175D;
@@ -702,7 +702,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void muleSettings() {
muleRidableInWater = getBoolean("mobs.mule.ridable-in-water", muleRidableInWater);
if (PurpurConfig.version < 10) {
@@ -1145,12 +1172,14 @@ public class PurpurWorldConfig {
@@ -1147,12 +1174,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);
@@ -717,7 +717,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void ocelotSettings() {
ocelotRidable = getBoolean("mobs.ocelot.ridable", ocelotRidable);
ocelotRidableInWater = getBoolean("mobs.ocelot.ridable-in-water", ocelotRidableInWater);
@@ -1161,12 +1190,14 @@ public class PurpurWorldConfig {
@@ -1163,12 +1192,14 @@ public class PurpurWorldConfig {
set("mobs.ocelot.attributes.max_health", oldValue);
}
ocelotMaxHealth = getDouble("mobs.ocelot.attributes.max_health", ocelotMaxHealth);
@@ -732,7 +732,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void pandaSettings() {
pandaRidable = getBoolean("mobs.panda.ridable", pandaRidable);
pandaRidableInWater = getBoolean("mobs.panda.ridable-in-water", pandaRidableInWater);
@@ -1177,6 +1208,7 @@ public class PurpurWorldConfig {
@@ -1179,6 +1210,7 @@ public class PurpurWorldConfig {
set("mobs.panda.attributes.max_health", oldValue);
}
pandaMaxHealth = getDouble("mobs.panda.attributes.max_health", pandaMaxHealth);
@@ -740,7 +740,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean parrotRidable = false;
@@ -1272,6 +1304,7 @@ public class PurpurWorldConfig {
@@ -1274,6 +1306,7 @@ public class PurpurWorldConfig {
public boolean pigControllable = true;
public double pigMaxHealth = 10.0D;
public boolean pigGiveSaddleBack = false;
@@ -748,7 +748,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void pigSettings() {
pigRidable = getBoolean("mobs.pig.ridable", pigRidable);
pigRidableInWater = getBoolean("mobs.pig.ridable-in-water", pigRidableInWater);
@@ -1283,6 +1316,7 @@ public class PurpurWorldConfig {
@@ -1285,6 +1318,7 @@ public class PurpurWorldConfig {
}
pigMaxHealth = getDouble("mobs.pig.attributes.max_health", pigMaxHealth);
pigGiveSaddleBack = getBoolean("mobs.pig.give-saddle-back", pigGiveSaddleBack);
@@ -756,7 +756,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean piglinRidable = false;
@@ -1339,6 +1373,7 @@ public class PurpurWorldConfig {
@@ -1341,6 +1375,7 @@ public class PurpurWorldConfig {
public double polarBearMaxHealth = 30.0D;
public String polarBearBreedableItemString = "";
public Item polarBearBreedableItem = null;
@@ -764,7 +764,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void polarBearSettings() {
polarBearRidable = getBoolean("mobs.polar_bear.ridable", polarBearRidable);
polarBearRidableInWater = getBoolean("mobs.polar_bear.ridable-in-water", polarBearRidableInWater);
@@ -1352,6 +1387,7 @@ public class PurpurWorldConfig {
@@ -1354,6 +1389,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;
@@ -772,7 +772,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean pufferfishRidable = false;
@@ -1374,6 +1410,7 @@ public class PurpurWorldConfig {
@@ -1376,6 +1412,7 @@ public class PurpurWorldConfig {
public double rabbitMaxHealth = 3.0D;
public double rabbitNaturalToast = 0.0D;
public double rabbitNaturalKiller = 0.0D;
@@ -780,7 +780,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void rabbitSettings() {
rabbitRidable = getBoolean("mobs.rabbit.ridable", rabbitRidable);
rabbitRidableInWater = getBoolean("mobs.rabbit.ridable-in-water", rabbitRidableInWater);
@@ -1386,6 +1423,7 @@ public class PurpurWorldConfig {
@@ -1388,6 +1425,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);
@@ -788,7 +788,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean ravagerRidable = false;
@@ -1422,6 +1460,7 @@ public class PurpurWorldConfig {
@@ -1424,6 +1462,7 @@ public class PurpurWorldConfig {
public boolean sheepRidableInWater = false;
public boolean sheepControllable = true;
public double sheepMaxHealth = 8.0D;
@@ -796,7 +796,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void sheepSettings() {
sheepRidable = getBoolean("mobs.sheep.ridable", sheepRidable);
sheepRidableInWater = getBoolean("mobs.sheep.ridable-in-water", sheepRidableInWater);
@@ -1432,6 +1471,7 @@ public class PurpurWorldConfig {
@@ -1434,6 +1473,7 @@ public class PurpurWorldConfig {
set("mobs.sheep.attributes.max_health", oldValue);
}
sheepMaxHealth = getDouble("mobs.sheep.attributes.max_health", sheepMaxHealth);
@@ -804,7 +804,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean shulkerRidable = false;
@@ -1607,6 +1647,7 @@ public class PurpurWorldConfig {
@@ -1609,6 +1649,7 @@ public class PurpurWorldConfig {
public boolean striderRidableInWater = false;
public boolean striderControllable = true;
public double striderMaxHealth = 20.0D;
@@ -812,7 +812,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void striderSettings() {
striderRidable = getBoolean("mobs.strider.ridable", striderRidable);
striderRidableInWater = getBoolean("mobs.strider.ridable-in-water", striderRidableInWater);
@@ -1617,6 +1658,7 @@ public class PurpurWorldConfig {
@@ -1619,6 +1660,7 @@ public class PurpurWorldConfig {
set("mobs.strider.attributes.max_health", oldValue);
}
striderMaxHealth = getDouble("mobs.strider.attributes.max_health", striderMaxHealth);
@@ -820,7 +820,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean tadpoleRidable = false;
@@ -1637,6 +1679,7 @@ public class PurpurWorldConfig {
@@ -1639,6 +1681,7 @@ public class PurpurWorldConfig {
public double traderLlamaJumpStrengthMax = 0.5D;
public double traderLlamaMovementSpeedMin = 0.175D;
public double traderLlamaMovementSpeedMax = 0.175D;
@@ -828,7 +828,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void traderLlamaSettings() {
traderLlamaRidable = getBoolean("mobs.trader_llama.ridable", traderLlamaRidable);
traderLlamaRidableInWater = getBoolean("mobs.trader_llama.ridable-in-water", traderLlamaRidableInWater);
@@ -1654,6 +1697,7 @@ public class PurpurWorldConfig {
@@ -1656,6 +1699,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);
@@ -836,7 +836,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean tropicalFishRidable = false;
@@ -1674,6 +1718,7 @@ public class PurpurWorldConfig {
@@ -1676,6 +1720,7 @@ public class PurpurWorldConfig {
public boolean turtleRidableInWater = false;
public boolean turtleControllable = true;
public double turtleMaxHealth = 30.0D;
@@ -844,7 +844,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void turtleSettings() {
turtleRidable = getBoolean("mobs.turtle.ridable", turtleRidable);
turtleRidableInWater = getBoolean("mobs.turtle.ridable-in-water", turtleRidableInWater);
@@ -1684,6 +1729,7 @@ public class PurpurWorldConfig {
@@ -1686,6 +1731,7 @@ public class PurpurWorldConfig {
set("mobs.turtle.attributes.max_health", oldValue);
}
turtleMaxHealth = getDouble("mobs.turtle.attributes.max_health", turtleMaxHealth);
@@ -852,7 +852,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean vexRidable = false;
@@ -1713,6 +1759,7 @@ public class PurpurWorldConfig {
@@ -1715,6 +1761,7 @@ public class PurpurWorldConfig {
public boolean villagerFollowEmeraldBlock = false;
public boolean villagerCanBeLeashed = false;
public boolean villagerCanBreed = true;
@@ -860,7 +860,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void villagerSettings() {
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
@@ -1728,6 +1775,7 @@ public class PurpurWorldConfig {
@@ -1730,6 +1777,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);
@@ -868,7 +868,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
}
public boolean vindicatorRidable = false;
@@ -1839,6 +1887,7 @@ public class PurpurWorldConfig {
@@ -1841,6 +1889,7 @@ public class PurpurWorldConfig {
public boolean wolfRidableInWater = false;
public boolean wolfControllable = true;
public double wolfMaxHealth = 8.0D;
@@ -876,7 +876,7 @@ index ec65383579b629b6ba3009001c654ae45b434f7b..2902ff168400063c3a6a37427fe37910
private void wolfSettings() {
wolfRidable = getBoolean("mobs.wolf.ridable", wolfRidable);
wolfRidableInWater = getBoolean("mobs.wolf.ridable-in-water", wolfRidableInWater);
@@ -1849,6 +1898,7 @@ public class PurpurWorldConfig {
@@ -1851,6 +1900,7 @@ public class PurpurWorldConfig {
set("mobs.wolf.attributes.max_health", oldValue);
}
wolfMaxHealth = getDouble("mobs.wolf.attributes.max_health", wolfMaxHealth);