mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Add config for void damage dealt
This commit is contained in:
@@ -428,10 +428,10 @@ index 64253428ef66145d07f74f8d0e5bdeb5aa5fe02b..828d01abe8202a246ce07c1c652a17cb
|
||||
|
||||
@Override
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667f6d9bc09 100644
|
||||
index 9bc3aff37addd694f840eea6189d47e9131e1f27..c70a22d8c5d8cdab04e923b22002ae35e703485e 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -480,10 +480,12 @@ public class PurpurWorldConfig {
|
||||
@@ -482,10 +482,12 @@ public class PurpurWorldConfig {
|
||||
public boolean beeRidable = false;
|
||||
public boolean beeRidableInWater = false;
|
||||
public double beeMaxY = 256D;
|
||||
@@ -444,7 +444,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean blazeRidable = false;
|
||||
@@ -500,12 +502,14 @@ public class PurpurWorldConfig {
|
||||
@@ -502,12 +504,14 @@ public class PurpurWorldConfig {
|
||||
public int catSpawnDelay = 1200;
|
||||
public int catSpawnSwampHutScanRange = 16;
|
||||
public int catSpawnVillageScanRange = 48;
|
||||
@@ -459,7 +459,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean caveSpiderRidable = false;
|
||||
@@ -518,10 +522,12 @@ public class PurpurWorldConfig {
|
||||
@@ -520,10 +524,12 @@ public class PurpurWorldConfig {
|
||||
public boolean chickenRidable = false;
|
||||
public boolean chickenRidableInWater = false;
|
||||
public boolean chickenRetaliate = false;
|
||||
@@ -472,7 +472,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean codRidable = false;
|
||||
@@ -532,10 +538,12 @@ public class PurpurWorldConfig {
|
||||
@@ -534,10 +540,12 @@ public class PurpurWorldConfig {
|
||||
public boolean cowRidable = false;
|
||||
public boolean cowRidableInWater = false;
|
||||
public int cowFeedMushrooms = 0;
|
||||
@@ -485,7 +485,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean creeperRidable = false;
|
||||
@@ -563,8 +571,10 @@ public class PurpurWorldConfig {
|
||||
@@ -565,8 +573,10 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
|
||||
public boolean donkeyRidableInWater = false;
|
||||
@@ -496,7 +496,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean drownedRidable = false;
|
||||
@@ -622,10 +632,12 @@ public class PurpurWorldConfig {
|
||||
@@ -624,10 +634,12 @@ public class PurpurWorldConfig {
|
||||
public boolean foxRidable = false;
|
||||
public boolean foxRidableInWater = false;
|
||||
public boolean foxTypeChangesWithTulips = false;
|
||||
@@ -509,7 +509,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean ghastRidable = false;
|
||||
@@ -670,14 +682,18 @@ public class PurpurWorldConfig {
|
||||
@@ -672,14 +684,18 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean hoglinRidable = false;
|
||||
public boolean hoglinRidableInWater = false;
|
||||
@@ -528,7 +528,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean huskRidable = false;
|
||||
@@ -722,9 +738,11 @@ public class PurpurWorldConfig {
|
||||
@@ -724,9 +740,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean llamaRidable = false;
|
||||
public boolean llamaRidableInWater = false;
|
||||
@@ -540,7 +540,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean llamaTraderRidable = false;
|
||||
@@ -743,28 +761,36 @@ public class PurpurWorldConfig {
|
||||
@@ -745,28 +763,36 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean mooshroomRidable = false;
|
||||
public boolean mooshroomRidableInWater = false;
|
||||
@@ -577,7 +577,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean parrotRidable = false;
|
||||
@@ -830,10 +856,12 @@ public class PurpurWorldConfig {
|
||||
@@ -832,10 +858,12 @@ public class PurpurWorldConfig {
|
||||
public boolean pigRidable = false;
|
||||
public boolean pigRidableInWater = false;
|
||||
public boolean pigGiveSaddleBack = false;
|
||||
@@ -590,7 +590,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean piglinRidable = false;
|
||||
@@ -861,12 +889,14 @@ public class PurpurWorldConfig {
|
||||
@@ -863,12 +891,14 @@ public class PurpurWorldConfig {
|
||||
public boolean polarBearRidableInWater = false;
|
||||
public String polarBearBreedableItemString = "";
|
||||
public Item polarBearBreedableItem = null;
|
||||
@@ -605,7 +605,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean pufferfishRidable = false;
|
||||
@@ -878,11 +908,13 @@ public class PurpurWorldConfig {
|
||||
@@ -880,11 +910,13 @@ public class PurpurWorldConfig {
|
||||
public boolean rabbitRidableInWater = false;
|
||||
public double rabbitNaturalToast = 0.0D;
|
||||
public double rabbitNaturalKiller = 0.0D;
|
||||
@@ -619,7 +619,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean ravagerRidable = false;
|
||||
@@ -899,9 +931,11 @@ public class PurpurWorldConfig {
|
||||
@@ -901,9 +933,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean sheepRidable = false;
|
||||
public boolean sheepRidableInWater = false;
|
||||
@@ -631,7 +631,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean shulkerRidable = false;
|
||||
@@ -979,9 +1013,11 @@ public class PurpurWorldConfig {
|
||||
@@ -981,9 +1015,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean striderRidable = false;
|
||||
public boolean striderRidableInWater = false;
|
||||
@@ -643,7 +643,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean tropicalFishRidable = false;
|
||||
@@ -991,9 +1027,11 @@ public class PurpurWorldConfig {
|
||||
@@ -993,9 +1029,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean turtleRidable = false;
|
||||
public boolean turtleRidableInWater = false;
|
||||
@@ -655,7 +655,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean vexRidable = false;
|
||||
@@ -1015,6 +1053,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1017,6 +1055,7 @@ public class PurpurWorldConfig {
|
||||
public int villagerSpawnIronGolemRadius = 0;
|
||||
public int villagerSpawnIronGolemLimit = 0;
|
||||
public boolean villagerCanBreed = true;
|
||||
@@ -663,7 +663,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
private void villagerSettings() {
|
||||
villagerRidable = getBoolean("mobs.villager.ridable", villagerRidable);
|
||||
villagerRidableInWater = getBoolean("mobs.villager.ridable-in-water", villagerRidableInWater);
|
||||
@@ -1026,6 +1065,7 @@ public class PurpurWorldConfig {
|
||||
@@ -1028,6 +1067,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);
|
||||
@@ -671,7 +671,7 @@ index def36f72153b25094693b82e962366cc19ae4d13..1ac6394340aaf61c899b758351cfb667
|
||||
}
|
||||
|
||||
public boolean villagerTraderRidable = false;
|
||||
@@ -1086,9 +1126,11 @@ public class PurpurWorldConfig {
|
||||
@@ -1088,9 +1128,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean wolfRidable = false;
|
||||
public boolean wolfRidableInWater = false;
|
||||
|
||||
Reference in New Issue
Block a user