mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 10:57:43 +01:00
Add '*' as an option to item immunities
This commit is contained in:
@@ -398,10 +398,10 @@ index 9ae7168595dd66860e09ef87f946b18b010e54b1..6c25f667eecdf345289a0dbf885c9d71
|
||||
|
||||
@Override
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151acc116174f 100644
|
||||
index bc2b6e5b1b7253a64224f39ab0d39bcbd2e77996..280cc66097fc2161a5905ae3e308b0571172afe0 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -422,10 +422,12 @@ public class PurpurWorldConfig {
|
||||
@@ -434,10 +434,12 @@ public class PurpurWorldConfig {
|
||||
public boolean beeRidable = false;
|
||||
public boolean beeRidableInWater = false;
|
||||
public double beeMaxY = 256D;
|
||||
@@ -414,7 +414,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean blazeRidable = false;
|
||||
@@ -442,12 +444,14 @@ public class PurpurWorldConfig {
|
||||
@@ -454,12 +456,14 @@ public class PurpurWorldConfig {
|
||||
public int catSpawnDelay = 1200;
|
||||
public int catSpawnSwampHutScanRange = 16;
|
||||
public int catSpawnVillageScanRange = 48;
|
||||
@@ -429,7 +429,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean caveSpiderRidable = false;
|
||||
@@ -460,10 +464,12 @@ public class PurpurWorldConfig {
|
||||
@@ -472,10 +476,12 @@ public class PurpurWorldConfig {
|
||||
public boolean chickenRidable = false;
|
||||
public boolean chickenRidableInWater = false;
|
||||
public boolean chickenRetaliate = false;
|
||||
@@ -442,7 +442,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean codRidable = false;
|
||||
@@ -474,10 +480,12 @@ public class PurpurWorldConfig {
|
||||
@@ -486,10 +492,12 @@ public class PurpurWorldConfig {
|
||||
public boolean cowRidable = false;
|
||||
public boolean cowRidableInWater = false;
|
||||
public int cowFeedMushrooms = 0;
|
||||
@@ -455,7 +455,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean creeperRidable = false;
|
||||
@@ -505,8 +513,10 @@ public class PurpurWorldConfig {
|
||||
@@ -517,8 +525,10 @@ public class PurpurWorldConfig {
|
||||
}
|
||||
|
||||
public boolean donkeyRidableInWater = false;
|
||||
@@ -466,7 +466,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean drownedRidable = false;
|
||||
@@ -564,10 +574,12 @@ public class PurpurWorldConfig {
|
||||
@@ -576,10 +586,12 @@ public class PurpurWorldConfig {
|
||||
public boolean foxRidable = false;
|
||||
public boolean foxRidableInWater = false;
|
||||
public boolean foxTypeChangesWithTulips = false;
|
||||
@@ -479,7 +479,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean ghastRidable = false;
|
||||
@@ -612,14 +624,18 @@ public class PurpurWorldConfig {
|
||||
@@ -624,14 +636,18 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean hoglinRidable = false;
|
||||
public boolean hoglinRidableInWater = false;
|
||||
@@ -498,7 +498,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean huskRidable = false;
|
||||
@@ -664,9 +680,11 @@ public class PurpurWorldConfig {
|
||||
@@ -676,9 +692,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean llamaRidable = false;
|
||||
public boolean llamaRidableInWater = false;
|
||||
@@ -510,7 +510,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean llamaTraderRidable = false;
|
||||
@@ -685,28 +703,36 @@ public class PurpurWorldConfig {
|
||||
@@ -697,28 +715,36 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean mooshroomRidable = false;
|
||||
public boolean mooshroomRidableInWater = false;
|
||||
@@ -547,7 +547,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean parrotRidable = false;
|
||||
@@ -770,10 +796,12 @@ public class PurpurWorldConfig {
|
||||
@@ -782,10 +808,12 @@ public class PurpurWorldConfig {
|
||||
public boolean pigRidable = false;
|
||||
public boolean pigRidableInWater = false;
|
||||
public boolean pigGiveSaddleBack = false;
|
||||
@@ -560,7 +560,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean piglinRidable = false;
|
||||
@@ -801,12 +829,14 @@ public class PurpurWorldConfig {
|
||||
@@ -813,12 +841,14 @@ public class PurpurWorldConfig {
|
||||
public boolean polarBearRidableInWater = false;
|
||||
public String polarBearBreedableItemString = "";
|
||||
public Item polarBearBreedableItem = null;
|
||||
@@ -575,7 +575,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean pufferfishRidable = false;
|
||||
@@ -818,11 +848,13 @@ public class PurpurWorldConfig {
|
||||
@@ -830,11 +860,13 @@ public class PurpurWorldConfig {
|
||||
public boolean rabbitRidableInWater = false;
|
||||
public double rabbitNaturalToast = 0.0D;
|
||||
public double rabbitNaturalKiller = 0.0D;
|
||||
@@ -589,7 +589,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean ravagerRidable = false;
|
||||
@@ -839,9 +871,11 @@ public class PurpurWorldConfig {
|
||||
@@ -851,9 +883,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean sheepRidable = false;
|
||||
public boolean sheepRidableInWater = false;
|
||||
@@ -601,7 +601,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean shulkerRidable = false;
|
||||
@@ -919,9 +953,11 @@ public class PurpurWorldConfig {
|
||||
@@ -931,9 +965,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean striderRidable = false;
|
||||
public boolean striderRidableInWater = false;
|
||||
@@ -613,7 +613,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean tropicalFishRidable = false;
|
||||
@@ -931,9 +967,11 @@ public class PurpurWorldConfig {
|
||||
@@ -943,9 +979,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean turtleRidable = false;
|
||||
public boolean turtleRidableInWater = false;
|
||||
@@ -625,7 +625,7 @@ index 4f294eaff1e7c1c315315ae03d207bd1621d7d4e..0aebad8a3610fe59943eff50b1d151ac
|
||||
}
|
||||
|
||||
public boolean vexRidable = false;
|
||||
@@ -1026,9 +1064,11 @@ public class PurpurWorldConfig {
|
||||
@@ -1038,9 +1076,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean wolfRidable = false;
|
||||
public boolean wolfRidableInWater = false;
|
||||
|
||||
Reference in New Issue
Block a user