mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 10:27:44 +01:00
[ci-skip] remove unused config option
not sure why we didn't do this during the 1.19.2 update
This commit is contained in:
@@ -268,7 +268,7 @@ index c64e86aeafad1785a28e7351f16afef749a0851d..86c5f88bbeab0a5cb565b15af257160a
|
||||
|
||||
@Override
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/animal/Turtle.java b/src/main/java/net/minecraft/world/entity/animal/Turtle.java
|
||||
index 8c4e0e7fc3a0d2924b910b637748e6e1c23809ce..56e0f21a002a6112770cf0d9e06136caf3f89c80 100644
|
||||
index e7496a02dd46671e6deb91fc96300f15089b60e2..59f04b1dc0abf6e0780ac2b03d63064169106c02 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/animal/Turtle.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/animal/Turtle.java
|
||||
@@ -102,6 +102,11 @@ public class Turtle extends Animal {
|
||||
@@ -334,7 +334,7 @@ index d04bc82bb5dbb24ec26d8e7a89061ed62fd199f5..0ddae1d558316ca7129e51d59d4189fc
|
||||
public void addAdditionalSaveData(CompoundTag nbt) {
|
||||
super.addAdditionalSaveData(nbt);
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/animal/frog/Frog.java b/src/main/java/net/minecraft/world/entity/animal/frog/Frog.java
|
||||
index 844004cefd85fdc3fb1628449e8452bd6207a77b..1164fdc49115f5178344276f073ac6c43a49411e 100644
|
||||
index 645e2446d1a68ea9c2ba0c2f7cb8117cc00bace9..ccb13cd4add3127fa32d98f12e69ef0ac41bc3c0 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/animal/frog/Frog.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/animal/frog/Frog.java
|
||||
@@ -141,6 +141,10 @@ public class Frog extends Animal implements VariantHolder<FrogVariant> {
|
||||
@@ -509,10 +509,10 @@ index 8e2c052dac99d4b7b4b926a2c22281087abaf754..3d8b1b66e8d033e1e65a61a640ffdc29
|
||||
|
||||
@Override
|
||||
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274abceb0f783 100644
|
||||
index 8ccf867a49fcd17f8b1307b4ec18110f6516afb3..0243b7e63fffd3d477318e3ce1296ac1765ea1bd 100644
|
||||
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
@@ -515,10 +515,12 @@ public class PurpurWorldConfig {
|
||||
@@ -511,10 +511,12 @@ public class PurpurWorldConfig {
|
||||
public boolean axolotlRidable = false;
|
||||
public boolean axolotlControllable = true;
|
||||
public double axolotlMaxHealth = 14.0D;
|
||||
@@ -525,7 +525,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean batRidable = false;
|
||||
@@ -551,6 +553,7 @@ public class PurpurWorldConfig {
|
||||
@@ -547,6 +549,7 @@ public class PurpurWorldConfig {
|
||||
public boolean beeControllable = true;
|
||||
public double beeMaxY = 320D;
|
||||
public double beeMaxHealth = 10.0D;
|
||||
@@ -533,7 +533,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void beeSettings() {
|
||||
beeRidable = getBoolean("mobs.bee.ridable", beeRidable);
|
||||
beeRidableInWater = getBoolean("mobs.bee.ridable-in-water", beeRidableInWater);
|
||||
@@ -562,6 +565,7 @@ public class PurpurWorldConfig {
|
||||
@@ -558,6 +561,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.bee.attributes.max_health", oldValue);
|
||||
}
|
||||
beeMaxHealth = getDouble("mobs.bee.attributes.max_health", beeMaxHealth);
|
||||
@@ -541,7 +541,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean blazeRidable = false;
|
||||
@@ -606,6 +610,7 @@ public class PurpurWorldConfig {
|
||||
@@ -602,6 +606,7 @@ public class PurpurWorldConfig {
|
||||
public int catSpawnDelay = 1200;
|
||||
public int catSpawnSwampHutScanRange = 16;
|
||||
public int catSpawnVillageScanRange = 48;
|
||||
@@ -549,7 +549,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void catSettings() {
|
||||
catRidable = getBoolean("mobs.cat.ridable", catRidable);
|
||||
catRidableInWater = getBoolean("mobs.cat.ridable-in-water", catRidableInWater);
|
||||
@@ -619,6 +624,7 @@ public class PurpurWorldConfig {
|
||||
@@ -615,6 +620,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);
|
||||
@@ -557,7 +557,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean caveSpiderRidable = false;
|
||||
@@ -642,6 +648,7 @@ public class PurpurWorldConfig {
|
||||
@@ -638,6 +644,7 @@ public class PurpurWorldConfig {
|
||||
public boolean chickenControllable = true;
|
||||
public double chickenMaxHealth = 4.0D;
|
||||
public boolean chickenRetaliate = false;
|
||||
@@ -565,7 +565,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void chickenSettings() {
|
||||
chickenRidable = getBoolean("mobs.chicken.ridable", chickenRidable);
|
||||
chickenRidableInWater = getBoolean("mobs.chicken.ridable-in-water", chickenRidableInWater);
|
||||
@@ -653,6 +660,7 @@ public class PurpurWorldConfig {
|
||||
@@ -649,6 +656,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
chickenMaxHealth = getDouble("mobs.chicken.attributes.max_health", chickenMaxHealth);
|
||||
chickenRetaliate = getBoolean("mobs.chicken.retaliate", chickenRetaliate);
|
||||
@@ -573,7 +573,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean codRidable = false;
|
||||
@@ -674,6 +682,7 @@ public class PurpurWorldConfig {
|
||||
@@ -670,6 +678,7 @@ public class PurpurWorldConfig {
|
||||
public boolean cowControllable = true;
|
||||
public double cowMaxHealth = 10.0D;
|
||||
public int cowFeedMushrooms = 0;
|
||||
@@ -581,7 +581,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void cowSettings() {
|
||||
cowRidable = getBoolean("mobs.cow.ridable", cowRidable);
|
||||
cowRidableInWater = getBoolean("mobs.cow.ridable-in-water", cowRidableInWater);
|
||||
@@ -685,6 +694,7 @@ public class PurpurWorldConfig {
|
||||
@@ -681,6 +690,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
cowMaxHealth = getDouble("mobs.cow.attributes.max_health", cowMaxHealth);
|
||||
cowFeedMushrooms = getInt("mobs.cow.feed-mushrooms-for-mooshroom", cowFeedMushrooms);
|
||||
@@ -589,7 +589,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean creeperRidable = false;
|
||||
@@ -736,6 +746,7 @@ public class PurpurWorldConfig {
|
||||
@@ -732,6 +742,7 @@ public class PurpurWorldConfig {
|
||||
public double donkeyJumpStrengthMax = 0.5D;
|
||||
public double donkeyMovementSpeedMin = 0.175D;
|
||||
public double donkeyMovementSpeedMax = 0.175D;
|
||||
@@ -597,7 +597,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void donkeySettings() {
|
||||
donkeyRidableInWater = getBoolean("mobs.donkey.ridable-in-water", donkeyRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -751,6 +762,7 @@ public class PurpurWorldConfig {
|
||||
@@ -747,6 +758,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);
|
||||
@@ -605,7 +605,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean drownedRidable = false;
|
||||
@@ -870,6 +882,7 @@ public class PurpurWorldConfig {
|
||||
@@ -866,6 +878,7 @@ public class PurpurWorldConfig {
|
||||
public boolean foxControllable = true;
|
||||
public double foxMaxHealth = 10.0D;
|
||||
public boolean foxTypeChangesWithTulips = false;
|
||||
@@ -613,7 +613,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void foxSettings() {
|
||||
foxRidable = getBoolean("mobs.fox.ridable", foxRidable);
|
||||
foxRidableInWater = getBoolean("mobs.fox.ridable-in-water", foxRidableInWater);
|
||||
@@ -881,17 +894,20 @@ public class PurpurWorldConfig {
|
||||
@@ -877,17 +890,20 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
foxMaxHealth = getDouble("mobs.fox.attributes.max_health", foxMaxHealth);
|
||||
foxTypeChangesWithTulips = getBoolean("mobs.fox.tulips-change-type", foxTypeChangesWithTulips);
|
||||
@@ -634,7 +634,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean ghastRidable = false;
|
||||
@@ -959,11 +975,13 @@ public class PurpurWorldConfig {
|
||||
@@ -955,11 +971,13 @@ public class PurpurWorldConfig {
|
||||
public boolean goatRidableInWater = false;
|
||||
public boolean goatControllable = true;
|
||||
public double goatMaxHealth = 10.0D;
|
||||
@@ -648,7 +648,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean guardianRidable = false;
|
||||
@@ -984,6 +1002,7 @@ public class PurpurWorldConfig {
|
||||
@@ -980,6 +998,7 @@ public class PurpurWorldConfig {
|
||||
public boolean hoglinRidableInWater = false;
|
||||
public boolean hoglinControllable = true;
|
||||
public double hoglinMaxHealth = 40.0D;
|
||||
@@ -656,7 +656,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void hoglinSettings() {
|
||||
hoglinRidable = getBoolean("mobs.hoglin.ridable", hoglinRidable);
|
||||
hoglinRidableInWater = getBoolean("mobs.hoglin.ridable-in-water", hoglinRidableInWater);
|
||||
@@ -994,6 +1013,7 @@ public class PurpurWorldConfig {
|
||||
@@ -990,6 +1009,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.hoglin.attributes.max_health", oldValue);
|
||||
}
|
||||
hoglinMaxHealth = getDouble("mobs.hoglin.attributes.max_health", hoglinMaxHealth);
|
||||
@@ -664,7 +664,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean horseRidableInWater = false;
|
||||
@@ -1003,6 +1023,7 @@ public class PurpurWorldConfig {
|
||||
@@ -999,6 +1019,7 @@ public class PurpurWorldConfig {
|
||||
public double horseJumpStrengthMax = 1.0D;
|
||||
public double horseMovementSpeedMin = 0.1125D;
|
||||
public double horseMovementSpeedMax = 0.3375D;
|
||||
@@ -672,7 +672,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void horseSettings() {
|
||||
horseRidableInWater = getBoolean("mobs.horse.ridable-in-water", horseRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1018,6 +1039,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1014,6 +1035,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);
|
||||
@@ -680,7 +680,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean huskRidable = false;
|
||||
@@ -1095,6 +1117,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1091,6 +1113,7 @@ public class PurpurWorldConfig {
|
||||
public double llamaJumpStrengthMax = 0.5D;
|
||||
public double llamaMovementSpeedMin = 0.175D;
|
||||
public double llamaMovementSpeedMax = 0.175D;
|
||||
@@ -688,7 +688,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void llamaSettings() {
|
||||
llamaRidable = getBoolean("mobs.llama.ridable", llamaRidable);
|
||||
llamaRidableInWater = getBoolean("mobs.llama.ridable-in-water", llamaRidableInWater);
|
||||
@@ -1112,6 +1135,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1108,6 +1131,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);
|
||||
@@ -696,7 +696,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean magmaCubeRidable = false;
|
||||
@@ -1140,6 +1164,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1136,6 +1160,7 @@ public class PurpurWorldConfig {
|
||||
public boolean mooshroomRidableInWater = false;
|
||||
public boolean mooshroomControllable = true;
|
||||
public double mooshroomMaxHealth = 10.0D;
|
||||
@@ -704,7 +704,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void mooshroomSettings() {
|
||||
mooshroomRidable = getBoolean("mobs.mooshroom.ridable", mooshroomRidable);
|
||||
mooshroomRidableInWater = getBoolean("mobs.mooshroom.ridable-in-water", mooshroomRidableInWater);
|
||||
@@ -1150,6 +1175,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1146,6 +1171,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.mooshroom.attributes.max_health", oldValue);
|
||||
}
|
||||
mooshroomMaxHealth = getDouble("mobs.mooshroom.attributes.max_health", mooshroomMaxHealth);
|
||||
@@ -712,7 +712,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean muleRidableInWater = false;
|
||||
@@ -1159,6 +1185,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1155,6 +1181,7 @@ public class PurpurWorldConfig {
|
||||
public double muleJumpStrengthMax = 0.5D;
|
||||
public double muleMovementSpeedMin = 0.175D;
|
||||
public double muleMovementSpeedMax = 0.175D;
|
||||
@@ -720,7 +720,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void muleSettings() {
|
||||
muleRidableInWater = getBoolean("mobs.mule.ridable-in-water", muleRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1174,12 +1201,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1170,12 +1197,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);
|
||||
@@ -735,7 +735,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void ocelotSettings() {
|
||||
ocelotRidable = getBoolean("mobs.ocelot.ridable", ocelotRidable);
|
||||
ocelotRidableInWater = getBoolean("mobs.ocelot.ridable-in-water", ocelotRidableInWater);
|
||||
@@ -1190,12 +1219,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1186,12 +1215,14 @@ public class PurpurWorldConfig {
|
||||
set("mobs.ocelot.attributes.max_health", oldValue);
|
||||
}
|
||||
ocelotMaxHealth = getDouble("mobs.ocelot.attributes.max_health", ocelotMaxHealth);
|
||||
@@ -750,7 +750,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void pandaSettings() {
|
||||
pandaRidable = getBoolean("mobs.panda.ridable", pandaRidable);
|
||||
pandaRidableInWater = getBoolean("mobs.panda.ridable-in-water", pandaRidableInWater);
|
||||
@@ -1206,6 +1237,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1202,6 +1233,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.panda.attributes.max_health", oldValue);
|
||||
}
|
||||
pandaMaxHealth = getDouble("mobs.panda.attributes.max_health", pandaMaxHealth);
|
||||
@@ -758,7 +758,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean parrotRidable = false;
|
||||
@@ -1289,6 +1321,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1285,6 +1317,7 @@ public class PurpurWorldConfig {
|
||||
public boolean pigControllable = true;
|
||||
public double pigMaxHealth = 10.0D;
|
||||
public boolean pigGiveSaddleBack = false;
|
||||
@@ -766,7 +766,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void pigSettings() {
|
||||
pigRidable = getBoolean("mobs.pig.ridable", pigRidable);
|
||||
pigRidableInWater = getBoolean("mobs.pig.ridable-in-water", pigRidableInWater);
|
||||
@@ -1300,6 +1333,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1296,6 +1329,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
pigMaxHealth = getDouble("mobs.pig.attributes.max_health", pigMaxHealth);
|
||||
pigGiveSaddleBack = getBoolean("mobs.pig.give-saddle-back", pigGiveSaddleBack);
|
||||
@@ -774,7 +774,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean piglinRidable = false;
|
||||
@@ -1356,6 +1390,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1352,6 +1386,7 @@ public class PurpurWorldConfig {
|
||||
public double polarBearMaxHealth = 30.0D;
|
||||
public String polarBearBreedableItemString = "";
|
||||
public Item polarBearBreedableItem = null;
|
||||
@@ -782,7 +782,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void polarBearSettings() {
|
||||
polarBearRidable = getBoolean("mobs.polar_bear.ridable", polarBearRidable);
|
||||
polarBearRidableInWater = getBoolean("mobs.polar_bear.ridable-in-water", polarBearRidableInWater);
|
||||
@@ -1369,6 +1404,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1365,6 +1400,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;
|
||||
@@ -790,7 +790,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean pufferfishRidable = false;
|
||||
@@ -1391,6 +1427,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1387,6 +1423,7 @@ public class PurpurWorldConfig {
|
||||
public double rabbitMaxHealth = 3.0D;
|
||||
public double rabbitNaturalToast = 0.0D;
|
||||
public double rabbitNaturalKiller = 0.0D;
|
||||
@@ -798,7 +798,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void rabbitSettings() {
|
||||
rabbitRidable = getBoolean("mobs.rabbit.ridable", rabbitRidable);
|
||||
rabbitRidableInWater = getBoolean("mobs.rabbit.ridable-in-water", rabbitRidableInWater);
|
||||
@@ -1403,6 +1440,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1399,6 +1436,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);
|
||||
@@ -806,7 +806,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean ravagerRidable = false;
|
||||
@@ -1439,6 +1477,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1435,6 +1473,7 @@ public class PurpurWorldConfig {
|
||||
public boolean sheepRidableInWater = false;
|
||||
public boolean sheepControllable = true;
|
||||
public double sheepMaxHealth = 8.0D;
|
||||
@@ -814,7 +814,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void sheepSettings() {
|
||||
sheepRidable = getBoolean("mobs.sheep.ridable", sheepRidable);
|
||||
sheepRidableInWater = getBoolean("mobs.sheep.ridable-in-water", sheepRidableInWater);
|
||||
@@ -1449,6 +1488,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1445,6 +1484,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.sheep.attributes.max_health", oldValue);
|
||||
}
|
||||
sheepMaxHealth = getDouble("mobs.sheep.attributes.max_health", sheepMaxHealth);
|
||||
@@ -822,7 +822,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean shulkerRidable = false;
|
||||
@@ -1624,6 +1664,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1620,6 +1660,7 @@ public class PurpurWorldConfig {
|
||||
public boolean striderRidableInWater = false;
|
||||
public boolean striderControllable = true;
|
||||
public double striderMaxHealth = 20.0D;
|
||||
@@ -830,7 +830,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void striderSettings() {
|
||||
striderRidable = getBoolean("mobs.strider.ridable", striderRidable);
|
||||
striderRidableInWater = getBoolean("mobs.strider.ridable-in-water", striderRidableInWater);
|
||||
@@ -1634,6 +1675,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1630,6 +1671,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.strider.attributes.max_health", oldValue);
|
||||
}
|
||||
striderMaxHealth = getDouble("mobs.strider.attributes.max_health", striderMaxHealth);
|
||||
@@ -838,7 +838,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean tadpoleRidable = false;
|
||||
@@ -1654,6 +1696,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1650,6 +1692,7 @@ public class PurpurWorldConfig {
|
||||
public double traderLlamaJumpStrengthMax = 0.5D;
|
||||
public double traderLlamaMovementSpeedMin = 0.175D;
|
||||
public double traderLlamaMovementSpeedMax = 0.175D;
|
||||
@@ -846,7 +846,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void traderLlamaSettings() {
|
||||
traderLlamaRidable = getBoolean("mobs.trader_llama.ridable", traderLlamaRidable);
|
||||
traderLlamaRidableInWater = getBoolean("mobs.trader_llama.ridable-in-water", traderLlamaRidableInWater);
|
||||
@@ -1671,6 +1714,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1667,6 +1710,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);
|
||||
@@ -854,7 +854,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean tropicalFishRidable = false;
|
||||
@@ -1691,6 +1735,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1687,6 +1731,7 @@ public class PurpurWorldConfig {
|
||||
public boolean turtleRidableInWater = false;
|
||||
public boolean turtleControllable = true;
|
||||
public double turtleMaxHealth = 30.0D;
|
||||
@@ -862,7 +862,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void turtleSettings() {
|
||||
turtleRidable = getBoolean("mobs.turtle.ridable", turtleRidable);
|
||||
turtleRidableInWater = getBoolean("mobs.turtle.ridable-in-water", turtleRidableInWater);
|
||||
@@ -1701,6 +1746,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1697,6 +1742,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.turtle.attributes.max_health", oldValue);
|
||||
}
|
||||
turtleMaxHealth = getDouble("mobs.turtle.attributes.max_health", turtleMaxHealth);
|
||||
@@ -870,7 +870,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean vexRidable = false;
|
||||
@@ -1728,6 +1774,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1724,6 +1770,7 @@ public class PurpurWorldConfig {
|
||||
public boolean villagerFollowEmeraldBlock = false;
|
||||
public boolean villagerCanBeLeashed = false;
|
||||
public boolean villagerCanBreed = true;
|
||||
@@ -878,7 +878,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void villagerSettings() {
|
||||
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
|
||||
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
|
||||
@@ -1741,6 +1788,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1737,6 +1784,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);
|
||||
@@ -886,7 +886,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
}
|
||||
|
||||
public boolean vindicatorRidable = false;
|
||||
@@ -1852,6 +1900,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1848,6 +1896,7 @@ public class PurpurWorldConfig {
|
||||
public boolean wolfRidableInWater = false;
|
||||
public boolean wolfControllable = true;
|
||||
public double wolfMaxHealth = 8.0D;
|
||||
@@ -894,7 +894,7 @@ index a53eb2654a677c68497e35f7d87dd0408ac1b523..c0afa86b018f2af481c7e0494d1274ab
|
||||
private void wolfSettings() {
|
||||
wolfRidable = getBoolean("mobs.wolf.ridable", wolfRidable);
|
||||
wolfRidableInWater = getBoolean("mobs.wolf.ridable-in-water", wolfRidableInWater);
|
||||
@@ -1862,6 +1911,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1858,6 +1907,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