mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
Fix typo in config (mods -> mobs)
This commit is contained in:
@@ -474,10 +474,10 @@ index fb0aa2854f8be22682ee65298080b668c722f447..975e15a501f01c1f87b80ee20d57f4d2
|
||||
|
||||
@Override
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d36beea5c 100644
|
||||
index db50fe00f2e725d0ab44f8704443cf6107e39d4e..42f1ef15f020b2b62079d23fde09b788d204dc17 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -487,9 +487,11 @@ public class PurpurWorldConfig {
|
||||
@@ -492,9 +492,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean axolotlRidable = false;
|
||||
public double axolotlMaxHealth = 14.0D;
|
||||
@@ -489,7 +489,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean batRidable = false;
|
||||
@@ -519,6 +521,7 @@ public class PurpurWorldConfig {
|
||||
@@ -524,6 +526,7 @@ public class PurpurWorldConfig {
|
||||
public boolean beeRidableInWater = false;
|
||||
public double beeMaxY = 256D;
|
||||
public double beeMaxHealth = 10.0D;
|
||||
@@ -497,7 +497,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void beeSettings() {
|
||||
beeRidable = getBoolean("mobs.bee.ridable", beeRidable);
|
||||
beeRidableInWater = getBoolean("mobs.bee.ridable-in-water", beeRidableInWater);
|
||||
@@ -529,6 +532,7 @@ public class PurpurWorldConfig {
|
||||
@@ -534,6 +537,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.bee.attributes.max_health", oldValue);
|
||||
}
|
||||
beeMaxHealth = getDouble("mobs.bee.attributes.max_health", beeMaxHealth);
|
||||
@@ -505,7 +505,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean blazeRidable = false;
|
||||
@@ -553,6 +557,7 @@ public class PurpurWorldConfig {
|
||||
@@ -558,6 +562,7 @@ public class PurpurWorldConfig {
|
||||
public int catSpawnDelay = 1200;
|
||||
public int catSpawnSwampHutScanRange = 16;
|
||||
public int catSpawnVillageScanRange = 48;
|
||||
@@ -513,7 +513,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void catSettings() {
|
||||
catRidable = getBoolean("mobs.cat.ridable", catRidable);
|
||||
catRidableInWater = getBoolean("mobs.cat.ridable-in-water", catRidableInWater);
|
||||
@@ -565,6 +570,7 @@ public class PurpurWorldConfig {
|
||||
@@ -570,6 +575,7 @@ public class PurpurWorldConfig {
|
||||
catSpawnDelay = getInt("mobs.cat.spawn-delay", catSpawnDelay);
|
||||
catSpawnSwampHutScanRange = getInt("mobs.cat.scan-range-for-other-cats.swamp-hut", catSpawnSwampHutScanRange);
|
||||
catSpawnVillageScanRange = getInt("mobs.cat.scan-range-for-other-cats.village", catSpawnVillageScanRange);
|
||||
@@ -521,7 +521,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean caveSpiderRidable = false;
|
||||
@@ -585,6 +591,7 @@ public class PurpurWorldConfig {
|
||||
@@ -590,6 +596,7 @@ public class PurpurWorldConfig {
|
||||
public boolean chickenRidableInWater = false;
|
||||
public double chickenMaxHealth = 4.0D;
|
||||
public boolean chickenRetaliate = false;
|
||||
@@ -529,7 +529,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void chickenSettings() {
|
||||
chickenRidable = getBoolean("mobs.chicken.ridable", chickenRidable);
|
||||
chickenRidableInWater = getBoolean("mobs.chicken.ridable-in-water", chickenRidableInWater);
|
||||
@@ -595,6 +602,7 @@ public class PurpurWorldConfig {
|
||||
@@ -600,6 +607,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
chickenMaxHealth = getDouble("mobs.chicken.attributes.max_health", chickenMaxHealth);
|
||||
chickenRetaliate = getBoolean("mobs.chicken.retaliate", chickenRetaliate);
|
||||
@@ -537,7 +537,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean codRidable = false;
|
||||
@@ -613,6 +621,7 @@ public class PurpurWorldConfig {
|
||||
@@ -618,6 +626,7 @@ public class PurpurWorldConfig {
|
||||
public boolean cowRidableInWater = false;
|
||||
public double cowMaxHealth = 10.0D;
|
||||
public int cowFeedMushrooms = 0;
|
||||
@@ -545,7 +545,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void cowSettings() {
|
||||
cowRidable = getBoolean("mobs.cow.ridable", cowRidable);
|
||||
cowRidableInWater = getBoolean("mobs.cow.ridable-in-water", cowRidableInWater);
|
||||
@@ -623,6 +632,7 @@ public class PurpurWorldConfig {
|
||||
@@ -628,6 +637,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
cowMaxHealth = getDouble("mobs.cow.attributes.max_health", cowMaxHealth);
|
||||
cowFeedMushrooms = getInt("mobs.cow.feed-mushrooms-for-mooshroom", cowFeedMushrooms);
|
||||
@@ -553,7 +553,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean creeperRidable = false;
|
||||
@@ -670,6 +680,7 @@ public class PurpurWorldConfig {
|
||||
@@ -675,6 +685,7 @@ public class PurpurWorldConfig {
|
||||
public double donkeyJumpStrengthMax = 0.5D;
|
||||
public double donkeyMovementSpeedMin = 0.175D;
|
||||
public double donkeyMovementSpeedMax = 0.175D;
|
||||
@@ -561,7 +561,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void donkeySettings() {
|
||||
donkeyRidableInWater = getBoolean("mobs.donkey.ridable-in-water", donkeyRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -685,6 +696,7 @@ public class PurpurWorldConfig {
|
||||
@@ -690,6 +701,7 @@ public class PurpurWorldConfig {
|
||||
donkeyJumpStrengthMax = getDouble("mobs.donkey.attributes.jump_strength.max", donkeyJumpStrengthMax);
|
||||
donkeyMovementSpeedMin = getDouble("mobs.donkey.attributes.movement_speed.min", donkeyMovementSpeedMin);
|
||||
donkeyMovementSpeedMax = getDouble("mobs.donkey.attributes.movement_speed.max", donkeyMovementSpeedMax);
|
||||
@@ -569,7 +569,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean drownedRidable = false;
|
||||
@@ -791,6 +803,7 @@ public class PurpurWorldConfig {
|
||||
@@ -796,6 +808,7 @@ public class PurpurWorldConfig {
|
||||
public boolean foxRidableInWater = false;
|
||||
public double foxMaxHealth = 10.0D;
|
||||
public boolean foxTypeChangesWithTulips = false;
|
||||
@@ -577,7 +577,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void foxSettings() {
|
||||
foxRidable = getBoolean("mobs.fox.ridable", foxRidable);
|
||||
foxRidableInWater = getBoolean("mobs.fox.ridable-in-water", foxRidableInWater);
|
||||
@@ -801,6 +814,7 @@ public class PurpurWorldConfig {
|
||||
@@ -806,6 +819,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
foxMaxHealth = getDouble("mobs.fox.attributes.max_health", foxMaxHealth);
|
||||
foxTypeChangesWithTulips = getBoolean("mobs.fox.tulips-change-type", foxTypeChangesWithTulips);
|
||||
@@ -585,7 +585,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean ghastRidable = false;
|
||||
@@ -861,10 +875,12 @@ public class PurpurWorldConfig {
|
||||
@@ -866,10 +880,12 @@ public class PurpurWorldConfig {
|
||||
public boolean goatRidable = false;
|
||||
public boolean goatRidableInWater = false;
|
||||
public double goatMaxHealth = 10.0D;
|
||||
@@ -598,7 +598,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean guardianRidable = false;
|
||||
@@ -882,6 +898,7 @@ public class PurpurWorldConfig {
|
||||
@@ -887,6 +903,7 @@ public class PurpurWorldConfig {
|
||||
public boolean hoglinRidable = false;
|
||||
public boolean hoglinRidableInWater = false;
|
||||
public double hoglinMaxHealth = 40.0D;
|
||||
@@ -606,7 +606,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void hoglinSettings() {
|
||||
hoglinRidable = getBoolean("mobs.hoglin.ridable", hoglinRidable);
|
||||
hoglinRidableInWater = getBoolean("mobs.hoglin.ridable-in-water", hoglinRidableInWater);
|
||||
@@ -891,6 +908,7 @@ public class PurpurWorldConfig {
|
||||
@@ -896,6 +913,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.hoglin.attributes.max_health", oldValue);
|
||||
}
|
||||
hoglinMaxHealth = getDouble("mobs.hoglin.attributes.max_health", hoglinMaxHealth);
|
||||
@@ -614,7 +614,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean horseRidableInWater = false;
|
||||
@@ -900,6 +918,7 @@ public class PurpurWorldConfig {
|
||||
@@ -905,6 +923,7 @@ public class PurpurWorldConfig {
|
||||
public double horseJumpStrengthMax = 1.0D;
|
||||
public double horseMovementSpeedMin = 0.1125D;
|
||||
public double horseMovementSpeedMax = 0.3375D;
|
||||
@@ -622,7 +622,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void horseSettings() {
|
||||
horseRidableInWater = getBoolean("mobs.horse.ridable-in-water", horseRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -915,6 +934,7 @@ public class PurpurWorldConfig {
|
||||
@@ -920,6 +939,7 @@ public class PurpurWorldConfig {
|
||||
horseJumpStrengthMax = getDouble("mobs.horse.attributes.jump_strength.max", horseJumpStrengthMax);
|
||||
horseMovementSpeedMin = getDouble("mobs.horse.attributes.movement_speed.min", horseMovementSpeedMin);
|
||||
horseMovementSpeedMax = getDouble("mobs.horse.attributes.movement_speed.max", horseMovementSpeedMax);
|
||||
@@ -630,7 +630,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean huskRidable = false;
|
||||
@@ -985,6 +1005,7 @@ public class PurpurWorldConfig {
|
||||
@@ -990,6 +1010,7 @@ public class PurpurWorldConfig {
|
||||
public double llamaJumpStrengthMax = 0.5D;
|
||||
public double llamaMovementSpeedMin = 0.175D;
|
||||
public double llamaMovementSpeedMax = 0.175D;
|
||||
@@ -638,7 +638,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void llamaSettings() {
|
||||
llamaRidable = getBoolean("mobs.llama.ridable", llamaRidable);
|
||||
llamaRidableInWater = getBoolean("mobs.llama.ridable-in-water", llamaRidableInWater);
|
||||
@@ -1001,6 +1022,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1006,6 +1027,7 @@ public class PurpurWorldConfig {
|
||||
llamaJumpStrengthMax = getDouble("mobs.llama.attributes.jump_strength.max", llamaJumpStrengthMax);
|
||||
llamaMovementSpeedMin = getDouble("mobs.llama.attributes.movement_speed.min", llamaMovementSpeedMin);
|
||||
llamaMovementSpeedMax = getDouble("mobs.llama.attributes.movement_speed.max", llamaMovementSpeedMax);
|
||||
@@ -646,7 +646,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean magmaCubeRidable = false;
|
||||
@@ -1020,6 +1042,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1025,6 +1047,7 @@ public class PurpurWorldConfig {
|
||||
public boolean mooshroomRidable = false;
|
||||
public boolean mooshroomRidableInWater = false;
|
||||
public double mooshroomMaxHealth = 10.0D;
|
||||
@@ -654,7 +654,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void mooshroomSettings() {
|
||||
mooshroomRidable = getBoolean("mobs.mooshroom.ridable", mooshroomRidable);
|
||||
mooshroomRidableInWater = getBoolean("mobs.mooshroom.ridable-in-water", mooshroomRidableInWater);
|
||||
@@ -1029,6 +1052,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1034,6 +1057,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.mooshroom.attributes.max_health", oldValue);
|
||||
}
|
||||
mooshroomMaxHealth = getDouble("mobs.mooshroom.attributes.max_health", mooshroomMaxHealth);
|
||||
@@ -662,7 +662,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean muleRidableInWater = false;
|
||||
@@ -1038,6 +1062,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1043,6 +1067,7 @@ public class PurpurWorldConfig {
|
||||
public double muleJumpStrengthMax = 0.5D;
|
||||
public double muleMovementSpeedMin = 0.175D;
|
||||
public double muleMovementSpeedMax = 0.175D;
|
||||
@@ -670,7 +670,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void muleSettings() {
|
||||
muleRidableInWater = getBoolean("mobs.mule.ridable-in-water", muleRidableInWater);
|
||||
if (PurpurConfig.version < 10) {
|
||||
@@ -1053,11 +1078,13 @@ public class PurpurWorldConfig {
|
||||
@@ -1058,11 +1083,13 @@ public class PurpurWorldConfig {
|
||||
muleJumpStrengthMax = getDouble("mobs.mule.attributes.jump_strength.max", muleJumpStrengthMax);
|
||||
muleMovementSpeedMin = getDouble("mobs.mule.attributes.movement_speed.min", muleMovementSpeedMin);
|
||||
muleMovementSpeedMax = getDouble("mobs.mule.attributes.movement_speed.max", muleMovementSpeedMax);
|
||||
@@ -684,7 +684,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void ocelotSettings() {
|
||||
ocelotRidable = getBoolean("mobs.ocelot.ridable", ocelotRidable);
|
||||
ocelotRidableInWater = getBoolean("mobs.ocelot.ridable-in-water", ocelotRidableInWater);
|
||||
@@ -1067,11 +1094,13 @@ public class PurpurWorldConfig {
|
||||
@@ -1072,11 +1099,13 @@ public class PurpurWorldConfig {
|
||||
set("mobs.ocelot.attributes.max_health", oldValue);
|
||||
}
|
||||
ocelotMaxHealth = getDouble("mobs.ocelot.attributes.max_health", ocelotMaxHealth);
|
||||
@@ -698,7 +698,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void pandaSettings() {
|
||||
pandaRidable = getBoolean("mobs.panda.ridable", pandaRidable);
|
||||
pandaRidableInWater = getBoolean("mobs.panda.ridable-in-water", pandaRidableInWater);
|
||||
@@ -1081,6 +1110,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1086,6 +1115,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.panda.attributes.max_health", oldValue);
|
||||
}
|
||||
pandaMaxHealth = getDouble("mobs.panda.attributes.max_health", pandaMaxHealth);
|
||||
@@ -706,7 +706,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean parrotRidable = false;
|
||||
@@ -1161,6 +1191,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1166,6 +1196,7 @@ public class PurpurWorldConfig {
|
||||
public boolean pigRidableInWater = false;
|
||||
public double pigMaxHealth = 10.0D;
|
||||
public boolean pigGiveSaddleBack = false;
|
||||
@@ -714,7 +714,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void pigSettings() {
|
||||
pigRidable = getBoolean("mobs.pig.ridable", pigRidable);
|
||||
pigRidableInWater = getBoolean("mobs.pig.ridable-in-water", pigRidableInWater);
|
||||
@@ -1171,6 +1202,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1176,6 +1207,7 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
pigMaxHealth = getDouble("mobs.pig.attributes.max_health", pigMaxHealth);
|
||||
pigGiveSaddleBack = getBoolean("mobs.pig.give-saddle-back", pigGiveSaddleBack);
|
||||
@@ -722,7 +722,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean piglinRidable = false;
|
||||
@@ -1220,6 +1252,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1225,6 +1257,7 @@ public class PurpurWorldConfig {
|
||||
public double polarBearMaxHealth = 30.0D;
|
||||
public String polarBearBreedableItemString = "";
|
||||
public Item polarBearBreedableItem = null;
|
||||
@@ -730,7 +730,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void polarBearSettings() {
|
||||
polarBearRidable = getBoolean("mobs.polar_bear.ridable", polarBearRidable);
|
||||
polarBearRidableInWater = getBoolean("mobs.polar_bear.ridable-in-water", polarBearRidableInWater);
|
||||
@@ -1232,6 +1265,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1237,6 +1270,7 @@ public class PurpurWorldConfig {
|
||||
polarBearBreedableItemString = getString("mobs.polar_bear.breedable-item", polarBearBreedableItemString);
|
||||
Item item = Registry.ITEM.get(new ResourceLocation(polarBearBreedableItemString));
|
||||
if (item != Items.AIR) polarBearBreedableItem = item;
|
||||
@@ -738,7 +738,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean pufferfishRidable = false;
|
||||
@@ -1251,6 +1285,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1256,6 +1290,7 @@ public class PurpurWorldConfig {
|
||||
public double rabbitMaxHealth = 3.0D;
|
||||
public double rabbitNaturalToast = 0.0D;
|
||||
public double rabbitNaturalKiller = 0.0D;
|
||||
@@ -746,7 +746,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void rabbitSettings() {
|
||||
rabbitRidable = getBoolean("mobs.rabbit.ridable", rabbitRidable);
|
||||
rabbitRidableInWater = getBoolean("mobs.rabbit.ridable-in-water", rabbitRidableInWater);
|
||||
@@ -1262,6 +1297,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1267,6 +1302,7 @@ public class PurpurWorldConfig {
|
||||
rabbitMaxHealth = getDouble("mobs.rabbit.attributes.max_health", rabbitMaxHealth);
|
||||
rabbitNaturalToast = getDouble("mobs.rabbit.spawn-toast-chance", rabbitNaturalToast);
|
||||
rabbitNaturalKiller = getDouble("mobs.rabbit.spawn-killer-rabbit-chance", rabbitNaturalKiller);
|
||||
@@ -754,7 +754,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean ravagerRidable = false;
|
||||
@@ -1293,6 +1329,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1298,6 +1334,7 @@ public class PurpurWorldConfig {
|
||||
public boolean sheepRidable = false;
|
||||
public boolean sheepRidableInWater = false;
|
||||
public double sheepMaxHealth = 8.0D;
|
||||
@@ -762,7 +762,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void sheepSettings() {
|
||||
sheepRidable = getBoolean("mobs.sheep.ridable", sheepRidable);
|
||||
sheepRidableInWater = getBoolean("mobs.sheep.ridable-in-water", sheepRidableInWater);
|
||||
@@ -1302,6 +1339,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1307,6 +1344,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.sheep.attributes.max_health", oldValue);
|
||||
}
|
||||
sheepMaxHealth = getDouble("mobs.sheep.attributes.max_health", sheepMaxHealth);
|
||||
@@ -770,7 +770,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean shulkerRidable = false;
|
||||
@@ -1456,6 +1494,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1461,6 +1499,7 @@ public class PurpurWorldConfig {
|
||||
public boolean striderRidable = false;
|
||||
public boolean striderRidableInWater = false;
|
||||
public double striderMaxHealth = 20.0D;
|
||||
@@ -778,7 +778,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void striderSettings() {
|
||||
striderRidable = getBoolean("mobs.strider.ridable", striderRidable);
|
||||
striderRidableInWater = getBoolean("mobs.strider.ridable-in-water", striderRidableInWater);
|
||||
@@ -1465,6 +1504,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1470,6 +1509,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.strider.attributes.max_health", oldValue);
|
||||
}
|
||||
striderMaxHealth = getDouble("mobs.strider.attributes.max_health", striderMaxHealth);
|
||||
@@ -786,7 +786,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean traderLlamaRidable = false;
|
||||
@@ -1475,6 +1515,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1480,6 +1520,7 @@ public class PurpurWorldConfig {
|
||||
public double traderLlamaJumpStrengthMax = 0.5D;
|
||||
public double traderLlamaMovementSpeedMin = 0.175D;
|
||||
public double traderLlamaMovementSpeedMax = 0.175D;
|
||||
@@ -794,7 +794,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void traderLlamaSettings() {
|
||||
traderLlamaRidable = getBoolean("mobs.trader_llama.ridable", traderLlamaRidable);
|
||||
traderLlamaRidableInWater = getBoolean("mobs.trader_llama.ridable-in-water", traderLlamaRidableInWater);
|
||||
@@ -1491,6 +1532,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1496,6 +1537,7 @@ public class PurpurWorldConfig {
|
||||
traderLlamaJumpStrengthMax = getDouble("mobs.trader_llama.attributes.jump_strength.max", traderLlamaJumpStrengthMax);
|
||||
traderLlamaMovementSpeedMin = getDouble("mobs.trader_llama.attributes.movement_speed.min", traderLlamaMovementSpeedMin);
|
||||
traderLlamaMovementSpeedMax = getDouble("mobs.trader_llama.attributes.movement_speed.max", traderLlamaMovementSpeedMax);
|
||||
@@ -802,7 +802,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean tropicalFishRidable = false;
|
||||
@@ -1511,6 +1553,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1516,6 +1558,7 @@ public class PurpurWorldConfig {
|
||||
public boolean turtleEggsBreakFromExpOrbs = true;
|
||||
public boolean turtleEggsBreakFromItems = true;
|
||||
public boolean turtleEggsBreakFromMinecarts = true;
|
||||
@@ -810,7 +810,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void turtleEggSettings() {
|
||||
turtleRidable = getBoolean("mobs.turtle.ridable", turtleRidable);
|
||||
turtleRidableInWater = getBoolean("mobs.turtle.ridable-in-water", turtleRidableInWater);
|
||||
@@ -1523,6 +1566,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1528,6 +1571,7 @@ public class PurpurWorldConfig {
|
||||
turtleEggsBreakFromExpOrbs = getBoolean("blocks.turtle_egg.break-from-exp-orbs", turtleEggsBreakFromExpOrbs);
|
||||
turtleEggsBreakFromItems = getBoolean("blocks.turtle_egg.break-from-items", turtleEggsBreakFromItems);
|
||||
turtleEggsBreakFromMinecarts = getBoolean("blocks.turtle_egg.break-from-minecarts", turtleEggsBreakFromMinecarts);
|
||||
@@ -818,7 +818,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean vexRidable = false;
|
||||
@@ -1551,6 +1595,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1556,6 +1600,7 @@ public class PurpurWorldConfig {
|
||||
public int villagerSpawnIronGolemRadius = 0;
|
||||
public int villagerSpawnIronGolemLimit = 0;
|
||||
public boolean villagerCanBreed = true;
|
||||
@@ -826,7 +826,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void villagerSettings() {
|
||||
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
|
||||
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
|
||||
@@ -1567,6 +1612,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1572,6 +1617,7 @@ public class PurpurWorldConfig {
|
||||
villagerSpawnIronGolemRadius = getInt("mobs.villager.spawn-iron-golem.radius", villagerSpawnIronGolemRadius);
|
||||
villagerSpawnIronGolemLimit = getInt("mobs.villager.spawn-iron-golem.limit", villagerSpawnIronGolemLimit);
|
||||
villagerCanBreed = getBoolean("mobs.villager.can-breed", villagerCanBreed);
|
||||
@@ -834,7 +834,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
}
|
||||
|
||||
public boolean vindicatorRidable = false;
|
||||
@@ -1658,6 +1704,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1663,6 +1709,7 @@ public class PurpurWorldConfig {
|
||||
public boolean wolfRidable = false;
|
||||
public boolean wolfRidableInWater = false;
|
||||
public double wolfMaxHealth = 8.0D;
|
||||
@@ -842,7 +842,7 @@ index 8f6db28958e0766460d1413b4ec0b2bd41cfb687..21b93da96d17ef6c87c18d5d9bb3b99d
|
||||
private void wolfSettings() {
|
||||
wolfRidable = getBoolean("mobs.wolf.ridable", wolfRidable);
|
||||
wolfRidableInWater = getBoolean("mobs.wolf.ridable-in-water", wolfRidableInWater);
|
||||
@@ -1667,6 +1714,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1672,6 +1719,7 @@ public class PurpurWorldConfig {
|
||||
set("mobs.wolf.attributes.max_health", oldValue);
|
||||
}
|
||||
wolfMaxHealth = getDouble("mobs.wolf.attributes.max_health", wolfMaxHealth);
|
||||
|
||||
Reference in New Issue
Block a user