mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 02:17:42 +01:00
add migrations for explosions configs
This commit is contained in:
@@ -374,7 +374,7 @@ index d54a46fc8d78df54777e4a7a250a8d0ae74e9831..4eeb777a49556c54a3f31c1b9d755b11
|
||||
return true;
|
||||
// Purpur end
|
||||
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac118310c7d 100644
|
||||
index 992f6aeb2e75217d997db528de70c05a6a689cc1..56ffdcc2a4546bff83979d4d7071fbce79617d46 100644
|
||||
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
@@ -118,8 +118,11 @@ public class PurpurWorldConfig {
|
||||
@@ -401,7 +401,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
tridentLoyaltyVoidReturnHeight = getDouble("gameplay-mechanics.trident-loyalty-void-return-height", tridentLoyaltyVoidReturnHeight);
|
||||
voidDamageHeight = getDouble("gameplay-mechanics.void-damage-height", voidDamageHeight);
|
||||
voidDamageDealt = getDouble("gameplay-mechanics.void-damage-dealt", voidDamageDealt);
|
||||
@@ -446,9 +452,11 @@ public class PurpurWorldConfig {
|
||||
@@ -451,9 +457,11 @@ public class PurpurWorldConfig {
|
||||
dispenserPlaceAnvils = getBoolean("blocks.dispenser.place-anvils", dispenserPlaceAnvils);
|
||||
}
|
||||
|
||||
@@ -413,7 +413,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
farmlandGetsMoistFromBelow = getBoolean("blocks.farmland.gets-moist-from-below", farmlandGetsMoistFromBelow);
|
||||
farmlandAlpha = getBoolean("blocks.farmland.use-alpha-farmland", farmlandAlpha);
|
||||
}
|
||||
@@ -475,6 +483,11 @@ public class PurpurWorldConfig {
|
||||
@@ -480,6 +488,11 @@ public class PurpurWorldConfig {
|
||||
lavaSpeedNotNether = getInt("blocks.lava.speed.not-nether", lavaSpeedNotNether);
|
||||
}
|
||||
|
||||
@@ -425,7 +425,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
public boolean respawnAnchorExplode = true;
|
||||
public double respawnAnchorExplosionPower = 5.0D;
|
||||
public boolean respawnAnchorExplosionFire = true;
|
||||
@@ -504,10 +517,12 @@ public class PurpurWorldConfig {
|
||||
@@ -514,10 +527,12 @@ public class PurpurWorldConfig {
|
||||
public boolean turtleEggsBreakFromExpOrbs = true;
|
||||
public boolean turtleEggsBreakFromItems = true;
|
||||
public boolean turtleEggsBreakFromMinecarts = true;
|
||||
@@ -438,7 +438,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean waterInfinite = true;
|
||||
@@ -720,6 +735,7 @@ public class PurpurWorldConfig {
|
||||
@@ -730,6 +745,7 @@ public class PurpurWorldConfig {
|
||||
public double creeperMaxHealth = 20.0D;
|
||||
public double creeperChargedChance = 0.0D;
|
||||
public boolean creeperAllowGriefing = true;
|
||||
@@ -446,7 +446,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void creeperSettings() {
|
||||
creeperRidable = getBoolean("mobs.creeper.ridable", creeperRidable);
|
||||
creeperRidableInWater = getBoolean("mobs.creeper.ridable-in-water", creeperRidableInWater);
|
||||
@@ -732,6 +748,7 @@ public class PurpurWorldConfig {
|
||||
@@ -742,6 +758,7 @@ public class PurpurWorldConfig {
|
||||
creeperMaxHealth = getDouble("mobs.creeper.attributes.max_health", creeperMaxHealth);
|
||||
creeperChargedChance = getDouble("mobs.creeper.naturally-charged-chance", creeperChargedChance);
|
||||
creeperAllowGriefing = getBoolean("mobs.creeper.allow-griefing", creeperAllowGriefing);
|
||||
@@ -454,7 +454,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean dolphinRidable = false;
|
||||
@@ -826,6 +843,7 @@ public class PurpurWorldConfig {
|
||||
@@ -836,6 +853,7 @@ public class PurpurWorldConfig {
|
||||
public double enderDragonMaxY = 320D;
|
||||
public double enderDragonMaxHealth = 200.0D;
|
||||
public boolean enderDragonAlwaysDropsFullExp = false;
|
||||
@@ -462,7 +462,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void enderDragonSettings() {
|
||||
enderDragonRidable = getBoolean("mobs.ender_dragon.ridable", enderDragonRidable);
|
||||
enderDragonRidableInWater = getBoolean("mobs.ender_dragon.ridable-in-water", enderDragonRidableInWater);
|
||||
@@ -842,6 +860,7 @@ public class PurpurWorldConfig {
|
||||
@@ -852,6 +870,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
enderDragonMaxHealth = getDouble("mobs.ender_dragon.attributes.max_health", enderDragonMaxHealth);
|
||||
enderDragonAlwaysDropsFullExp = getBoolean("mobs.ender_dragon.always-drop-full-exp", enderDragonAlwaysDropsFullExp);
|
||||
@@ -470,7 +470,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean endermanRidable = false;
|
||||
@@ -850,6 +869,7 @@ public class PurpurWorldConfig {
|
||||
@@ -860,6 +879,7 @@ public class PurpurWorldConfig {
|
||||
public double endermanMaxHealth = 40.0D;
|
||||
public boolean endermanAllowGriefing = true;
|
||||
public boolean endermanDespawnEvenWithBlock = false;
|
||||
@@ -478,7 +478,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void endermanSettings() {
|
||||
endermanRidable = getBoolean("mobs.enderman.ridable", endermanRidable);
|
||||
endermanRidableInWater = getBoolean("mobs.enderman.ridable-in-water", endermanRidableInWater);
|
||||
@@ -862,6 +882,7 @@ public class PurpurWorldConfig {
|
||||
@@ -872,6 +892,7 @@ public class PurpurWorldConfig {
|
||||
endermanMaxHealth = getDouble("mobs.enderman.attributes.max_health", endermanMaxHealth);
|
||||
endermanAllowGriefing = getBoolean("mobs.enderman.allow-griefing", endermanAllowGriefing);
|
||||
endermanDespawnEvenWithBlock = getBoolean("mobs.enderman.can-despawn-with-held-block", endermanDespawnEvenWithBlock);
|
||||
@@ -486,7 +486,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean endermiteRidable = false;
|
||||
@@ -884,6 +905,7 @@ public class PurpurWorldConfig {
|
||||
@@ -894,6 +915,7 @@ public class PurpurWorldConfig {
|
||||
public boolean evokerRidableInWater = false;
|
||||
public boolean evokerControllable = true;
|
||||
public double evokerMaxHealth = 24.0D;
|
||||
@@ -494,7 +494,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void evokerSettings() {
|
||||
evokerRidable = getBoolean("mobs.evoker.ridable", evokerRidable);
|
||||
evokerRidableInWater = getBoolean("mobs.evoker.ridable-in-water", evokerRidableInWater);
|
||||
@@ -894,6 +916,7 @@ public class PurpurWorldConfig {
|
||||
@@ -904,6 +926,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.evoker.attributes.max_health", oldValue);
|
||||
}
|
||||
evokerMaxHealth = getDouble("mobs.evoker.attributes.max_health", evokerMaxHealth);
|
||||
@@ -502,7 +502,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean foxRidable = false;
|
||||
@@ -902,6 +925,7 @@ public class PurpurWorldConfig {
|
||||
@@ -912,6 +935,7 @@ public class PurpurWorldConfig {
|
||||
public double foxMaxHealth = 10.0D;
|
||||
public boolean foxTypeChangesWithTulips = false;
|
||||
public int foxBreedingTicks = 6000;
|
||||
@@ -510,7 +510,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void foxSettings() {
|
||||
foxRidable = getBoolean("mobs.fox.ridable", foxRidable);
|
||||
foxRidableInWater = getBoolean("mobs.fox.ridable-in-water", foxRidableInWater);
|
||||
@@ -914,6 +938,7 @@ public class PurpurWorldConfig {
|
||||
@@ -924,6 +948,7 @@ public class PurpurWorldConfig {
|
||||
foxMaxHealth = getDouble("mobs.fox.attributes.max_health", foxMaxHealth);
|
||||
foxTypeChangesWithTulips = getBoolean("mobs.fox.tulips-change-type", foxTypeChangesWithTulips);
|
||||
foxBreedingTicks = getInt("mobs.fox.breeding-delay-ticks", foxBreedingTicks);
|
||||
@@ -518,7 +518,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean frogRidable = false;
|
||||
@@ -1361,6 +1386,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1371,6 +1396,7 @@ public class PurpurWorldConfig {
|
||||
public boolean piglinRidableInWater = false;
|
||||
public boolean piglinControllable = true;
|
||||
public double piglinMaxHealth = 16.0D;
|
||||
@@ -526,7 +526,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void piglinSettings() {
|
||||
piglinRidable = getBoolean("mobs.piglin.ridable", piglinRidable);
|
||||
piglinRidableInWater = getBoolean("mobs.piglin.ridable-in-water", piglinRidableInWater);
|
||||
@@ -1371,6 +1397,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1381,6 +1407,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.piglin.attributes.max_health", oldValue);
|
||||
}
|
||||
piglinMaxHealth = getDouble("mobs.piglin.attributes.max_health", piglinMaxHealth);
|
||||
@@ -534,7 +534,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean piglinBruteRidable = false;
|
||||
@@ -1393,6 +1420,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1403,6 +1430,7 @@ public class PurpurWorldConfig {
|
||||
public boolean pillagerRidableInWater = false;
|
||||
public boolean pillagerControllable = true;
|
||||
public double pillagerMaxHealth = 24.0D;
|
||||
@@ -542,7 +542,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void pillagerSettings() {
|
||||
pillagerRidable = getBoolean("mobs.pillager.ridable", pillagerRidable);
|
||||
pillagerRidableInWater = getBoolean("mobs.pillager.ridable-in-water", pillagerRidableInWater);
|
||||
@@ -1403,6 +1431,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1413,6 +1441,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.pillager.attributes.max_health", oldValue);
|
||||
}
|
||||
pillagerMaxHealth = getDouble("mobs.pillager.attributes.max_health", pillagerMaxHealth);
|
||||
@@ -550,7 +550,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean polarBearRidable = false;
|
||||
@@ -1449,6 +1478,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1459,6 +1488,7 @@ public class PurpurWorldConfig {
|
||||
public double rabbitNaturalToast = 0.0D;
|
||||
public double rabbitNaturalKiller = 0.0D;
|
||||
public int rabbitBreedingTicks = 6000;
|
||||
@@ -558,7 +558,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void rabbitSettings() {
|
||||
rabbitRidable = getBoolean("mobs.rabbit.ridable", rabbitRidable);
|
||||
rabbitRidableInWater = getBoolean("mobs.rabbit.ridable-in-water", rabbitRidableInWater);
|
||||
@@ -1462,12 +1492,14 @@ public class PurpurWorldConfig {
|
||||
@@ -1472,12 +1502,14 @@ public class PurpurWorldConfig {
|
||||
rabbitNaturalToast = getDouble("mobs.rabbit.spawn-toast-chance", rabbitNaturalToast);
|
||||
rabbitNaturalKiller = getDouble("mobs.rabbit.spawn-killer-rabbit-chance", rabbitNaturalKiller);
|
||||
rabbitBreedingTicks = getInt("mobs.rabbit.breeding-delay-ticks", rabbitBreedingTicks);
|
||||
@@ -573,7 +573,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void ravagerSettings() {
|
||||
ravagerRidable = getBoolean("mobs.ravager.ridable", ravagerRidable);
|
||||
ravagerRidableInWater = getBoolean("mobs.ravager.ridable-in-water", ravagerRidableInWater);
|
||||
@@ -1478,6 +1510,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1488,6 +1520,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.ravager.attributes.max_health", oldValue);
|
||||
}
|
||||
ravagerMaxHealth = getDouble("mobs.ravager.attributes.max_health", ravagerMaxHealth);
|
||||
@@ -581,7 +581,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean salmonRidable = false;
|
||||
@@ -1499,6 +1532,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1509,6 +1542,7 @@ public class PurpurWorldConfig {
|
||||
public boolean sheepControllable = true;
|
||||
public double sheepMaxHealth = 8.0D;
|
||||
public int sheepBreedingTicks = 6000;
|
||||
@@ -589,7 +589,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void sheepSettings() {
|
||||
sheepRidable = getBoolean("mobs.sheep.ridable", sheepRidable);
|
||||
sheepRidableInWater = getBoolean("mobs.sheep.ridable-in-water", sheepRidableInWater);
|
||||
@@ -1510,6 +1544,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1520,6 +1554,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
sheepMaxHealth = getDouble("mobs.sheep.attributes.max_health", sheepMaxHealth);
|
||||
sheepBreedingTicks = getInt("mobs.sheep.breeding-delay-ticks", sheepBreedingTicks);
|
||||
@@ -597,7 +597,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean shulkerRidable = false;
|
||||
@@ -1532,6 +1567,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1542,6 +1577,7 @@ public class PurpurWorldConfig {
|
||||
public boolean silverfishRidableInWater = false;
|
||||
public boolean silverfishControllable = true;
|
||||
public double silverfishMaxHealth = 8.0D;
|
||||
@@ -605,7 +605,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void silverfishSettings() {
|
||||
silverfishRidable = getBoolean("mobs.silverfish.ridable", silverfishRidable);
|
||||
silverfishRidableInWater = getBoolean("mobs.silverfish.ridable-in-water", silverfishRidableInWater);
|
||||
@@ -1542,6 +1578,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1552,6 +1588,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.silverfish.attributes.max_health", oldValue);
|
||||
}
|
||||
silverfishMaxHealth = getDouble("mobs.silverfish.attributes.max_health", silverfishMaxHealth);
|
||||
@@ -613,7 +613,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean skeletonRidable = false;
|
||||
@@ -1618,6 +1655,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1628,6 +1665,7 @@ public class PurpurWorldConfig {
|
||||
public int snowGolemSnowBallMax = 20;
|
||||
public float snowGolemSnowBallModifier = 10.0F;
|
||||
public double snowGolemAttackDistance = 1.25D;
|
||||
@@ -621,7 +621,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void snowGolemSettings() {
|
||||
snowGolemRidable = getBoolean("mobs.snow_golem.ridable", snowGolemRidable);
|
||||
snowGolemRidableInWater = getBoolean("mobs.snow_golem.ridable-in-water", snowGolemRidableInWater);
|
||||
@@ -1635,6 +1673,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1645,6 +1683,7 @@ public class PurpurWorldConfig {
|
||||
snowGolemSnowBallMax = getInt("mobs.snow_golem.max-shoot-interval-ticks", snowGolemSnowBallMax);
|
||||
snowGolemSnowBallModifier = (float) getDouble("mobs.snow_golem.snow-ball-modifier", snowGolemSnowBallModifier);
|
||||
snowGolemAttackDistance = getDouble("mobs.snow_golem.attack-distance", snowGolemAttackDistance);
|
||||
@@ -629,7 +629,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean squidRidable = false;
|
||||
@@ -1808,6 +1847,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1818,6 +1857,7 @@ public class PurpurWorldConfig {
|
||||
public int villagerBreedingTicks = 6000;
|
||||
public boolean villagerClericsFarmWarts = false;
|
||||
public boolean villagerClericFarmersThrowWarts = true;
|
||||
@@ -637,7 +637,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void villagerSettings() {
|
||||
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
|
||||
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
|
||||
@@ -1824,6 +1864,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1834,6 +1874,7 @@ public class PurpurWorldConfig {
|
||||
villagerBreedingTicks = getInt("mobs.villager.breeding-delay-ticks", villagerBreedingTicks);
|
||||
villagerClericsFarmWarts = getBoolean("mobs.villager.clerics-farm-warts", villagerClericsFarmWarts);
|
||||
villagerClericFarmersThrowWarts = getBoolean("mobs.villager.cleric-wart-farmers-throw-warts-at-villagers", villagerClericFarmersThrowWarts);
|
||||
@@ -645,7 +645,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean vindicatorRidable = false;
|
||||
@@ -1896,6 +1937,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1906,6 +1947,7 @@ public class PurpurWorldConfig {
|
||||
public double witherMaxHealth = 300.0D;
|
||||
public float witherHealthRegenAmount = 1.0f;
|
||||
public int witherHealthRegenDelay = 20;
|
||||
@@ -653,7 +653,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void witherSettings() {
|
||||
witherRidable = getBoolean("mobs.wither.ridable", witherRidable);
|
||||
witherRidableInWater = getBoolean("mobs.wither.ridable-in-water", witherRidableInWater);
|
||||
@@ -1913,6 +1955,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1923,6 +1965,7 @@ public class PurpurWorldConfig {
|
||||
witherMaxHealth = getDouble("mobs.wither.attributes.max_health", witherMaxHealth);
|
||||
witherHealthRegenAmount = (float) getDouble("mobs.wither.health-regen-amount", witherHealthRegenAmount);
|
||||
witherHealthRegenDelay = getInt("mobs.wither.health-regen-delay", witherHealthRegenDelay);
|
||||
@@ -661,7 +661,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
}
|
||||
|
||||
public boolean witherSkeletonRidable = false;
|
||||
@@ -1984,6 +2027,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1994,6 +2037,7 @@ public class PurpurWorldConfig {
|
||||
public double zombieJockeyChance = 0.05D;
|
||||
public boolean zombieJockeyTryExistingChickens = true;
|
||||
public boolean zombieAggressiveTowardsVillagerWhenLagging = true;
|
||||
@@ -669,7 +669,7 @@ index 86076fc3c6ede94f1b71389dcd10de6aff5b8c63..851b31b6cfa7db4414ab3489bdcdeac1
|
||||
private void zombieSettings() {
|
||||
zombieRidable = getBoolean("mobs.zombie.ridable", zombieRidable);
|
||||
zombieRidableInWater = getBoolean("mobs.zombie.ridable-in-water", zombieRidableInWater);
|
||||
@@ -1999,6 +2043,7 @@ public class PurpurWorldConfig {
|
||||
@@ -2009,6 +2053,7 @@ public class PurpurWorldConfig {
|
||||
zombieJockeyChance = getDouble("mobs.zombie.jockey.chance", zombieJockeyChance);
|
||||
zombieJockeyTryExistingChickens = getBoolean("mobs.zombie.jockey.try-existing-chickens", zombieJockeyTryExistingChickens);
|
||||
zombieAggressiveTowardsVillagerWhenLagging = getBoolean("mobs.zombie.aggressive-towards-villager-when-lagging", zombieAggressiveTowardsVillagerWhenLagging);
|
||||
|
||||
Reference in New Issue
Block a user