Big dripleaf tilt delay

This commit is contained in:
William Blake Galbreath
2021-07-16 23:01:23 -05:00
parent d43b5ff644
commit 27211924b2
155 changed files with 568 additions and 515 deletions

View File

@@ -5,7 +5,7 @@ Subject: [PATCH] Toggle for water sensitive mob damage
diff --git a/src/main/java/net/minecraft/world/entity/Mob.java b/src/main/java/net/minecraft/world/entity/Mob.java
index ec916af4cace6bdbe5412cbabcbfaed5b1198b39..2b8f2b72b3f1f3766436c41487ec8ecab350349a 100644
index 67932ebc795c6d3b4b1956277ae9194c290ec599..eeb8f5413e3dfb88744891255514c65c9fda8fa8 100644
--- a/src/main/java/net/minecraft/world/entity/Mob.java
+++ b/src/main/java/net/minecraft/world/entity/Mob.java
@@ -861,7 +861,7 @@ public abstract class Mob extends LivingEntity {
@@ -70,10 +70,10 @@ index 66dab9b4e5ae05deeae11c8588a0b855d8847bdc..19753a1855b11f8cdc9fb77e8d9079bb
@Override
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index 996f56d8b82fb35fec5c38da6fb99b171159ac7d..ffd709328dfeac55e7afde6f48d391a616d94ec3 100644
index 68363c8bfe8e61e3c59d3af019af8c103df9a67f..7801f5a1fdc6d24e809a80cfc785fe342b233ae8 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
@@ -633,6 +633,7 @@ public class PurpurWorldConfig {
@@ -634,6 +634,7 @@ public class PurpurWorldConfig {
public boolean blazeRidableInWater = false;
public double blazeMaxY = 256D;
public double blazeMaxHealth = 20.0D;
@@ -81,7 +81,7 @@ index 996f56d8b82fb35fec5c38da6fb99b171159ac7d..ffd709328dfeac55e7afde6f48d391a6
private void blazeSettings() {
blazeRidable = getBoolean("mobs.blaze.ridable", blazeRidable);
blazeRidableInWater = getBoolean("mobs.blaze.ridable-in-water", blazeRidableInWater);
@@ -643,6 +644,7 @@ public class PurpurWorldConfig {
@@ -644,6 +645,7 @@ public class PurpurWorldConfig {
set("mobs.blaze.attributes.max_health", oldValue);
}
blazeMaxHealth = getDouble("mobs.blaze.attributes.max_health", blazeMaxHealth);
@@ -89,7 +89,7 @@ index 996f56d8b82fb35fec5c38da6fb99b171159ac7d..ffd709328dfeac55e7afde6f48d391a6
}
public boolean catRidable = false;
@@ -859,6 +861,7 @@ public class PurpurWorldConfig {
@@ -860,6 +862,7 @@ public class PurpurWorldConfig {
public boolean endermanAllowGriefing = true;
public boolean endermanDespawnEvenWithBlock = false;
public boolean endermanBypassMobGriefing = false;
@@ -97,7 +97,7 @@ index 996f56d8b82fb35fec5c38da6fb99b171159ac7d..ffd709328dfeac55e7afde6f48d391a6
private void endermanSettings() {
endermanRidable = getBoolean("mobs.enderman.ridable", endermanRidable);
endermanRidableInWater = getBoolean("mobs.enderman.ridable-in-water", endermanRidableInWater);
@@ -871,6 +874,7 @@ public class PurpurWorldConfig {
@@ -872,6 +875,7 @@ public class PurpurWorldConfig {
endermanAllowGriefing = getBoolean("mobs.enderman.allow-griefing", endermanAllowGriefing);
endermanDespawnEvenWithBlock = getBoolean("mobs.enderman.can-despawn-with-held-block", endermanDespawnEvenWithBlock);
endermanBypassMobGriefing = getBoolean("mobs.enderman.bypass-mob-griefing", endermanBypassMobGriefing);
@@ -105,7 +105,7 @@ index 996f56d8b82fb35fec5c38da6fb99b171159ac7d..ffd709328dfeac55e7afde6f48d391a6
}
public boolean endermiteRidable = false;
@@ -1556,6 +1560,7 @@ public class PurpurWorldConfig {
@@ -1557,6 +1561,7 @@ public class PurpurWorldConfig {
public float snowGolemSnowBallModifier = 10.0F;
public double snowGolemAttackDistance = 1.25D;
public boolean snowGolemBypassMobGriefing = false;
@@ -113,7 +113,7 @@ index 996f56d8b82fb35fec5c38da6fb99b171159ac7d..ffd709328dfeac55e7afde6f48d391a6
private void snowGolemSettings() {
snowGolemRidable = getBoolean("mobs.snow_golem.ridable", snowGolemRidable);
snowGolemRidableInWater = getBoolean("mobs.snow_golem.ridable-in-water", snowGolemRidableInWater);
@@ -1573,6 +1578,7 @@ public class PurpurWorldConfig {
@@ -1574,6 +1579,7 @@ public class PurpurWorldConfig {
snowGolemSnowBallModifier = (float) getDouble("mobs.snow_golem.snow-ball-modifier", snowGolemSnowBallModifier);
snowGolemAttackDistance = getDouble("mobs.snow_golem.attack-distance", snowGolemAttackDistance);
snowGolemBypassMobGriefing = getBoolean("mobs.snow_golem.bypass-mob-griefing", snowGolemBypassMobGriefing);
@@ -121,7 +121,7 @@ index 996f56d8b82fb35fec5c38da6fb99b171159ac7d..ffd709328dfeac55e7afde6f48d391a6
}
public boolean squidRidable = false;
@@ -1626,6 +1632,7 @@ public class PurpurWorldConfig {
@@ -1627,6 +1633,7 @@ public class PurpurWorldConfig {
public double striderMaxHealth = 20.0D;
public int striderBreedingTicks = 6000;
public boolean striderGiveSaddleBack = false;
@@ -129,7 +129,7 @@ index 996f56d8b82fb35fec5c38da6fb99b171159ac7d..ffd709328dfeac55e7afde6f48d391a6
private void striderSettings() {
striderRidable = getBoolean("mobs.strider.ridable", striderRidable);
striderRidableInWater = getBoolean("mobs.strider.ridable-in-water", striderRidableInWater);
@@ -1637,6 +1644,7 @@ public class PurpurWorldConfig {
@@ -1638,6 +1645,7 @@ public class PurpurWorldConfig {
striderMaxHealth = getDouble("mobs.strider.attributes.max_health", striderMaxHealth);
striderBreedingTicks = getInt("mobs.strider.breeding-delay-ticks", striderBreedingTicks);
striderGiveSaddleBack = getBoolean("mobs.strider.give-saddle-back", striderGiveSaddleBack);