mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
elytra.ignore-unbreaking option can probably be done through datapacks now
This commit is contained in:
@@ -538,10 +538,10 @@ index 373bf138f8b77413e6c29724e01572f64e0bc005..d43e26af79be5078124d8013167f452b
|
||||
public boolean canBeLeashed() {
|
||||
return true;
|
||||
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae927960f3893d3 100644
|
||||
index cef828b38e7f312bc55475fad5d2338e2ee04b6e..7891e4e05ca911741e6cc5021c7a757f5917a6d8 100644
|
||||
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
@@ -490,20 +490,24 @@ public class PurpurWorldConfig {
|
||||
@@ -488,20 +488,24 @@ public class PurpurWorldConfig {
|
||||
public boolean armadilloRidableInWater = true;
|
||||
public boolean armadilloControllable = true;
|
||||
public double armadilloMaxHealth = 12.0D;
|
||||
@@ -566,7 +566,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean batRidable = false;
|
||||
@@ -543,6 +547,7 @@ public class PurpurWorldConfig {
|
||||
@@ -541,6 +545,7 @@ public class PurpurWorldConfig {
|
||||
public boolean beeControllable = true;
|
||||
public double beeMaxY = 320D;
|
||||
public double beeMaxHealth = 10.0D;
|
||||
@@ -574,7 +574,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void beeSettings() {
|
||||
beeRidable = getBoolean("mobs.bee.ridable", beeRidable);
|
||||
beeRidableInWater = getBoolean("mobs.bee.ridable-in-water", beeRidableInWater);
|
||||
@@ -554,6 +559,7 @@ public class PurpurWorldConfig {
|
||||
@@ -552,6 +557,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.bee.attributes.max_health", oldValue);
|
||||
}
|
||||
beeMaxHealth = getDouble("mobs.bee.attributes.max_health", beeMaxHealth);
|
||||
@@ -582,7 +582,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean blazeRidable = false;
|
||||
@@ -592,6 +598,7 @@ public class PurpurWorldConfig {
|
||||
@@ -590,6 +596,7 @@ public class PurpurWorldConfig {
|
||||
public double camelJumpStrengthMax = 0.42D;
|
||||
public double camelMovementSpeedMin = 0.09D;
|
||||
public double camelMovementSpeedMax = 0.09D;
|
||||
@@ -590,7 +590,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void camelSettings() {
|
||||
camelRidableInWater = getBoolean("mobs.camel.ridable-in-water", camelRidableInWater);
|
||||
camelMaxHealthMin = getDouble("mobs.camel.attributes.max_health.min", camelMaxHealthMin);
|
||||
@@ -600,6 +607,7 @@ public class PurpurWorldConfig {
|
||||
@@ -598,6 +605,7 @@ public class PurpurWorldConfig {
|
||||
camelJumpStrengthMax = getDouble("mobs.camel.attributes.jump_strength.max", camelJumpStrengthMax);
|
||||
camelMovementSpeedMin = getDouble("mobs.camel.attributes.movement_speed.min", camelMovementSpeedMin);
|
||||
camelMovementSpeedMax = getDouble("mobs.camel.attributes.movement_speed.max", camelMovementSpeedMax);
|
||||
@@ -598,7 +598,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean catRidable = false;
|
||||
@@ -609,6 +617,7 @@ public class PurpurWorldConfig {
|
||||
@@ -607,6 +615,7 @@ public class PurpurWorldConfig {
|
||||
public int catSpawnDelay = 1200;
|
||||
public int catSpawnSwampHutScanRange = 16;
|
||||
public int catSpawnVillageScanRange = 48;
|
||||
@@ -606,7 +606,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void catSettings() {
|
||||
catRidable = getBoolean("mobs.cat.ridable", catRidable);
|
||||
catRidableInWater = getBoolean("mobs.cat.ridable-in-water", catRidableInWater);
|
||||
@@ -622,6 +631,7 @@ public class PurpurWorldConfig {
|
||||
@@ -620,6 +629,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);
|
||||
@@ -614,7 +614,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean caveSpiderRidable = false;
|
||||
@@ -645,6 +655,7 @@ public class PurpurWorldConfig {
|
||||
@@ -643,6 +653,7 @@ public class PurpurWorldConfig {
|
||||
public boolean chickenControllable = true;
|
||||
public double chickenMaxHealth = 4.0D;
|
||||
public boolean chickenRetaliate = false;
|
||||
@@ -622,7 +622,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void chickenSettings() {
|
||||
chickenRidable = getBoolean("mobs.chicken.ridable", chickenRidable);
|
||||
chickenRidableInWater = getBoolean("mobs.chicken.ridable-in-water", chickenRidableInWater);
|
||||
@@ -656,6 +667,7 @@ public class PurpurWorldConfig {
|
||||
@@ -654,6 +665,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
chickenMaxHealth = getDouble("mobs.chicken.attributes.max_health", chickenMaxHealth);
|
||||
chickenRetaliate = getBoolean("mobs.chicken.retaliate", chickenRetaliate);
|
||||
@@ -630,7 +630,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean codRidable = false;
|
||||
@@ -677,6 +689,7 @@ public class PurpurWorldConfig {
|
||||
@@ -675,6 +687,7 @@ public class PurpurWorldConfig {
|
||||
public boolean cowControllable = true;
|
||||
public double cowMaxHealth = 10.0D;
|
||||
public int cowFeedMushrooms = 0;
|
||||
@@ -638,7 +638,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void cowSettings() {
|
||||
cowRidable = getBoolean("mobs.cow.ridable", cowRidable);
|
||||
cowRidableInWater = getBoolean("mobs.cow.ridable-in-water", cowRidableInWater);
|
||||
@@ -688,6 +701,7 @@ public class PurpurWorldConfig {
|
||||
@@ -686,6 +699,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
cowMaxHealth = getDouble("mobs.cow.attributes.max_health", cowMaxHealth);
|
||||
cowFeedMushrooms = getInt("mobs.cow.feed-mushrooms-for-mooshroom", cowFeedMushrooms);
|
||||
@@ -646,7 +646,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean creeperRidable = false;
|
||||
@@ -739,6 +753,7 @@ public class PurpurWorldConfig {
|
||||
@@ -737,6 +751,7 @@ public class PurpurWorldConfig {
|
||||
public double donkeyJumpStrengthMax = 0.5D;
|
||||
public double donkeyMovementSpeedMin = 0.175D;
|
||||
public double donkeyMovementSpeedMax = 0.175D;
|
||||
@@ -654,7 +654,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void donkeySettings() {
|
||||
donkeyRidableInWater = getBoolean("mobs.donkey.ridable-in-water", donkeyRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -754,6 +769,7 @@ public class PurpurWorldConfig {
|
||||
@@ -752,6 +767,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);
|
||||
@@ -662,7 +662,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean drownedRidable = false;
|
||||
@@ -873,6 +889,7 @@ public class PurpurWorldConfig {
|
||||
@@ -871,6 +887,7 @@ public class PurpurWorldConfig {
|
||||
public boolean foxControllable = true;
|
||||
public double foxMaxHealth = 10.0D;
|
||||
public boolean foxTypeChangesWithTulips = false;
|
||||
@@ -670,7 +670,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void foxSettings() {
|
||||
foxRidable = getBoolean("mobs.fox.ridable", foxRidable);
|
||||
foxRidableInWater = getBoolean("mobs.fox.ridable-in-water", foxRidableInWater);
|
||||
@@ -884,17 +901,20 @@ public class PurpurWorldConfig {
|
||||
@@ -882,17 +899,20 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
foxMaxHealth = getDouble("mobs.fox.attributes.max_health", foxMaxHealth);
|
||||
foxTypeChangesWithTulips = getBoolean("mobs.fox.tulips-change-type", foxTypeChangesWithTulips);
|
||||
@@ -691,7 +691,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean ghastRidable = false;
|
||||
@@ -962,11 +982,13 @@ public class PurpurWorldConfig {
|
||||
@@ -960,11 +980,13 @@ public class PurpurWorldConfig {
|
||||
public boolean goatRidableInWater = true;
|
||||
public boolean goatControllable = true;
|
||||
public double goatMaxHealth = 10.0D;
|
||||
@@ -705,7 +705,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean guardianRidable = false;
|
||||
@@ -987,6 +1009,7 @@ public class PurpurWorldConfig {
|
||||
@@ -985,6 +1007,7 @@ public class PurpurWorldConfig {
|
||||
public boolean hoglinRidableInWater = true;
|
||||
public boolean hoglinControllable = true;
|
||||
public double hoglinMaxHealth = 40.0D;
|
||||
@@ -713,7 +713,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void hoglinSettings() {
|
||||
hoglinRidable = getBoolean("mobs.hoglin.ridable", hoglinRidable);
|
||||
hoglinRidableInWater = getBoolean("mobs.hoglin.ridable-in-water", hoglinRidableInWater);
|
||||
@@ -997,6 +1020,7 @@ public class PurpurWorldConfig {
|
||||
@@ -995,6 +1018,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.hoglin.attributes.max_health", oldValue);
|
||||
}
|
||||
hoglinMaxHealth = getDouble("mobs.hoglin.attributes.max_health", hoglinMaxHealth);
|
||||
@@ -721,7 +721,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean horseRidableInWater = false;
|
||||
@@ -1006,6 +1030,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1004,6 +1028,7 @@ public class PurpurWorldConfig {
|
||||
public double horseJumpStrengthMax = 1.0D;
|
||||
public double horseMovementSpeedMin = 0.1125D;
|
||||
public double horseMovementSpeedMax = 0.3375D;
|
||||
@@ -729,7 +729,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void horseSettings() {
|
||||
horseRidableInWater = getBoolean("mobs.horse.ridable-in-water", horseRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1021,6 +1046,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1019,6 +1044,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);
|
||||
@@ -737,7 +737,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean huskRidable = false;
|
||||
@@ -1098,6 +1124,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1096,6 +1122,7 @@ public class PurpurWorldConfig {
|
||||
public double llamaJumpStrengthMax = 0.5D;
|
||||
public double llamaMovementSpeedMin = 0.175D;
|
||||
public double llamaMovementSpeedMax = 0.175D;
|
||||
@@ -745,7 +745,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void llamaSettings() {
|
||||
llamaRidable = getBoolean("mobs.llama.ridable", llamaRidable);
|
||||
llamaRidableInWater = getBoolean("mobs.llama.ridable-in-water", llamaRidableInWater);
|
||||
@@ -1115,6 +1142,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1113,6 +1140,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);
|
||||
@@ -753,7 +753,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean magmaCubeRidable = false;
|
||||
@@ -1143,6 +1171,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1141,6 +1169,7 @@ public class PurpurWorldConfig {
|
||||
public boolean mooshroomRidableInWater = true;
|
||||
public boolean mooshroomControllable = true;
|
||||
public double mooshroomMaxHealth = 10.0D;
|
||||
@@ -761,7 +761,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void mooshroomSettings() {
|
||||
mooshroomRidable = getBoolean("mobs.mooshroom.ridable", mooshroomRidable);
|
||||
mooshroomRidableInWater = getBoolean("mobs.mooshroom.ridable-in-water", mooshroomRidableInWater);
|
||||
@@ -1153,6 +1182,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1151,6 +1180,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.mooshroom.attributes.max_health", oldValue);
|
||||
}
|
||||
mooshroomMaxHealth = getDouble("mobs.mooshroom.attributes.max_health", mooshroomMaxHealth);
|
||||
@@ -769,7 +769,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean muleRidableInWater = false;
|
||||
@@ -1162,6 +1192,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1160,6 +1190,7 @@ public class PurpurWorldConfig {
|
||||
public double muleJumpStrengthMax = 0.5D;
|
||||
public double muleMovementSpeedMin = 0.175D;
|
||||
public double muleMovementSpeedMax = 0.175D;
|
||||
@@ -777,7 +777,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void muleSettings() {
|
||||
muleRidableInWater = getBoolean("mobs.mule.ridable-in-water", muleRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1177,12 +1208,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1175,12 +1206,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);
|
||||
@@ -792,7 +792,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void ocelotSettings() {
|
||||
ocelotRidable = getBoolean("mobs.ocelot.ridable", ocelotRidable);
|
||||
ocelotRidableInWater = getBoolean("mobs.ocelot.ridable-in-water", ocelotRidableInWater);
|
||||
@@ -1193,12 +1226,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1191,12 +1224,14 @@ public class PurpurWorldConfig {
|
||||
set("mobs.ocelot.attributes.max_health", oldValue);
|
||||
}
|
||||
ocelotMaxHealth = getDouble("mobs.ocelot.attributes.max_health", ocelotMaxHealth);
|
||||
@@ -807,7 +807,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void pandaSettings() {
|
||||
pandaRidable = getBoolean("mobs.panda.ridable", pandaRidable);
|
||||
pandaRidableInWater = getBoolean("mobs.panda.ridable-in-water", pandaRidableInWater);
|
||||
@@ -1209,6 +1244,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1207,6 +1242,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.panda.attributes.max_health", oldValue);
|
||||
}
|
||||
pandaMaxHealth = getDouble("mobs.panda.attributes.max_health", pandaMaxHealth);
|
||||
@@ -815,7 +815,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean parrotRidable = false;
|
||||
@@ -1292,6 +1328,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1290,6 +1326,7 @@ public class PurpurWorldConfig {
|
||||
public boolean pigControllable = true;
|
||||
public double pigMaxHealth = 10.0D;
|
||||
public boolean pigGiveSaddleBack = false;
|
||||
@@ -823,7 +823,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void pigSettings() {
|
||||
pigRidable = getBoolean("mobs.pig.ridable", pigRidable);
|
||||
pigRidableInWater = getBoolean("mobs.pig.ridable-in-water", pigRidableInWater);
|
||||
@@ -1303,6 +1340,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1301,6 +1338,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
pigMaxHealth = getDouble("mobs.pig.attributes.max_health", pigMaxHealth);
|
||||
pigGiveSaddleBack = getBoolean("mobs.pig.give-saddle-back", pigGiveSaddleBack);
|
||||
@@ -831,7 +831,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean piglinRidable = false;
|
||||
@@ -1359,6 +1397,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1357,6 +1395,7 @@ public class PurpurWorldConfig {
|
||||
public double polarBearMaxHealth = 30.0D;
|
||||
public String polarBearBreedableItemString = "";
|
||||
public Item polarBearBreedableItem = null;
|
||||
@@ -839,7 +839,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void polarBearSettings() {
|
||||
polarBearRidable = getBoolean("mobs.polar_bear.ridable", polarBearRidable);
|
||||
polarBearRidableInWater = getBoolean("mobs.polar_bear.ridable-in-water", polarBearRidableInWater);
|
||||
@@ -1372,6 +1411,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1370,6 +1409,7 @@ public class PurpurWorldConfig {
|
||||
polarBearBreedableItemString = getString("mobs.polar_bear.breedable-item", polarBearBreedableItemString);
|
||||
Item item = BuiltInRegistries.ITEM.get(ResourceLocation.parse(polarBearBreedableItemString));
|
||||
if (item != Items.AIR) polarBearBreedableItem = item;
|
||||
@@ -847,7 +847,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean pufferfishRidable = false;
|
||||
@@ -1394,6 +1434,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1392,6 +1432,7 @@ public class PurpurWorldConfig {
|
||||
public double rabbitMaxHealth = 3.0D;
|
||||
public double rabbitNaturalToast = 0.0D;
|
||||
public double rabbitNaturalKiller = 0.0D;
|
||||
@@ -855,7 +855,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void rabbitSettings() {
|
||||
rabbitRidable = getBoolean("mobs.rabbit.ridable", rabbitRidable);
|
||||
rabbitRidableInWater = getBoolean("mobs.rabbit.ridable-in-water", rabbitRidableInWater);
|
||||
@@ -1406,6 +1447,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1404,6 +1445,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);
|
||||
@@ -863,7 +863,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean ravagerRidable = false;
|
||||
@@ -1442,6 +1484,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1440,6 +1482,7 @@ public class PurpurWorldConfig {
|
||||
public boolean sheepRidableInWater = true;
|
||||
public boolean sheepControllable = true;
|
||||
public double sheepMaxHealth = 8.0D;
|
||||
@@ -871,7 +871,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void sheepSettings() {
|
||||
sheepRidable = getBoolean("mobs.sheep.ridable", sheepRidable);
|
||||
sheepRidableInWater = getBoolean("mobs.sheep.ridable-in-water", sheepRidableInWater);
|
||||
@@ -1452,6 +1495,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1450,6 +1493,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.sheep.attributes.max_health", oldValue);
|
||||
}
|
||||
sheepMaxHealth = getDouble("mobs.sheep.attributes.max_health", sheepMaxHealth);
|
||||
@@ -879,7 +879,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean shulkerRidable = false;
|
||||
@@ -1575,11 +1619,13 @@ public class PurpurWorldConfig {
|
||||
@@ -1573,11 +1617,13 @@ public class PurpurWorldConfig {
|
||||
public boolean snifferRidableInWater = true;
|
||||
public boolean snifferControllable = true;
|
||||
public double snifferMaxHealth = 14.0D;
|
||||
@@ -893,7 +893,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean squidRidable = false;
|
||||
@@ -1638,6 +1684,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1636,6 +1682,7 @@ public class PurpurWorldConfig {
|
||||
public boolean striderRidableInWater = false;
|
||||
public boolean striderControllable = true;
|
||||
public double striderMaxHealth = 20.0D;
|
||||
@@ -901,7 +901,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void striderSettings() {
|
||||
striderRidable = getBoolean("mobs.strider.ridable", striderRidable);
|
||||
striderRidableInWater = getBoolean("mobs.strider.ridable-in-water", striderRidableInWater);
|
||||
@@ -1648,6 +1695,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1646,6 +1693,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.strider.attributes.max_health", oldValue);
|
||||
}
|
||||
striderMaxHealth = getDouble("mobs.strider.attributes.max_health", striderMaxHealth);
|
||||
@@ -909,7 +909,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean tadpoleRidable = false;
|
||||
@@ -1668,6 +1716,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1666,6 +1714,7 @@ public class PurpurWorldConfig {
|
||||
public double traderLlamaJumpStrengthMax = 0.5D;
|
||||
public double traderLlamaMovementSpeedMin = 0.175D;
|
||||
public double traderLlamaMovementSpeedMax = 0.175D;
|
||||
@@ -917,7 +917,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void traderLlamaSettings() {
|
||||
traderLlamaRidable = getBoolean("mobs.trader_llama.ridable", traderLlamaRidable);
|
||||
traderLlamaRidableInWater = getBoolean("mobs.trader_llama.ridable-in-water", traderLlamaRidableInWater);
|
||||
@@ -1685,6 +1734,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1683,6 +1732,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);
|
||||
@@ -925,7 +925,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean tropicalFishRidable = false;
|
||||
@@ -1705,6 +1755,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1703,6 +1753,7 @@ public class PurpurWorldConfig {
|
||||
public boolean turtleRidableInWater = true;
|
||||
public boolean turtleControllable = true;
|
||||
public double turtleMaxHealth = 30.0D;
|
||||
@@ -933,7 +933,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void turtleSettings() {
|
||||
turtleRidable = getBoolean("mobs.turtle.ridable", turtleRidable);
|
||||
turtleRidableInWater = getBoolean("mobs.turtle.ridable-in-water", turtleRidableInWater);
|
||||
@@ -1715,6 +1766,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1713,6 +1764,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.turtle.attributes.max_health", oldValue);
|
||||
}
|
||||
turtleMaxHealth = getDouble("mobs.turtle.attributes.max_health", turtleMaxHealth);
|
||||
@@ -941,7 +941,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean vexRidable = false;
|
||||
@@ -1742,6 +1794,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1740,6 +1792,7 @@ public class PurpurWorldConfig {
|
||||
public boolean villagerFollowEmeraldBlock = false;
|
||||
public boolean villagerCanBeLeashed = false;
|
||||
public boolean villagerCanBreed = true;
|
||||
@@ -949,7 +949,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void villagerSettings() {
|
||||
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
|
||||
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
|
||||
@@ -1755,6 +1808,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1753,6 +1806,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);
|
||||
@@ -957,7 +957,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
}
|
||||
|
||||
public boolean vindicatorRidable = false;
|
||||
@@ -1866,6 +1920,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1864,6 +1918,7 @@ public class PurpurWorldConfig {
|
||||
public boolean wolfRidableInWater = true;
|
||||
public boolean wolfControllable = true;
|
||||
public double wolfMaxHealth = 8.0D;
|
||||
@@ -965,7 +965,7 @@ index 5009e08e818e69b814e67a40bdc129f3ec64c183..3067e5b0704fe2018fbb846fdae92796
|
||||
private void wolfSettings() {
|
||||
wolfRidable = getBoolean("mobs.wolf.ridable", wolfRidable);
|
||||
wolfRidableInWater = getBoolean("mobs.wolf.ridable-in-water", wolfRidableInWater);
|
||||
@@ -1876,6 +1931,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1874,6 +1929,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.wolf.attributes.max_health", oldValue);
|
||||
}
|
||||
wolfMaxHealth = getDouble("mobs.wolf.attributes.max_health", wolfMaxHealth);
|
||||
|
||||
Reference in New Issue
Block a user