diff options
author | md_5 <git@md-5.net> | 2014-12-12 10:56:20 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2014-12-12 10:57:00 +1100 |
commit | 9fa497cd5568f2c232ef19f6c085dcca1a971ce0 (patch) | |
tree | 8f1c0681608788d8b31e7f54a793e8c07c91adeb /nms-patches/EntityGuardian.patch | |
parent | 3b1c7d708e8b96da537b7a68867773329056cd75 (diff) | |
download | craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.tar craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.tar.gz craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.tar.lz craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.tar.xz craftbukkit-9fa497cd5568f2c232ef19f6c085dcca1a971ce0.zip |
Add implementation of the elder Guardian API
Diffstat (limited to 'nms-patches/EntityGuardian.patch')
-rw-r--r-- | nms-patches/EntityGuardian.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nms-patches/EntityGuardian.patch b/nms-patches/EntityGuardian.patch new file mode 100644 index 00000000..8c419e56 --- /dev/null +++ b/nms-patches/EntityGuardian.patch @@ -0,0 +1,21 @@ +--- ../work/decompile-8eb82bde//net/minecraft/server/EntityGuardian.java Thu Dec 11 13:57:14 2014 ++++ src/main/java/net/minecraft/server/EntityGuardian.java Thu Dec 11 13:55:14 2014 +@@ -14,7 +14,7 @@ + private EntityLiving bn; + private int bo; + private boolean bp; +- private PathfinderGoalRandomStroll bq; ++ public PathfinderGoalRandomStroll bq; // CraftBukkit - private to public + + public EntityGuardian(World world) { + super(world); +@@ -35,7 +35,8 @@ + this.c = this.b = this.random.nextFloat(); + } + +- protected void aW() { ++ // PAIL: Access + rename please ++ public void aW() { // CraftBukkit - protected to public + super.aW(); + this.getAttributeInstance(GenericAttributes.e).setValue(6.0D); + this.getAttributeInstance(GenericAttributes.d).setValue(0.5D); |