more ridables

This commit is contained in:
William Blake Galbreath
2020-07-09 10:15:41 -05:00
parent aedda68e52
commit 918dfae914
9 changed files with 668 additions and 189 deletions

View File

@@ -5,14 +5,13 @@ Subject: [PATCH] Charged creeper naturally spawn
diff --git a/src/main/java/net/minecraft/server/EntityCreeper.java b/src/main/java/net/minecraft/server/EntityCreeper.java
index 5e7f3af37..ec5287fa5 100644
index 5e7f3af37..e8008e3c2 100644
--- a/src/main/java/net/minecraft/server/EntityCreeper.java
+++ b/src/main/java/net/minecraft/server/EntityCreeper.java
@@ -275,4 +275,15 @@ public class EntityCreeper extends EntityMonster {
public void setCausedHeadDrop() {
++this.bz;
@@ -23,6 +23,17 @@ public class EntityCreeper extends EntityMonster {
super(entitytypes, world);
}
+
+ // Purpur start
+ @Override
+ public GroupDataEntity prepare(GeneratorAccess generatoraccess, DifficultyDamageScaler difficultydamagescaler, EnumMobSpawn enummobspawn, GroupDataEntity groupdataentity, NBTTagCompound nbttagcompound) {
@@ -23,7 +22,10 @@ index 5e7f3af37..ec5287fa5 100644
+ return super.prepare(generatoraccess, difficultydamagescaler, enummobspawn, groupdataentity, nbttagcompound);
+ }
+ // Purpur end
}
+
@Override
protected void initPathfinder() {
this.goalSelector.a(1, new PathfinderGoalFloat(this));
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index d0fd8f9cd..5004d6f77 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java