diff options
author | Parker Hawke <hawkeboyz2@hotmail.com> | 2017-11-07 07:38:58 -0500 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-11-08 12:33:21 +1100 |
commit | 305df9035faeda09b14f923dc44bdd550d9c9000 (patch) | |
tree | f8afab9fcf3f3f8cfd817c243c6498c0b6d07bff /nms-patches | |
parent | 3e3bbd42724e3c5e691f4aebfbdf5e1e784c1f68 (diff) | |
download | craftbukkit-305df9035faeda09b14f923dc44bdd550d9c9000.tar craftbukkit-305df9035faeda09b14f923dc44bdd550d9c9000.tar.gz craftbukkit-305df9035faeda09b14f923dc44bdd550d9c9000.tar.lz craftbukkit-305df9035faeda09b14f923dc44bdd550d9c9000.tar.xz craftbukkit-305df9035faeda09b14f923dc44bdd550d9c9000.zip |
Implement max fuse tick & explosion radius methods to Creeper
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/EntityCreeper.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nms-patches/EntityCreeper.patch b/nms-patches/EntityCreeper.patch index 5721057f..580aeb91 100644 --- a/nms-patches/EntityCreeper.patch +++ b/nms-patches/EntityCreeper.patch @@ -11,6 +11,17 @@ public class EntityCreeper extends EntityMonster { +@@ -11,8 +15,8 @@ + private static final DataWatcherObject<Boolean> c = DataWatcher.a(EntityCreeper.class, DataWatcherRegistry.h); + private int bx; + private int fuseTicks; +- private int maxFuseTicks = 30; +- private int explosionRadius = 3; ++ public int maxFuseTicks = 30; // PAIL private -> public ++ public int explosionRadius = 3; // PAIL private -> public + private int bB; + + public EntityCreeper(World world) { @@ -125,7 +129,7 @@ } |