mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 01:47:42 +01:00
more ridables
This commit is contained in:
@@ -5,11 +5,11 @@ Subject: [PATCH] Customizable EnderDragon Health
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityEnderDragon.java b/src/main/java/net/minecraft/server/EntityEnderDragon.java
|
||||
index 08fa5a9756..e08e6014f8 100644
|
||||
index 08fa5a975..47d71a166 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityEnderDragon.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityEnderDragon.java
|
||||
@@ -66,6 +66,16 @@ public class EntityEnderDragon extends EntityInsentient implements IMonster {
|
||||
return EntityInsentient.p().a(GenericAttributes.MAX_HEALTH, 200.0D);
|
||||
@@ -62,6 +62,16 @@ public class EntityEnderDragon extends EntityInsentient implements IMonster {
|
||||
this.bN = new DragonControllerManager(this);
|
||||
}
|
||||
|
||||
+ // Purpur start
|
||||
@@ -22,11 +22,11 @@ index 08fa5a9756..e08e6014f8 100644
|
||||
+ }
|
||||
+ // Purpur end
|
||||
+
|
||||
@Override
|
||||
protected void initDatawatcher() {
|
||||
super.initDatawatcher();
|
||||
public static AttributeProvider.Builder m() {
|
||||
return EntityInsentient.p().a(GenericAttributes.MAX_HEALTH, 200.0D);
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index f2ca515c9b..e6b41ab924 100644
|
||||
index f2ca515c9..e6b41ab92 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -269,9 +269,11 @@ public class PurpurWorldConfig {
|
||||
|
||||
Reference in New Issue
Block a user