mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 17:37:42 +01:00
[ci-skip] Reorder configs
This commit is contained in:
@@ -1157,10 +1157,10 @@ index 1a8df13b06b1ac5e5a7d63033b4a53261c779eda..8be025b735cea47ab3ce6c6b2aef052e
|
||||
|
||||
@Override
|
||||
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727ae6dbdb3 100644
|
||||
index e34d17ac9a9292871db310704080540e03abd44b..0d1f3db55c4e26eb9fddedb19130019e539ff862 100644
|
||||
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
@@ -1025,11 +1025,13 @@ public class PurpurWorldConfig {
|
||||
@@ -1019,11 +1019,13 @@ public class PurpurWorldConfig {
|
||||
public boolean axolotlRidable = false;
|
||||
public double axolotlMaxHealth = 14.0D;
|
||||
public int axolotlBreedingTicks = 6000;
|
||||
@@ -1174,7 +1174,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean batRidable = false;
|
||||
@@ -1044,6 +1046,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1038,6 +1040,7 @@ public class PurpurWorldConfig {
|
||||
public double batArmorToughness = 0.0D;
|
||||
public double batAttackKnockback = 0.0D;
|
||||
public boolean batTakeDamageFromWater = false;
|
||||
@@ -1182,7 +1182,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void batSettings() {
|
||||
batRidable = getBoolean("mobs.bat.ridable", batRidable);
|
||||
batRidableInWater = getBoolean("mobs.bat.ridable-in-water", batRidableInWater);
|
||||
@@ -1055,6 +1058,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1049,6 +1052,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
batMaxHealth = getDouble("mobs.bat.attributes.max_health", batMaxHealth);
|
||||
batTakeDamageFromWater = getBoolean("mobs.bat.takes-damage-from-water", batTakeDamageFromWater);
|
||||
@@ -1190,7 +1190,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean beeRidable = false;
|
||||
@@ -1065,6 +1069,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1059,6 +1063,7 @@ public class PurpurWorldConfig {
|
||||
public boolean beeTakeDamageFromWater = false;
|
||||
public boolean beeCanWorkAtNight = false;
|
||||
public boolean beeCanWorkInRain = false;
|
||||
@@ -1198,7 +1198,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void beeSettings() {
|
||||
beeRidable = getBoolean("mobs.bee.ridable", beeRidable);
|
||||
beeRidableInWater = getBoolean("mobs.bee.ridable-in-water", beeRidableInWater);
|
||||
@@ -1079,6 +1084,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1073,6 +1078,7 @@ public class PurpurWorldConfig {
|
||||
beeTakeDamageFromWater = getBoolean("mobs.bee.takes-damage-from-water", beeTakeDamageFromWater);
|
||||
beeCanWorkAtNight = getBoolean("mobs.bee.can-work-at-night", beeCanWorkAtNight);
|
||||
beeCanWorkInRain = getBoolean("mobs.bee.can-work-in-rain", beeCanWorkInRain);
|
||||
@@ -1206,7 +1206,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean blazeRidable = false;
|
||||
@@ -1086,6 +1092,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1080,6 +1086,7 @@ public class PurpurWorldConfig {
|
||||
public double blazeMaxY = 256D;
|
||||
public double blazeMaxHealth = 20.0D;
|
||||
public boolean blazeTakeDamageFromWater = true;
|
||||
@@ -1214,7 +1214,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void blazeSettings() {
|
||||
blazeRidable = getBoolean("mobs.blaze.ridable", blazeRidable);
|
||||
blazeRidableInWater = getBoolean("mobs.blaze.ridable-in-water", blazeRidableInWater);
|
||||
@@ -1097,6 +1104,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1091,6 +1098,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
blazeMaxHealth = getDouble("mobs.blaze.attributes.max_health", blazeMaxHealth);
|
||||
blazeTakeDamageFromWater = getBoolean("mobs.blaze.takes-damage-from-water", blazeTakeDamageFromWater);
|
||||
@@ -1222,7 +1222,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean catRidable = false;
|
||||
@@ -1108,6 +1116,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1102,6 +1110,7 @@ public class PurpurWorldConfig {
|
||||
public int catSpawnVillageScanRange = 48;
|
||||
public int catBreedingTicks = 6000;
|
||||
public boolean catTakeDamageFromWater = false;
|
||||
@@ -1230,7 +1230,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void catSettings() {
|
||||
catRidable = getBoolean("mobs.cat.ridable", catRidable);
|
||||
catRidableInWater = getBoolean("mobs.cat.ridable-in-water", catRidableInWater);
|
||||
@@ -1127,12 +1136,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1121,12 +1130,14 @@ public class PurpurWorldConfig {
|
||||
catSpawnVillageScanRange = getInt("mobs.cat.scan-range-for-other-cats.village", catSpawnVillageScanRange);
|
||||
catBreedingTicks = getInt("mobs.cat.breeding-delay-ticks", catBreedingTicks);
|
||||
catTakeDamageFromWater = getBoolean("mobs.cat.takes-damage-from-water", catTakeDamageFromWater);
|
||||
@@ -1245,7 +1245,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void caveSpiderSettings() {
|
||||
caveSpiderRidable = getBoolean("mobs.cave_spider.ridable", caveSpiderRidable);
|
||||
caveSpiderRidableInWater = getBoolean("mobs.cave_spider.ridable-in-water", caveSpiderRidableInWater);
|
||||
@@ -1143,6 +1154,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1137,6 +1148,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
caveSpiderMaxHealth = getDouble("mobs.cave_spider.attributes.max_health", caveSpiderMaxHealth);
|
||||
caveSpiderTakeDamageFromWater = getBoolean("mobs.cave_spider.takes-damage-from-water", caveSpiderTakeDamageFromWater);
|
||||
@@ -1253,7 +1253,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean chickenRidable = false;
|
||||
@@ -1151,6 +1163,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1145,6 +1157,7 @@ public class PurpurWorldConfig {
|
||||
public boolean chickenRetaliate = false;
|
||||
public int chickenBreedingTicks = 6000;
|
||||
public boolean chickenTakeDamageFromWater = false;
|
||||
@@ -1261,7 +1261,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void chickenSettings() {
|
||||
chickenRidable = getBoolean("mobs.chicken.ridable", chickenRidable);
|
||||
chickenRidableInWater = getBoolean("mobs.chicken.ridable-in-water", chickenRidableInWater);
|
||||
@@ -1163,11 +1176,13 @@ public class PurpurWorldConfig {
|
||||
@@ -1157,11 +1170,13 @@ public class PurpurWorldConfig {
|
||||
chickenRetaliate = getBoolean("mobs.chicken.retaliate", chickenRetaliate);
|
||||
chickenBreedingTicks = getInt("mobs.chicken.breeding-delay-ticks", chickenBreedingTicks);
|
||||
chickenTakeDamageFromWater = getBoolean("mobs.chicken.takes-damage-from-water", chickenTakeDamageFromWater);
|
||||
@@ -1275,7 +1275,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void codSettings() {
|
||||
codRidable = getBoolean("mobs.cod.ridable", codRidable);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1177,6 +1192,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1171,6 +1186,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
codMaxHealth = getDouble("mobs.cod.attributes.max_health", codMaxHealth);
|
||||
codTakeDamageFromWater = getBoolean("mobs.cod.takes-damage-from-water", codTakeDamageFromWater);
|
||||
@@ -1283,7 +1283,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean cowRidable = false;
|
||||
@@ -1187,6 +1203,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1181,6 +1197,7 @@ public class PurpurWorldConfig {
|
||||
public boolean cowTakeDamageFromWater = false;
|
||||
public double cowNaturallyAggressiveToPlayersChance = 0.0D;
|
||||
public double cowNaturallyAggressiveToPlayersDamage = 2.0D;
|
||||
@@ -1291,7 +1291,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void cowSettings() {
|
||||
if (PurpurConfig.version < 22) {
|
||||
double oldValue = getDouble("mobs.cow.naturally-aggressive-to-players-chance", cowNaturallyAggressiveToPlayersChance);
|
||||
@@ -1206,6 +1223,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1200,6 +1217,7 @@ public class PurpurWorldConfig {
|
||||
cowTakeDamageFromWater = getBoolean("mobs.cow.takes-damage-from-water", cowTakeDamageFromWater);
|
||||
cowNaturallyAggressiveToPlayersChance = getDouble("mobs.cow.naturally-aggressive-to-players.chance", cowNaturallyAggressiveToPlayersChance);
|
||||
cowNaturallyAggressiveToPlayersDamage = getDouble("mobs.cow.naturally-aggressive-to-players.damage", cowNaturallyAggressiveToPlayersDamage);
|
||||
@@ -1299,7 +1299,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean creeperRidable = false;
|
||||
@@ -1217,6 +1235,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1211,6 +1229,7 @@ public class PurpurWorldConfig {
|
||||
public boolean creeperTakeDamageFromWater = false;
|
||||
public boolean creeperExplodeWhenKilled = false;
|
||||
public boolean creeperHealthRadius = false;
|
||||
@@ -1307,7 +1307,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void creeperSettings() {
|
||||
creeperRidable = getBoolean("mobs.creeper.ridable", creeperRidable);
|
||||
creeperRidableInWater = getBoolean("mobs.creeper.ridable-in-water", creeperRidableInWater);
|
||||
@@ -1232,6 +1251,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1226,6 +1245,7 @@ public class PurpurWorldConfig {
|
||||
creeperTakeDamageFromWater = getBoolean("mobs.creeper.takes-damage-from-water", creeperTakeDamageFromWater);
|
||||
creeperExplodeWhenKilled = getBoolean("mobs.creeper.explode-when-killed", creeperExplodeWhenKilled);
|
||||
creeperHealthRadius = getBoolean("mobs.creeper.health-impacts-explosion", creeperHealthRadius);
|
||||
@@ -1315,7 +1315,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean dolphinRidable = false;
|
||||
@@ -1242,6 +1262,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1236,6 +1256,7 @@ public class PurpurWorldConfig {
|
||||
public boolean dolphinDisableTreasureSearching = false;
|
||||
public boolean dolphinTakeDamageFromWater = false;
|
||||
public double dolphinNaturallyAggressiveToPlayersChance = 0.0D;
|
||||
@@ -1323,7 +1323,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void dolphinSettings() {
|
||||
dolphinRidable = getBoolean("mobs.dolphin.ridable", dolphinRidable);
|
||||
dolphinSpitCooldown = getInt("mobs.dolphin.spit.cooldown", dolphinSpitCooldown);
|
||||
@@ -1256,6 +1277,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1250,6 +1271,7 @@ public class PurpurWorldConfig {
|
||||
dolphinDisableTreasureSearching = getBoolean("mobs.dolphin.disable-treasure-searching", dolphinDisableTreasureSearching);
|
||||
dolphinTakeDamageFromWater = getBoolean("mobs.dolphin.takes-damage-from-water", dolphinTakeDamageFromWater);
|
||||
dolphinNaturallyAggressiveToPlayersChance = getDouble("mobs.dolphin.naturally-aggressive-to-players-chance", dolphinNaturallyAggressiveToPlayersChance);
|
||||
@@ -1331,7 +1331,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean donkeyRidableInWater = false;
|
||||
@@ -1267,6 +1289,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1261,6 +1283,7 @@ public class PurpurWorldConfig {
|
||||
public double donkeyMovementSpeedMax = 0.175D;
|
||||
public int donkeyBreedingTicks = 6000;
|
||||
public boolean donkeyTakeDamageFromWater = false;
|
||||
@@ -1339,7 +1339,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void donkeySettings() {
|
||||
donkeyRidableInWater = getBoolean("mobs.donkey.ridable-in-water", donkeyRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1284,6 +1307,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1278,6 +1301,7 @@ public class PurpurWorldConfig {
|
||||
donkeyMovementSpeedMax = getDouble("mobs.donkey.attributes.movement_speed.max", donkeyMovementSpeedMax);
|
||||
donkeyBreedingTicks = getInt("mobs.donkey.breeding-delay-ticks", donkeyBreedingTicks);
|
||||
donkeyTakeDamageFromWater = getBoolean("mobs.donkey.takes-damage-from-water", donkeyTakeDamageFromWater);
|
||||
@@ -1347,7 +1347,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean drownedRidable = false;
|
||||
@@ -1295,6 +1319,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1289,6 +1313,7 @@ public class PurpurWorldConfig {
|
||||
public boolean drownedJockeyTryExistingChickens = true;
|
||||
public boolean drownedTakeDamageFromWater = false;
|
||||
public boolean drownedBreakDoors = false;
|
||||
@@ -1355,7 +1355,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void drownedSettings() {
|
||||
drownedRidable = getBoolean("mobs.drowned.ridable", drownedRidable);
|
||||
drownedRidableInWater = getBoolean("mobs.drowned.ridable-in-water", drownedRidableInWater);
|
||||
@@ -1310,11 +1335,13 @@ public class PurpurWorldConfig {
|
||||
@@ -1304,11 +1329,13 @@ public class PurpurWorldConfig {
|
||||
drownedJockeyTryExistingChickens = getBoolean("mobs.drowned.jockey.try-existing-chickens", drownedJockeyTryExistingChickens);
|
||||
drownedTakeDamageFromWater = getBoolean("mobs.drowned.takes-damage-from-water", drownedTakeDamageFromWater);
|
||||
drownedBreakDoors = getBoolean("mobs.drowned.can-break-doors", drownedBreakDoors);
|
||||
@@ -1369,7 +1369,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void elderGuardianSettings() {
|
||||
elderGuardianRidable = getBoolean("mobs.elder_guardian.ridable", elderGuardianRidable);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1324,6 +1351,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1318,6 +1345,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
elderGuardianMaxHealth = getDouble("mobs.elder_guardian.attributes.max_health", elderGuardianMaxHealth);
|
||||
elderGuardianTakeDamageFromWater = getBoolean("mobs.elder_guardian.takes-damage-from-water", elderGuardianTakeDamageFromWater);
|
||||
@@ -1377,7 +1377,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean enderDragonRidable = false;
|
||||
@@ -1366,6 +1394,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1360,6 +1388,7 @@ public class PurpurWorldConfig {
|
||||
public boolean endermanIgnorePlayerDragonHead = false;
|
||||
public boolean endermanDisableStareAggro = false;
|
||||
public boolean endermanIgnoreProjectiles = false;
|
||||
@@ -1385,7 +1385,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void endermanSettings() {
|
||||
endermanRidable = getBoolean("mobs.enderman.ridable", endermanRidable);
|
||||
endermanRidableInWater = getBoolean("mobs.enderman.ridable-in-water", endermanRidableInWater);
|
||||
@@ -1388,12 +1417,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1382,12 +1411,14 @@ public class PurpurWorldConfig {
|
||||
endermanIgnorePlayerDragonHead = getBoolean("mobs.enderman.ignore-players-wearing-dragon-head", endermanIgnorePlayerDragonHead);
|
||||
endermanDisableStareAggro = getBoolean("mobs.enderman.disable-player-stare-aggression", endermanDisableStareAggro);
|
||||
endermanIgnoreProjectiles = getBoolean("mobs.enderman.ignore-projectiles", endermanIgnoreProjectiles);
|
||||
@@ -1400,7 +1400,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void endermiteSettings() {
|
||||
endermiteRidable = getBoolean("mobs.endermite.ridable", endermiteRidable);
|
||||
endermiteRidableInWater = getBoolean("mobs.endermite.ridable-in-water", endermiteRidableInWater);
|
||||
@@ -1404,6 +1435,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1398,6 +1429,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
endermiteMaxHealth = getDouble("mobs.endermite.attributes.max_health", endermiteMaxHealth);
|
||||
endermiteTakeDamageFromWater = getBoolean("mobs.endermite.takes-damage-from-water", endermiteTakeDamageFromWater);
|
||||
@@ -1408,7 +1408,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean evokerRidable = false;
|
||||
@@ -1411,6 +1443,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1405,6 +1437,7 @@ public class PurpurWorldConfig {
|
||||
public double evokerMaxHealth = 24.0D;
|
||||
public boolean evokerBypassMobGriefing = false;
|
||||
public boolean evokerTakeDamageFromWater = false;
|
||||
@@ -1416,7 +1416,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void evokerSettings() {
|
||||
evokerRidable = getBoolean("mobs.evoker.ridable", evokerRidable);
|
||||
evokerRidableInWater = getBoolean("mobs.evoker.ridable-in-water", evokerRidableInWater);
|
||||
@@ -1422,6 +1455,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1416,6 +1449,7 @@ public class PurpurWorldConfig {
|
||||
evokerMaxHealth = getDouble("mobs.evoker.attributes.max_health", evokerMaxHealth);
|
||||
evokerBypassMobGriefing = getBoolean("mobs.evoker.bypass-mob-griefing", evokerBypassMobGriefing);
|
||||
evokerTakeDamageFromWater = getBoolean("mobs.evoker.takes-damage-from-water", evokerTakeDamageFromWater);
|
||||
@@ -1424,7 +1424,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean foxRidable = false;
|
||||
@@ -1431,6 +1465,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1425,6 +1459,7 @@ public class PurpurWorldConfig {
|
||||
public int foxBreedingTicks = 6000;
|
||||
public boolean foxBypassMobGriefing = false;
|
||||
public boolean foxTakeDamageFromWater = false;
|
||||
@@ -1432,7 +1432,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void foxSettings() {
|
||||
foxRidable = getBoolean("mobs.fox.ridable", foxRidable);
|
||||
foxRidableInWater = getBoolean("mobs.fox.ridable-in-water", foxRidableInWater);
|
||||
@@ -1444,6 +1479,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1438,6 +1473,7 @@ public class PurpurWorldConfig {
|
||||
foxBreedingTicks = getInt("mobs.fox.breeding-delay-ticks", foxBreedingTicks);
|
||||
foxBypassMobGriefing = getBoolean("mobs.fox.bypass-mob-griefing", foxBypassMobGriefing);
|
||||
foxTakeDamageFromWater = getBoolean("mobs.fox.takes-damage-from-water", foxTakeDamageFromWater);
|
||||
@@ -1440,7 +1440,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean ghastRidable = false;
|
||||
@@ -1451,6 +1487,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1445,6 +1481,7 @@ public class PurpurWorldConfig {
|
||||
public double ghastMaxY = 256D;
|
||||
public double ghastMaxHealth = 10.0D;
|
||||
public boolean ghastTakeDamageFromWater = false;
|
||||
@@ -1448,7 +1448,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void ghastSettings() {
|
||||
ghastRidable = getBoolean("mobs.ghast.ridable", ghastRidable);
|
||||
ghastRidableInWater = getBoolean("mobs.ghast.ridable-in-water", ghastRidableInWater);
|
||||
@@ -1462,6 +1499,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1456,6 +1493,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
ghastMaxHealth = getDouble("mobs.ghast.attributes.max_health", ghastMaxHealth);
|
||||
ghastTakeDamageFromWater = getBoolean("mobs.ghast.takes-damage-from-water", ghastTakeDamageFromWater);
|
||||
@@ -1456,7 +1456,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean giantRidable = false;
|
||||
@@ -1474,6 +1512,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1468,6 +1506,7 @@ public class PurpurWorldConfig {
|
||||
public boolean giantHaveAI = false;
|
||||
public boolean giantHaveHostileAI = false;
|
||||
public boolean giantTakeDamageFromWater = false;
|
||||
@@ -1464,7 +1464,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void giantSettings() {
|
||||
giantRidable = getBoolean("mobs.giant.ridable", giantRidable);
|
||||
giantRidableInWater = getBoolean("mobs.giant.ridable-in-water", giantRidableInWater);
|
||||
@@ -1494,17 +1533,20 @@ public class PurpurWorldConfig {
|
||||
@@ -1488,17 +1527,20 @@ public class PurpurWorldConfig {
|
||||
giantHaveAI = getBoolean("mobs.giant.have-ai", giantHaveAI);
|
||||
giantHaveHostileAI = getBoolean("mobs.giant.have-hostile-ai", giantHaveHostileAI);
|
||||
giantTakeDamageFromWater = getBoolean("mobs.giant.takes-damage-from-water", giantTakeDamageFromWater);
|
||||
@@ -1485,7 +1485,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean goatRidable = false;
|
||||
@@ -1512,17 +1554,20 @@ public class PurpurWorldConfig {
|
||||
@@ -1506,17 +1548,20 @@ public class PurpurWorldConfig {
|
||||
public double goatMaxHealth = 10.0D;
|
||||
public int goatBreedingTicks = 6000;
|
||||
public boolean goatTakeDamageFromWater = false;
|
||||
@@ -1506,7 +1506,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void guardianSettings() {
|
||||
guardianRidable = getBoolean("mobs.guardian.ridable", guardianRidable);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1532,6 +1577,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1526,6 +1571,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
guardianMaxHealth = getDouble("mobs.guardian.attributes.max_health", guardianMaxHealth);
|
||||
guardianTakeDamageFromWater = getBoolean("mobs.guardian.takes-damage-from-water", guardianTakeDamageFromWater);
|
||||
@@ -1514,7 +1514,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean forceHalloweenSeason = false;
|
||||
@@ -1546,6 +1592,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1540,6 +1586,7 @@ public class PurpurWorldConfig {
|
||||
public double hoglinMaxHealth = 40.0D;
|
||||
public int hoglinBreedingTicks = 6000;
|
||||
public boolean hoglinTakeDamageFromWater = false;
|
||||
@@ -1522,7 +1522,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void hoglinSettings() {
|
||||
hoglinRidable = getBoolean("mobs.hoglin.ridable", hoglinRidable);
|
||||
hoglinRidableInWater = getBoolean("mobs.hoglin.ridable-in-water", hoglinRidableInWater);
|
||||
@@ -1557,6 +1604,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1551,6 +1598,7 @@ public class PurpurWorldConfig {
|
||||
hoglinMaxHealth = getDouble("mobs.hoglin.attributes.max_health", hoglinMaxHealth);
|
||||
hoglinBreedingTicks = getInt("mobs.hoglin.breeding-delay-ticks", hoglinBreedingTicks);
|
||||
hoglinTakeDamageFromWater = getBoolean("mobs.hoglin.takes-damage-from-water", hoglinTakeDamageFromWater);
|
||||
@@ -1530,7 +1530,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean horseRidableInWater = false;
|
||||
@@ -1569,6 +1617,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1563,6 +1611,7 @@ public class PurpurWorldConfig {
|
||||
public int horseBreedingTicks = 6000;
|
||||
public boolean horseTakeDamageFromWater = false;
|
||||
public boolean horseStandWithRider = true;
|
||||
@@ -1538,7 +1538,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void horseSettings() {
|
||||
horseRidableInWater = getBoolean("mobs.horse.ridable-in-water", horseRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1587,6 +1636,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1581,6 +1630,7 @@ public class PurpurWorldConfig {
|
||||
horseBreedingTicks = getInt("mobs.horse.breeding-delay-ticks", horseBreedingTicks);
|
||||
horseTakeDamageFromWater = getBoolean("mobs.horse.takes-damage-from-water", horseTakeDamageFromWater);
|
||||
horseStandWithRider = getBoolean("mobs.horse.stand-with-rider", horseStandWithRider);
|
||||
@@ -1546,7 +1546,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean huskRidable = false;
|
||||
@@ -1597,6 +1647,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1591,6 +1641,7 @@ public class PurpurWorldConfig {
|
||||
public double huskJockeyChance = 0.05D;
|
||||
public boolean huskJockeyTryExistingChickens = true;
|
||||
public boolean huskTakeDamageFromWater = false;
|
||||
@@ -1554,7 +1554,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void huskSettings() {
|
||||
huskRidable = getBoolean("mobs.husk.ridable", huskRidable);
|
||||
huskRidableInWater = getBoolean("mobs.husk.ridable-in-water", huskRidableInWater);
|
||||
@@ -1611,6 +1662,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1605,6 +1656,7 @@ public class PurpurWorldConfig {
|
||||
huskJockeyChance = getDouble("mobs.husk.jockey.chance", huskJockeyChance);
|
||||
huskJockeyTryExistingChickens = getBoolean("mobs.husk.jockey.try-existing-chickens", huskJockeyTryExistingChickens);
|
||||
huskTakeDamageFromWater = getBoolean("mobs.husk.takes-damage-from-water", huskTakeDamageFromWater);
|
||||
@@ -1562,7 +1562,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean illusionerRidable = false;
|
||||
@@ -1619,6 +1671,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1613,6 +1665,7 @@ public class PurpurWorldConfig {
|
||||
public double illusionerFollowRange = 18.0D;
|
||||
public double illusionerMaxHealth = 32.0D;
|
||||
public boolean illusionerTakeDamageFromWater = false;
|
||||
@@ -1570,7 +1570,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void illusionerSettings() {
|
||||
illusionerRidable = getBoolean("mobs.illusioner.ridable", illusionerRidable);
|
||||
illusionerRidableInWater = getBoolean("mobs.illusioner.ridable-in-water", illusionerRidableInWater);
|
||||
@@ -1635,6 +1688,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1629,6 +1682,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
illusionerMaxHealth = getDouble("mobs.illusioner.attributes.max_health", illusionerMaxHealth);
|
||||
illusionerTakeDamageFromWater = getBoolean("mobs.illusioner.takes-damage-from-water", illusionerTakeDamageFromWater);
|
||||
@@ -1578,7 +1578,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean ironGolemRidable = false;
|
||||
@@ -1643,6 +1697,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1637,6 +1691,7 @@ public class PurpurWorldConfig {
|
||||
public double ironGolemMaxHealth = 100.0D;
|
||||
public boolean ironGolemTakeDamageFromWater = false;
|
||||
public boolean ironGolemPoppyCalm = false;
|
||||
@@ -1586,7 +1586,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void ironGolemSettings() {
|
||||
ironGolemRidable = getBoolean("mobs.iron_golem.ridable", ironGolemRidable);
|
||||
ironGolemRidableInWater = getBoolean("mobs.iron_golem.ridable-in-water", ironGolemRidableInWater);
|
||||
@@ -1655,6 +1710,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1649,6 +1704,7 @@ public class PurpurWorldConfig {
|
||||
ironGolemMaxHealth = getDouble("mobs.iron_golem.attributes.max_health", ironGolemMaxHealth);
|
||||
ironGolemTakeDamageFromWater = getBoolean("mobs.iron_golem.takes-damage-from-water", ironGolemTakeDamageFromWater);
|
||||
ironGolemPoppyCalm = getBoolean("mobs.iron_golem.poppy-calms-anger", ironGolemPoppyCalm);
|
||||
@@ -1594,7 +1594,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean llamaRidable = false;
|
||||
@@ -1668,6 +1724,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1662,6 +1718,7 @@ public class PurpurWorldConfig {
|
||||
public int llamaBreedingTicks = 6000;
|
||||
public boolean llamaTakeDamageFromWater = false;
|
||||
public boolean llamaJoinCaravans = true;
|
||||
@@ -1602,7 +1602,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void llamaSettings() {
|
||||
llamaRidable = getBoolean("mobs.llama.ridable", llamaRidable);
|
||||
llamaRidableInWater = getBoolean("mobs.llama.ridable-in-water", llamaRidableInWater);
|
||||
@@ -1687,12 +1744,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1681,12 +1738,14 @@ public class PurpurWorldConfig {
|
||||
llamaBreedingTicks = getInt("mobs.llama.breeding-delay-ticks", llamaBreedingTicks);
|
||||
llamaTakeDamageFromWater = getBoolean("mobs.llama.takes-damage-from-water", llamaTakeDamageFromWater);
|
||||
llamaJoinCaravans = getBoolean("mobs.llama.join-caravans", llamaJoinCaravans);
|
||||
@@ -1617,7 +1617,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void magmaCubeSettings() {
|
||||
magmaCubeRidable = getBoolean("mobs.magma_cube.ridable", magmaCubeRidable);
|
||||
magmaCubeRidableInWater = getBoolean("mobs.magma_cube.ridable-in-water", magmaCubeRidableInWater);
|
||||
@@ -1703,6 +1762,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1697,6 +1756,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
magmaCubeMaxHealth = getString("mobs.magma_cube.attributes.max_health", magmaCubeMaxHealth);
|
||||
magmaCubeTakeDamageFromWater = getBoolean("mobs.magma_cube.takes-damage-from-water", magmaCubeTakeDamageFromWater);
|
||||
@@ -1625,7 +1625,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean mooshroomRidable = false;
|
||||
@@ -1710,6 +1770,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1704,6 +1764,7 @@ public class PurpurWorldConfig {
|
||||
public double mooshroomMaxHealth = 10.0D;
|
||||
public int mooshroomBreedingTicks = 6000;
|
||||
public boolean mooshroomTakeDamageFromWater = false;
|
||||
@@ -1633,7 +1633,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void mooshroomSettings() {
|
||||
mooshroomRidable = getBoolean("mobs.mooshroom.ridable", mooshroomRidable);
|
||||
mooshroomRidableInWater = getBoolean("mobs.mooshroom.ridable-in-water", mooshroomRidableInWater);
|
||||
@@ -1721,6 +1782,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1715,6 +1776,7 @@ public class PurpurWorldConfig {
|
||||
mooshroomMaxHealth = getDouble("mobs.mooshroom.attributes.max_health", mooshroomMaxHealth);
|
||||
mooshroomBreedingTicks = getInt("mobs.mooshroom.breeding-delay-ticks", mooshroomBreedingTicks);
|
||||
mooshroomTakeDamageFromWater = getBoolean("mobs.mooshroom.takes-damage-from-water", mooshroomTakeDamageFromWater);
|
||||
@@ -1641,7 +1641,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean muleRidableInWater = false;
|
||||
@@ -1732,6 +1794,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1726,6 +1788,7 @@ public class PurpurWorldConfig {
|
||||
public double muleMovementSpeedMax = 0.175D;
|
||||
public int muleBreedingTicks = 6000;
|
||||
public boolean muleTakeDamageFromWater = false;
|
||||
@@ -1649,7 +1649,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void muleSettings() {
|
||||
muleRidableInWater = getBoolean("mobs.mule.ridable-in-water", muleRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1749,6 +1812,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1743,6 +1806,7 @@ public class PurpurWorldConfig {
|
||||
muleMovementSpeedMax = getDouble("mobs.mule.attributes.movement_speed.max", muleMovementSpeedMax);
|
||||
muleBreedingTicks = getInt("mobs.mule.breeding-delay-ticks", muleBreedingTicks);
|
||||
muleTakeDamageFromWater = getBoolean("mobs.mule.takes-damage-from-water", muleTakeDamageFromWater);
|
||||
@@ -1657,7 +1657,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean ocelotRidable = false;
|
||||
@@ -1756,6 +1820,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1750,6 +1814,7 @@ public class PurpurWorldConfig {
|
||||
public double ocelotMaxHealth = 10.0D;
|
||||
public int ocelotBreedingTicks = 6000;
|
||||
public boolean ocelotTakeDamageFromWater = false;
|
||||
@@ -1665,7 +1665,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void ocelotSettings() {
|
||||
ocelotRidable = getBoolean("mobs.ocelot.ridable", ocelotRidable);
|
||||
ocelotRidableInWater = getBoolean("mobs.ocelot.ridable-in-water", ocelotRidableInWater);
|
||||
@@ -1767,6 +1832,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1761,6 +1826,7 @@ public class PurpurWorldConfig {
|
||||
ocelotMaxHealth = getDouble("mobs.ocelot.attributes.max_health", ocelotMaxHealth);
|
||||
ocelotBreedingTicks = getInt("mobs.ocelot.breeding-delay-ticks", ocelotBreedingTicks);
|
||||
ocelotTakeDamageFromWater = getBoolean("mobs.ocelot.takes-damage-from-water", ocelotTakeDamageFromWater);
|
||||
@@ -1673,7 +1673,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean pandaRidable = false;
|
||||
@@ -1774,6 +1840,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1768,6 +1834,7 @@ public class PurpurWorldConfig {
|
||||
public double pandaMaxHealth = 20.0D;
|
||||
public int pandaBreedingTicks = 6000;
|
||||
public boolean pandaTakeDamageFromWater = false;
|
||||
@@ -1681,7 +1681,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void pandaSettings() {
|
||||
pandaRidable = getBoolean("mobs.panda.ridable", pandaRidable);
|
||||
pandaRidableInWater = getBoolean("mobs.panda.ridable-in-water", pandaRidableInWater);
|
||||
@@ -1785,6 +1852,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1779,6 +1846,7 @@ public class PurpurWorldConfig {
|
||||
pandaMaxHealth = getDouble("mobs.panda.attributes.max_health", pandaMaxHealth);
|
||||
pandaBreedingTicks = getInt("mobs.panda.breeding-delay-ticks", pandaBreedingTicks);
|
||||
pandaTakeDamageFromWater = getBoolean("mobs.panda.takes-damage-from-water", pandaTakeDamageFromWater);
|
||||
@@ -1689,7 +1689,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean parrotRidable = false;
|
||||
@@ -1793,6 +1861,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1787,6 +1855,7 @@ public class PurpurWorldConfig {
|
||||
public double parrotMaxHealth = 6.0D;
|
||||
public boolean parrotTakeDamageFromWater = false;
|
||||
public boolean parrotBreedable = false;
|
||||
@@ -1697,7 +1697,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void parrotSettings() {
|
||||
parrotRidable = getBoolean("mobs.parrot.ridable", parrotRidable);
|
||||
parrotRidableInWater = getBoolean("mobs.parrot.ridable-in-water", parrotRidableInWater);
|
||||
@@ -1805,6 +1874,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1799,6 +1868,7 @@ public class PurpurWorldConfig {
|
||||
parrotMaxHealth = getDouble("mobs.parrot.attributes.max_health", parrotMaxHealth);
|
||||
parrotTakeDamageFromWater = getBoolean("mobs.parrot.takes-damage-from-water", parrotTakeDamageFromWater);
|
||||
parrotBreedable = getBoolean("mobs.parrot.can-breed", parrotBreedable);
|
||||
@@ -1705,7 +1705,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean phantomRidable = false;
|
||||
@@ -1834,6 +1904,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1828,6 +1898,7 @@ public class PurpurWorldConfig {
|
||||
public boolean phantomIgnorePlayersWithTorch = false;
|
||||
public boolean phantomBurnInDaylight = true;
|
||||
public boolean phantomTakeDamageFromWater = false;
|
||||
@@ -1713,7 +1713,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void phantomSettings() {
|
||||
phantomRidable = getBoolean("mobs.phantom.ridable", phantomRidable);
|
||||
phantomRidableInWater = getBoolean("mobs.phantom.ridable-in-water", phantomRidableInWater);
|
||||
@@ -1867,6 +1938,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1861,6 +1932,7 @@ public class PurpurWorldConfig {
|
||||
phantomBurnInDaylight = getBoolean("mobs.phantom.burn-in-daylight", phantomBurnInDaylight);
|
||||
phantomIgnorePlayersWithTorch = getBoolean("mobs.phantom.ignore-players-with-torch", phantomIgnorePlayersWithTorch);
|
||||
phantomTakeDamageFromWater = getBoolean("mobs.phantom.takes-damage-from-water", phantomTakeDamageFromWater);
|
||||
@@ -1721,7 +1721,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean pigRidable = false;
|
||||
@@ -1875,6 +1947,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1869,6 +1941,7 @@ public class PurpurWorldConfig {
|
||||
public boolean pigGiveSaddleBack = false;
|
||||
public int pigBreedingTicks = 6000;
|
||||
public boolean pigTakeDamageFromWater = false;
|
||||
@@ -1729,7 +1729,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void pigSettings() {
|
||||
pigRidable = getBoolean("mobs.pig.ridable", pigRidable);
|
||||
pigRidableInWater = getBoolean("mobs.pig.ridable-in-water", pigRidableInWater);
|
||||
@@ -1887,6 +1960,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1881,6 +1954,7 @@ public class PurpurWorldConfig {
|
||||
pigGiveSaddleBack = getBoolean("mobs.pig.give-saddle-back", pigGiveSaddleBack);
|
||||
pigBreedingTicks = getInt("mobs.pig.breeding-delay-ticks", pigBreedingTicks);
|
||||
pigTakeDamageFromWater = getBoolean("mobs.pig.takes-damage-from-water", pigTakeDamageFromWater);
|
||||
@@ -1737,7 +1737,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean piglinRidable = false;
|
||||
@@ -1895,6 +1969,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1889,6 +1963,7 @@ public class PurpurWorldConfig {
|
||||
public boolean piglinBypassMobGriefing = false;
|
||||
public boolean piglinTakeDamageFromWater = false;
|
||||
public int piglinPortalSpawnModifier = 2000;
|
||||
@@ -1745,7 +1745,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void piglinSettings() {
|
||||
piglinRidable = getBoolean("mobs.piglin.ridable", piglinRidable);
|
||||
piglinRidableInWater = getBoolean("mobs.piglin.ridable-in-water", piglinRidableInWater);
|
||||
@@ -1907,12 +1982,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1901,12 +1976,14 @@ public class PurpurWorldConfig {
|
||||
piglinBypassMobGriefing = getBoolean("mobs.piglin.bypass-mob-griefing", piglinBypassMobGriefing);
|
||||
piglinTakeDamageFromWater = getBoolean("mobs.piglin.takes-damage-from-water", piglinTakeDamageFromWater);
|
||||
piglinPortalSpawnModifier = getInt("mobs.piglin.portal-spawn-modifier", piglinPortalSpawnModifier);
|
||||
@@ -1760,7 +1760,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void piglinBruteSettings() {
|
||||
piglinBruteRidable = getBoolean("mobs.piglin_brute.ridable", piglinBruteRidable);
|
||||
piglinBruteRidableInWater = getBoolean("mobs.piglin_brute.ridable-in-water", piglinBruteRidableInWater);
|
||||
@@ -1923,6 +2000,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1917,6 +1994,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
piglinBruteMaxHealth = getDouble("mobs.piglin_brute.attributes.max_health", piglinBruteMaxHealth);
|
||||
piglinBruteTakeDamageFromWater = getBoolean("mobs.piglin_brute.takes-damage-from-water", piglinBruteTakeDamageFromWater);
|
||||
@@ -1768,7 +1768,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean pillagerRidable = false;
|
||||
@@ -1930,6 +2008,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1924,6 +2002,7 @@ public class PurpurWorldConfig {
|
||||
public double pillagerMaxHealth = 24.0D;
|
||||
public boolean pillagerBypassMobGriefing = false;
|
||||
public boolean pillagerTakeDamageFromWater = false;
|
||||
@@ -1776,7 +1776,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void pillagerSettings() {
|
||||
pillagerRidable = getBoolean("mobs.pillager.ridable", pillagerRidable);
|
||||
pillagerRidableInWater = getBoolean("mobs.pillager.ridable-in-water", pillagerRidableInWater);
|
||||
@@ -1941,6 +2020,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1935,6 +2014,7 @@ public class PurpurWorldConfig {
|
||||
pillagerMaxHealth = getDouble("mobs.pillager.attributes.max_health", pillagerMaxHealth);
|
||||
pillagerBypassMobGriefing = getBoolean("mobs.pillager.bypass-mob-griefing", pillagerBypassMobGriefing);
|
||||
pillagerTakeDamageFromWater = getBoolean("mobs.pillager.takes-damage-from-water", pillagerTakeDamageFromWater);
|
||||
@@ -1784,7 +1784,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean polarBearRidable = false;
|
||||
@@ -1950,6 +2030,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1944,6 +2024,7 @@ public class PurpurWorldConfig {
|
||||
public Item polarBearBreedableItem = null;
|
||||
public int polarBearBreedingTicks = 6000;
|
||||
public boolean polarBearTakeDamageFromWater = false;
|
||||
@@ -1792,7 +1792,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void polarBearSettings() {
|
||||
polarBearRidable = getBoolean("mobs.polar_bear.ridable", polarBearRidable);
|
||||
polarBearRidableInWater = getBoolean("mobs.polar_bear.ridable-in-water", polarBearRidableInWater);
|
||||
@@ -1964,11 +2045,13 @@ public class PurpurWorldConfig {
|
||||
@@ -1958,11 +2039,13 @@ public class PurpurWorldConfig {
|
||||
if (item != Items.AIR) polarBearBreedableItem = item;
|
||||
polarBearBreedingTicks = getInt("mobs.polar_bear.breeding-delay-ticks", polarBearBreedingTicks);
|
||||
polarBearTakeDamageFromWater = getBoolean("mobs.polar_bear.takes-damage-from-water", polarBearTakeDamageFromWater);
|
||||
@@ -1806,7 +1806,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void pufferfishSettings() {
|
||||
pufferfishRidable = getBoolean("mobs.pufferfish.ridable", pufferfishRidable);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1978,6 +2061,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1972,6 +2055,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
pufferfishMaxHealth = getDouble("mobs.pufferfish.attributes.max_health", pufferfishMaxHealth);
|
||||
pufferfishTakeDamageFromWater = getBoolean("mobs.pufferfish.takes-damage-from-water", pufferfishTakeDamageFromWater);
|
||||
@@ -1814,7 +1814,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean rabbitRidable = false;
|
||||
@@ -1988,6 +2072,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1982,6 +2066,7 @@ public class PurpurWorldConfig {
|
||||
public int rabbitBreedingTicks = 6000;
|
||||
public boolean rabbitBypassMobGriefing = false;
|
||||
public boolean rabbitTakeDamageFromWater = false;
|
||||
@@ -1822,7 +1822,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void rabbitSettings() {
|
||||
rabbitRidable = getBoolean("mobs.rabbit.ridable", rabbitRidable);
|
||||
rabbitRidableInWater = getBoolean("mobs.rabbit.ridable-in-water", rabbitRidableInWater);
|
||||
@@ -2002,6 +2087,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1996,6 +2081,7 @@ public class PurpurWorldConfig {
|
||||
rabbitBreedingTicks = getInt("mobs.rabbit.breeding-delay-ticks", rabbitBreedingTicks);
|
||||
rabbitBypassMobGriefing = getBoolean("mobs.rabbit.bypass-mob-griefing", rabbitBypassMobGriefing);
|
||||
rabbitTakeDamageFromWater = getBoolean("mobs.rabbit.takes-damage-from-water", rabbitTakeDamageFromWater);
|
||||
@@ -1830,7 +1830,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean ravagerRidable = false;
|
||||
@@ -2010,6 +2096,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2004,6 +2090,7 @@ public class PurpurWorldConfig {
|
||||
public boolean ravagerBypassMobGriefing = false;
|
||||
public boolean ravagerTakeDamageFromWater = false;
|
||||
public List<Block> ravagerGriefableBlocks = new ArrayList<>();
|
||||
@@ -1838,7 +1838,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void ravagerSettings() {
|
||||
ravagerRidable = getBoolean("mobs.ravager.ridable", ravagerRidable);
|
||||
ravagerRidableInWater = getBoolean("mobs.ravager.ridable-in-water", ravagerRidableInWater);
|
||||
@@ -2038,11 +2125,13 @@ public class PurpurWorldConfig {
|
||||
@@ -2032,11 +2119,13 @@ public class PurpurWorldConfig {
|
||||
ravagerGriefableBlocks.add(block);
|
||||
}
|
||||
});
|
||||
@@ -1852,7 +1852,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void salmonSettings() {
|
||||
salmonRidable = getBoolean("mobs.salmon.ridable", salmonRidable);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -2052,6 +2141,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2046,6 +2135,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
salmonMaxHealth = getDouble("mobs.salmon.attributes.max_health", salmonMaxHealth);
|
||||
salmonTakeDamageFromWater = getBoolean("mobs.salmon.takes-damage-from-water", salmonTakeDamageFromWater);
|
||||
@@ -1860,7 +1860,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean sheepRidable = false;
|
||||
@@ -2060,6 +2150,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2054,6 +2144,7 @@ public class PurpurWorldConfig {
|
||||
public int sheepBreedingTicks = 6000;
|
||||
public boolean sheepBypassMobGriefing = false;
|
||||
public boolean sheepTakeDamageFromWater = false;
|
||||
@@ -1868,7 +1868,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void sheepSettings() {
|
||||
sheepRidable = getBoolean("mobs.sheep.ridable", sheepRidable);
|
||||
sheepRidableInWater = getBoolean("mobs.sheep.ridable-in-water", sheepRidableInWater);
|
||||
@@ -2072,6 +2163,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2066,6 +2157,7 @@ public class PurpurWorldConfig {
|
||||
sheepBreedingTicks = getInt("mobs.sheep.breeding-delay-ticks", sheepBreedingTicks);
|
||||
sheepBypassMobGriefing = getBoolean("mobs.sheep.bypass-mob-griefing", sheepBypassMobGriefing);
|
||||
sheepTakeDamageFromWater = getBoolean("mobs.sheep.takes-damage-from-water", sheepTakeDamageFromWater);
|
||||
@@ -1876,7 +1876,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean shulkerRidable = false;
|
||||
@@ -2084,6 +2176,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2078,6 +2170,7 @@ public class PurpurWorldConfig {
|
||||
public String shulkerSpawnFromBulletNearbyEquation = "(nearby - 1) / 5.0";
|
||||
public boolean shulkerSpawnFromBulletRandomColor = false;
|
||||
public boolean shulkerChangeColorWithDye = false;
|
||||
@@ -1884,7 +1884,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void shulkerSettings() {
|
||||
shulkerRidable = getBoolean("mobs.shulker.ridable", shulkerRidable);
|
||||
shulkerRidableInWater = getBoolean("mobs.shulker.ridable-in-water", shulkerRidableInWater);
|
||||
@@ -2100,6 +2193,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2094,6 +2187,7 @@ public class PurpurWorldConfig {
|
||||
shulkerSpawnFromBulletNearbyEquation = getString("mobs.shulker.spawn-from-bullet.nearby-equation", shulkerSpawnFromBulletNearbyEquation);
|
||||
shulkerSpawnFromBulletRandomColor = getBoolean("mobs.shulker.spawn-from-bullet.random-color", shulkerSpawnFromBulletRandomColor);
|
||||
shulkerChangeColorWithDye = getBoolean("mobs.shulker.change-color-with-dye", shulkerChangeColorWithDye);
|
||||
@@ -1892,7 +1892,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean silverfishRidable = false;
|
||||
@@ -2107,6 +2201,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2101,6 +2195,7 @@ public class PurpurWorldConfig {
|
||||
public double silverfishMaxHealth = 8.0D;
|
||||
public boolean silverfishBypassMobGriefing = false;
|
||||
public boolean silverfishTakeDamageFromWater = false;
|
||||
@@ -1900,7 +1900,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void silverfishSettings() {
|
||||
silverfishRidable = getBoolean("mobs.silverfish.ridable", silverfishRidable);
|
||||
silverfishRidableInWater = getBoolean("mobs.silverfish.ridable-in-water", silverfishRidableInWater);
|
||||
@@ -2118,12 +2213,14 @@ public class PurpurWorldConfig {
|
||||
@@ -2112,12 +2207,14 @@ public class PurpurWorldConfig {
|
||||
silverfishMaxHealth = getDouble("mobs.silverfish.attributes.max_health", silverfishMaxHealth);
|
||||
silverfishBypassMobGriefing = getBoolean("mobs.silverfish.bypass-mob-griefing", silverfishBypassMobGriefing);
|
||||
silverfishTakeDamageFromWater = getBoolean("mobs.silverfish.takes-damage-from-water", silverfishTakeDamageFromWater);
|
||||
@@ -1915,7 +1915,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void skeletonSettings() {
|
||||
skeletonRidable = getBoolean("mobs.skeleton.ridable", skeletonRidable);
|
||||
skeletonRidableInWater = getBoolean("mobs.skeleton.ridable-in-water", skeletonRidableInWater);
|
||||
@@ -2134,6 +2231,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2128,6 +2225,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
skeletonMaxHealth = getDouble("mobs.skeleton.attributes.max_health", skeletonMaxHealth);
|
||||
skeletonTakeDamageFromWater = getBoolean("mobs.skeleton.takes-damage-from-water", skeletonTakeDamageFromWater);
|
||||
@@ -1923,7 +1923,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean skeletonHorseRidableInWater = true;
|
||||
@@ -2145,6 +2243,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2139,6 +2237,7 @@ public class PurpurWorldConfig {
|
||||
public double skeletonHorseMovementSpeedMin = 0.2D;
|
||||
public double skeletonHorseMovementSpeedMax = 0.2D;
|
||||
public boolean skeletonHorseTakeDamageFromWater = false;
|
||||
@@ -1931,7 +1931,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void skeletonHorseSettings() {
|
||||
skeletonHorseRidableInWater = getBoolean("mobs.skeleton_horse.ridable-in-water", skeletonHorseRidableInWater);
|
||||
skeletonHorseCanSwim = getBoolean("mobs.skeleton_horse.can-swim", skeletonHorseCanSwim);
|
||||
@@ -2161,6 +2260,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2155,6 +2254,7 @@ public class PurpurWorldConfig {
|
||||
skeletonHorseMovementSpeedMin = getDouble("mobs.skeleton_horse.attributes.movement_speed.min", skeletonHorseMovementSpeedMin);
|
||||
skeletonHorseMovementSpeedMax = getDouble("mobs.skeleton_horse.attributes.movement_speed.max", skeletonHorseMovementSpeedMax);
|
||||
skeletonHorseTakeDamageFromWater = getBoolean("mobs.skeleton_horse.takes-damage-from-water", skeletonHorseTakeDamageFromWater);
|
||||
@@ -1939,7 +1939,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean slimeRidable = false;
|
||||
@@ -2168,6 +2268,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2162,6 +2262,7 @@ public class PurpurWorldConfig {
|
||||
public String slimeMaxHealth = "size * size";
|
||||
public Map<Integer, Double> slimeMaxHealthCache = new HashMap<>();
|
||||
public boolean slimeTakeDamageFromWater = false;
|
||||
@@ -1947,7 +1947,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void slimeSettings() {
|
||||
slimeRidable = getBoolean("mobs.slime.ridable", slimeRidable);
|
||||
slimeRidableInWater = getBoolean("mobs.slime.ridable-in-water", slimeRidableInWater);
|
||||
@@ -2179,6 +2280,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2173,6 +2274,7 @@ public class PurpurWorldConfig {
|
||||
slimeMaxHealth = getString("mobs.slime.attributes.max_health", slimeMaxHealth);
|
||||
slimeMaxHealthCache.clear();
|
||||
slimeTakeDamageFromWater = getBoolean("mobs.slime.takes-damage-from-water", slimeTakeDamageFromWater);
|
||||
@@ -1955,7 +1955,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean snowGolemRidable = false;
|
||||
@@ -2193,6 +2295,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2187,6 +2289,7 @@ public class PurpurWorldConfig {
|
||||
public double snowGolemAttackDistance = 1.25D;
|
||||
public boolean snowGolemBypassMobGriefing = false;
|
||||
public boolean snowGolemTakeDamageFromWater = true;
|
||||
@@ -1963,7 +1963,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void snowGolemSettings() {
|
||||
snowGolemRidable = getBoolean("mobs.snow_golem.ridable", snowGolemRidable);
|
||||
snowGolemRidableInWater = getBoolean("mobs.snow_golem.ridable-in-water", snowGolemRidableInWater);
|
||||
@@ -2211,6 +2314,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2205,6 +2308,7 @@ public class PurpurWorldConfig {
|
||||
snowGolemAttackDistance = getDouble("mobs.snow_golem.attack-distance", snowGolemAttackDistance);
|
||||
snowGolemBypassMobGriefing = getBoolean("mobs.snow_golem.bypass-mob-griefing", snowGolemBypassMobGriefing);
|
||||
snowGolemTakeDamageFromWater = getBoolean("mobs.snow_golem.takes-damage-from-water", snowGolemTakeDamageFromWater);
|
||||
@@ -1971,7 +1971,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean squidRidable = false;
|
||||
@@ -2219,6 +2323,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2213,6 +2317,7 @@ public class PurpurWorldConfig {
|
||||
public double squidOffsetWaterCheck = 0.0D;
|
||||
public boolean squidsCanFly = false;
|
||||
public boolean squidTakeDamageFromWater = false;
|
||||
@@ -1979,7 +1979,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void squidSettings() {
|
||||
squidRidable = getBoolean("mobs.squid.ridable", squidRidable);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -2231,12 +2336,14 @@ public class PurpurWorldConfig {
|
||||
@@ -2225,12 +2330,14 @@ public class PurpurWorldConfig {
|
||||
squidOffsetWaterCheck = getDouble("mobs.squid.water-offset-check", squidOffsetWaterCheck);
|
||||
squidsCanFly = getBoolean("mobs.squid.can-fly", squidsCanFly);
|
||||
squidTakeDamageFromWater = getBoolean("mobs.squid.takes-damage-from-water", squidTakeDamageFromWater);
|
||||
@@ -1994,7 +1994,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void spiderSettings() {
|
||||
spiderRidable = getBoolean("mobs.spider.ridable", spiderRidable);
|
||||
spiderRidableInWater = getBoolean("mobs.spider.ridable-in-water", spiderRidableInWater);
|
||||
@@ -2247,12 +2354,14 @@ public class PurpurWorldConfig {
|
||||
@@ -2241,12 +2348,14 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
spiderMaxHealth = getDouble("mobs.spider.attributes.max_health", spiderMaxHealth);
|
||||
spiderTakeDamageFromWater = getBoolean("mobs.spider.takes-damage-from-water", spiderTakeDamageFromWater);
|
||||
@@ -2009,7 +2009,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void straySettings() {
|
||||
strayRidable = getBoolean("mobs.stray.ridable", strayRidable);
|
||||
strayRidableInWater = getBoolean("mobs.stray.ridable-in-water", strayRidableInWater);
|
||||
@@ -2263,6 +2372,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2257,6 +2366,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
strayMaxHealth = getDouble("mobs.stray.attributes.max_health", strayMaxHealth);
|
||||
strayTakeDamageFromWater = getBoolean("mobs.stray.takes-damage-from-water", strayTakeDamageFromWater);
|
||||
@@ -2017,7 +2017,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean striderRidable = false;
|
||||
@@ -2271,6 +2381,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2265,6 +2375,7 @@ public class PurpurWorldConfig {
|
||||
public int striderBreedingTicks = 6000;
|
||||
public boolean striderGiveSaddleBack = false;
|
||||
public boolean striderTakeDamageFromWater = true;
|
||||
@@ -2025,7 +2025,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void striderSettings() {
|
||||
striderRidable = getBoolean("mobs.strider.ridable", striderRidable);
|
||||
striderRidableInWater = getBoolean("mobs.strider.ridable-in-water", striderRidableInWater);
|
||||
@@ -2283,6 +2394,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2277,6 +2388,7 @@ public class PurpurWorldConfig {
|
||||
striderBreedingTicks = getInt("mobs.strider.breeding-delay-ticks", striderBreedingTicks);
|
||||
striderGiveSaddleBack = getBoolean("mobs.strider.give-saddle-back", striderGiveSaddleBack);
|
||||
striderTakeDamageFromWater = getBoolean("mobs.strider.takes-damage-from-water", striderTakeDamageFromWater);
|
||||
@@ -2033,7 +2033,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean traderLlamaRidable = false;
|
||||
@@ -2295,6 +2407,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2289,6 +2401,7 @@ public class PurpurWorldConfig {
|
||||
public double traderLlamaMovementSpeedMax = 0.175D;
|
||||
public int traderLlamaBreedingTicks = 6000;
|
||||
public boolean traderLlamaTakeDamageFromWater = false;
|
||||
@@ -2041,7 +2041,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void traderLlamaSettings() {
|
||||
traderLlamaRidable = getBoolean("mobs.trader_llama.ridable", traderLlamaRidable);
|
||||
traderLlamaRidableInWater = getBoolean("mobs.trader_llama.ridable-in-water", traderLlamaRidableInWater);
|
||||
@@ -2313,11 +2426,13 @@ public class PurpurWorldConfig {
|
||||
@@ -2307,11 +2420,13 @@ public class PurpurWorldConfig {
|
||||
traderLlamaMovementSpeedMax = getDouble("mobs.trader_llama.attributes.movement_speed.max", traderLlamaMovementSpeedMax);
|
||||
traderLlamaBreedingTicks = getInt("mobs.trader_llama.breeding-delay-ticks", traderLlamaBreedingTicks);
|
||||
traderLlamaTakeDamageFromWater = getBoolean("mobs.trader_llama.takes-damage-from-water", traderLlamaTakeDamageFromWater);
|
||||
@@ -2055,7 +2055,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void tropicalFishSettings() {
|
||||
tropicalFishRidable = getBoolean("mobs.tropical_fish.ridable", tropicalFishRidable);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -2327,6 +2442,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2321,6 +2436,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
tropicalFishMaxHealth = getDouble("mobs.tropical_fish.attributes.max_health", tropicalFishMaxHealth);
|
||||
tropicalFishTakeDamageFromWater = getBoolean("mobs.tropical_fish.takes-damage-from-water", tropicalFishTakeDamageFromWater);
|
||||
@@ -2063,7 +2063,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean turtleRidable = false;
|
||||
@@ -2334,6 +2450,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2328,6 +2444,7 @@ public class PurpurWorldConfig {
|
||||
public double turtleMaxHealth = 30.0D;
|
||||
public int turtleBreedingTicks = 6000;
|
||||
public boolean turtleTakeDamageFromWater = false;
|
||||
@@ -2071,7 +2071,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void turtleSettings() {
|
||||
turtleRidable = getBoolean("mobs.turtle.ridable", turtleRidable);
|
||||
turtleRidableInWater = getBoolean("mobs.turtle.ridable-in-water", turtleRidableInWater);
|
||||
@@ -2345,6 +2462,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2339,6 +2456,7 @@ public class PurpurWorldConfig {
|
||||
turtleMaxHealth = getDouble("mobs.turtle.attributes.max_health", turtleMaxHealth);
|
||||
turtleBreedingTicks = getInt("mobs.turtle.breeding-delay-ticks", turtleBreedingTicks);
|
||||
turtleTakeDamageFromWater = getBoolean("mobs.turtle.takes-damage-from-water", turtleTakeDamageFromWater);
|
||||
@@ -2079,7 +2079,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean vexRidable = false;
|
||||
@@ -2352,6 +2470,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2346,6 +2464,7 @@ public class PurpurWorldConfig {
|
||||
public double vexMaxY = 256D;
|
||||
public double vexMaxHealth = 14.0D;
|
||||
public boolean vexTakeDamageFromWater = false;
|
||||
@@ -2087,7 +2087,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void vexSettings() {
|
||||
vexRidable = getBoolean("mobs.vex.ridable", vexRidable);
|
||||
vexRidableInWater = getBoolean("mobs.vex.ridable-in-water", vexRidableInWater);
|
||||
@@ -2363,6 +2482,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2357,6 +2476,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
vexMaxHealth = getDouble("mobs.vex.attributes.max_health", vexMaxHealth);
|
||||
vexTakeDamageFromWater = getBoolean("mobs.vex.takes-damage-from-water", vexTakeDamageFromWater);
|
||||
@@ -2095,7 +2095,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean villagerRidable = false;
|
||||
@@ -2381,6 +2501,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2375,6 +2495,7 @@ public class PurpurWorldConfig {
|
||||
public boolean villagerBypassMobGriefing = false;
|
||||
public boolean villagerTakeDamageFromWater = false;
|
||||
public boolean villagerAllowTrading = true;
|
||||
@@ -2103,7 +2103,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void villagerSettings() {
|
||||
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
|
||||
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
|
||||
@@ -2403,6 +2524,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2397,6 +2518,7 @@ public class PurpurWorldConfig {
|
||||
villagerBypassMobGriefing = getBoolean("mobs.villager.bypass-mob-griefing", villagerBypassMobGriefing);
|
||||
villagerTakeDamageFromWater = getBoolean("mobs.villager.takes-damage-from-water", villagerTakeDamageFromWater);
|
||||
villagerAllowTrading = getBoolean("mobs.villager.allow-trading", villagerAllowTrading);
|
||||
@@ -2111,7 +2111,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean vindicatorRidable = false;
|
||||
@@ -2410,6 +2532,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2404,6 +2526,7 @@ public class PurpurWorldConfig {
|
||||
public double vindicatorMaxHealth = 24.0D;
|
||||
public double vindicatorJohnnySpawnChance = 0D;
|
||||
public boolean vindicatorTakeDamageFromWater = false;
|
||||
@@ -2119,7 +2119,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void vindicatorSettings() {
|
||||
vindicatorRidable = getBoolean("mobs.vindicator.ridable", vindicatorRidable);
|
||||
vindicatorRidableInWater = getBoolean("mobs.vindicator.ridable-in-water", vindicatorRidableInWater);
|
||||
@@ -2421,6 +2544,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2415,6 +2538,7 @@ public class PurpurWorldConfig {
|
||||
vindicatorMaxHealth = getDouble("mobs.vindicator.attributes.max_health", vindicatorMaxHealth);
|
||||
vindicatorJohnnySpawnChance = getDouble("mobs.vindicator.johnny.spawn-chance", vindicatorJohnnySpawnChance);
|
||||
vindicatorTakeDamageFromWater = getBoolean("mobs.vindicator.takes-damage-from-water", vindicatorTakeDamageFromWater);
|
||||
@@ -2127,7 +2127,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean wanderingTraderRidable = false;
|
||||
@@ -2430,6 +2554,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2424,6 +2548,7 @@ public class PurpurWorldConfig {
|
||||
public boolean wanderingTraderCanBeLeashed = false;
|
||||
public boolean wanderingTraderTakeDamageFromWater = false;
|
||||
public boolean wanderingTraderAllowTrading = true;
|
||||
@@ -2135,7 +2135,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void wanderingTraderSettings() {
|
||||
wanderingTraderRidable = getBoolean("mobs.wandering_trader.ridable", wanderingTraderRidable);
|
||||
wanderingTraderRidableInWater = getBoolean("mobs.wandering_trader.ridable-in-water", wanderingTraderRidableInWater);
|
||||
@@ -2443,12 +2568,14 @@ public class PurpurWorldConfig {
|
||||
@@ -2437,12 +2562,14 @@ public class PurpurWorldConfig {
|
||||
wanderingTraderCanBeLeashed = getBoolean("mobs.wandering_trader.can-be-leashed", wanderingTraderCanBeLeashed);
|
||||
wanderingTraderTakeDamageFromWater = getBoolean("mobs.wandering_trader.takes-damage-from-water", wanderingTraderTakeDamageFromWater);
|
||||
wanderingTraderAllowTrading = getBoolean("mobs.wandering_trader.allow-trading", wanderingTraderAllowTrading);
|
||||
@@ -2150,7 +2150,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void witchSettings() {
|
||||
witchRidable = getBoolean("mobs.witch.ridable", witchRidable);
|
||||
witchRidableInWater = getBoolean("mobs.witch.ridable-in-water", witchRidableInWater);
|
||||
@@ -2459,6 +2586,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2453,6 +2580,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
witchMaxHealth = getDouble("mobs.witch.attributes.max_health", witchMaxHealth);
|
||||
witchTakeDamageFromWater = getBoolean("mobs.witch.takes-damage-from-water", witchTakeDamageFromWater);
|
||||
@@ -2158,7 +2158,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean witherRidable = false;
|
||||
@@ -2472,6 +2600,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2466,6 +2594,7 @@ public class PurpurWorldConfig {
|
||||
public boolean witherCanRideVehicles = false;
|
||||
public float witherExplosionRadius = 1.0F;
|
||||
public boolean witherPlaySpawnSound = true;
|
||||
@@ -2166,7 +2166,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void witherSettings() {
|
||||
witherRidable = getBoolean("mobs.wither.ridable", witherRidable);
|
||||
witherRidableInWater = getBoolean("mobs.wither.ridable-in-water", witherRidableInWater);
|
||||
@@ -2493,12 +2622,14 @@ public class PurpurWorldConfig {
|
||||
@@ -2487,12 +2616,14 @@ public class PurpurWorldConfig {
|
||||
witherCanRideVehicles = getBoolean("mobs.wither.can-ride-vehicles", witherCanRideVehicles);
|
||||
witherExplosionRadius = (float) getDouble("mobs.wither.explosion-radius", witherExplosionRadius);
|
||||
witherPlaySpawnSound = getBoolean("mobs.wither.play-spawn-sound", witherPlaySpawnSound);
|
||||
@@ -2181,7 +2181,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void witherSkeletonSettings() {
|
||||
witherSkeletonRidable = getBoolean("mobs.wither_skeleton.ridable", witherSkeletonRidable);
|
||||
witherSkeletonRidableInWater = getBoolean("mobs.wither_skeleton.ridable-in-water", witherSkeletonRidableInWater);
|
||||
@@ -2509,6 +2640,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2503,6 +2634,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
witherSkeletonMaxHealth = getDouble("mobs.wither_skeleton.attributes.max_health", witherSkeletonMaxHealth);
|
||||
witherSkeletonTakeDamageFromWater = getBoolean("mobs.wither_skeleton.takes-damage-from-water", witherSkeletonTakeDamageFromWater);
|
||||
@@ -2189,7 +2189,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean wolfRidable = false;
|
||||
@@ -2519,6 +2651,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2513,6 +2645,7 @@ public class PurpurWorldConfig {
|
||||
public double wolfNaturalRabid = 0.0D;
|
||||
public int wolfBreedingTicks = 6000;
|
||||
public boolean wolfTakeDamageFromWater = false;
|
||||
@@ -2197,7 +2197,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void wolfSettings() {
|
||||
wolfRidable = getBoolean("mobs.wolf.ridable", wolfRidable);
|
||||
wolfRidableInWater = getBoolean("mobs.wolf.ridable-in-water", wolfRidableInWater);
|
||||
@@ -2537,12 +2670,14 @@ public class PurpurWorldConfig {
|
||||
@@ -2531,12 +2664,14 @@ public class PurpurWorldConfig {
|
||||
wolfNaturalRabid = getDouble("mobs.wolf.spawn-rabid-chance", wolfNaturalRabid);
|
||||
wolfBreedingTicks = getInt("mobs.wolf.breeding-delay-ticks", wolfBreedingTicks);
|
||||
wolfTakeDamageFromWater = getBoolean("mobs.wolf.takes-damage-from-water", wolfTakeDamageFromWater);
|
||||
@@ -2212,7 +2212,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void zoglinSettings() {
|
||||
zoglinRidable = getBoolean("mobs.zoglin.ridable", zoglinRidable);
|
||||
zoglinRidableInWater = getBoolean("mobs.zoglin.ridable-in-water", zoglinRidableInWater);
|
||||
@@ -2553,6 +2688,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2547,6 +2682,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
zoglinMaxHealth = getDouble("mobs.zoglin.attributes.max_health", zoglinMaxHealth);
|
||||
zoglinTakeDamageFromWater = getBoolean("mobs.zoglin.takes-damage-from-water", zoglinTakeDamageFromWater);
|
||||
@@ -2220,7 +2220,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean zombieRidable = false;
|
||||
@@ -2565,6 +2701,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2559,6 +2695,7 @@ public class PurpurWorldConfig {
|
||||
public boolean zombieAggressiveTowardsVillagerWhenLagging = true;
|
||||
public boolean zombieBypassMobGriefing = false;
|
||||
public boolean zombieTakeDamageFromWater = false;
|
||||
@@ -2228,7 +2228,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void zombieSettings() {
|
||||
zombieRidable = getBoolean("mobs.zombie.ridable", zombieRidable);
|
||||
zombieRidableInWater = getBoolean("mobs.zombie.ridable-in-water", zombieRidableInWater);
|
||||
@@ -2581,6 +2718,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2575,6 +2712,7 @@ public class PurpurWorldConfig {
|
||||
zombieAggressiveTowardsVillagerWhenLagging = getBoolean("mobs.zombie.aggressive-towards-villager-when-lagging", zombieAggressiveTowardsVillagerWhenLagging);
|
||||
zombieBypassMobGriefing = getBoolean("mobs.zombie.bypass-mob-griefing", zombieBypassMobGriefing);
|
||||
zombieTakeDamageFromWater = getBoolean("mobs.zombie.takes-damage-from-water", zombieTakeDamageFromWater);
|
||||
@@ -2236,7 +2236,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean zombieHorseRidableInWater = false;
|
||||
@@ -2593,6 +2731,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2587,6 +2725,7 @@ public class PurpurWorldConfig {
|
||||
public double zombieHorseMovementSpeedMax = 0.2D;
|
||||
public double zombieHorseSpawnChance = 0.0D;
|
||||
public boolean zombieHorseTakeDamageFromWater = false;
|
||||
@@ -2244,7 +2244,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void zombieHorseSettings() {
|
||||
zombieHorseRidableInWater = getBoolean("mobs.zombie_horse.ridable-in-water", zombieHorseRidableInWater);
|
||||
zombieHorseCanSwim = getBoolean("mobs.zombie_horse.can-swim", zombieHorseCanSwim);
|
||||
@@ -2610,6 +2749,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2604,6 +2743,7 @@ public class PurpurWorldConfig {
|
||||
zombieHorseMovementSpeedMax = getDouble("mobs.zombie_horse.attributes.movement_speed.max", zombieHorseMovementSpeedMax);
|
||||
zombieHorseSpawnChance = getDouble("mobs.zombie_horse.spawn-chance", zombieHorseSpawnChance);
|
||||
zombieHorseTakeDamageFromWater = getBoolean("mobs.zombie_horse.takes-damage-from-water", zombieHorseTakeDamageFromWater);
|
||||
@@ -2252,7 +2252,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean zombieVillagerRidable = false;
|
||||
@@ -2623,6 +2763,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2617,6 +2757,7 @@ public class PurpurWorldConfig {
|
||||
public int zombieVillagerCuringTimeMin = 3600;
|
||||
public int zombieVillagerCuringTimeMax = 6000;
|
||||
public boolean zombieVillagerCureEnabled = true;
|
||||
@@ -2260,7 +2260,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void zombieVillagerSettings() {
|
||||
zombieVillagerRidable = getBoolean("mobs.zombie_villager.ridable", zombieVillagerRidable);
|
||||
zombieVillagerRidableInWater = getBoolean("mobs.zombie_villager.ridable-in-water", zombieVillagerRidableInWater);
|
||||
@@ -2640,6 +2781,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2634,6 +2775,7 @@ public class PurpurWorldConfig {
|
||||
zombieVillagerCuringTimeMin = getInt("mobs.zombie_villager.curing_time.min", zombieVillagerCuringTimeMin);
|
||||
zombieVillagerCuringTimeMax = getInt("mobs.zombie_villager.curing_time.max", zombieVillagerCuringTimeMax);
|
||||
zombieVillagerCureEnabled = getBoolean("mobs.zombie_villager.cure.enabled", zombieVillagerCureEnabled);
|
||||
@@ -2268,7 +2268,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
}
|
||||
|
||||
public boolean zombifiedPiglinRidable = false;
|
||||
@@ -2651,6 +2793,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2645,6 +2787,7 @@ public class PurpurWorldConfig {
|
||||
public boolean zombifiedPiglinJockeyTryExistingChickens = true;
|
||||
public boolean zombifiedPiglinCountAsPlayerKillWhenAngry = true;
|
||||
public boolean zombifiedPiglinTakeDamageFromWater = false;
|
||||
@@ -2276,7 +2276,7 @@ index 31896c8f2e76bfd3d29f78a4e7569b04e11fb7c0..f4bd1f5bcfcba3d92c1c3d340b437727
|
||||
private void zombifiedPiglinSettings() {
|
||||
zombifiedPiglinRidable = getBoolean("mobs.zombified_piglin.ridable", zombifiedPiglinRidable);
|
||||
zombifiedPiglinRidableInWater = getBoolean("mobs.zombified_piglin.ridable-in-water", zombifiedPiglinRidableInWater);
|
||||
@@ -2666,6 +2809,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2660,6 +2803,7 @@ public class PurpurWorldConfig {
|
||||
zombifiedPiglinJockeyTryExistingChickens = getBoolean("mobs.zombified_piglin.jockey.try-existing-chickens", zombifiedPiglinJockeyTryExistingChickens);
|
||||
zombifiedPiglinCountAsPlayerKillWhenAngry = getBoolean("mobs.zombified_piglin.count-as-player-kill-when-angry", zombifiedPiglinCountAsPlayerKillWhenAngry);
|
||||
zombifiedPiglinTakeDamageFromWater = getBoolean("mobs.zombified_piglin.takes-damage-from-water", zombifiedPiglinTakeDamageFromWater);
|
||||
|
||||
Reference in New Issue
Block a user