Fix silk-touch spawners dropping xp and add config for minimal enchantment level (#454)

This commit is contained in:
Bierque Jason
2021-07-01 06:06:52 +02:00
committed by GitHub
parent 139f2f5d07
commit 247b99f433
112 changed files with 410 additions and 400 deletions

View File

@@ -73,10 +73,10 @@ index e246bf034a86deba5a15e7c639f5e08213fe7eee..585b29a214d0306ac2d6a170125270c1
Entry<EquipmentSlot, ItemStack> entry = getRandomItemWith(enchantment, entityliving);
return entry != null ? entry.getValue() : ItemStack.EMPTY;
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index 89be7d21dd0cfea24fa1f4bebf7ffd42d1c910f2..f3408e38ab06c60f3369b5795bed6d9efd53fe0f 100644
index 24bacb54f53794862adc717004402318267d337b..453b3d2758ce9b1b8c1d12524befc868b56f2cc6 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
@@ -192,6 +192,7 @@ public class PurpurWorldConfig {
@@ -194,6 +194,7 @@ public class PurpurWorldConfig {
});
}
@@ -84,7 +84,7 @@ index 89be7d21dd0cfea24fa1f4bebf7ffd42d1c910f2..f3408e38ab06c60f3369b5795bed6d9e
public boolean boatEjectPlayersOnLand = false;
public boolean disableDropsOnCrammingDeath = false;
public boolean milkCuresBadOmen = true;
@@ -199,6 +200,7 @@ public class PurpurWorldConfig {
@@ -201,6 +202,7 @@ public class PurpurWorldConfig {
public double voidDamageHeight = -64.0D;
public double voidDamageDealt = 4.0D;
private void miscGameplayMechanicsSettings() {