diff options
author | Parker Hawke <hawkeboyz2@hotmail.com> | 2017-11-07 20:06:16 -0500 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-11-08 12:28:33 +1100 |
commit | 100ab9f2dc90cb717ab9a8c61e555a6618eccdb8 (patch) | |
tree | 98aff184ec2c4219642c602ef48d5b8d1901d6c9 /src/main/java | |
parent | 11f70ddb4786ada16e597a86bd43af50ccaefdb7 (diff) | |
download | bukkit-100ab9f2dc90cb717ab9a8c61e555a6618eccdb8.tar bukkit-100ab9f2dc90cb717ab9a8c61e555a6618eccdb8.tar.gz bukkit-100ab9f2dc90cb717ab9a8c61e555a6618eccdb8.tar.lz bukkit-100ab9f2dc90cb717ab9a8c61e555a6618eccdb8.tar.xz bukkit-100ab9f2dc90cb717ab9a8c61e555a6618eccdb8.zip |
Add max fuse tick & explosion radius methods to Creeper
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/entity/Creeper.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Creeper.java b/src/main/java/org/bukkit/entity/Creeper.java index a2f78099..f957d836 100644 --- a/src/main/java/org/bukkit/entity/Creeper.java +++ b/src/main/java/org/bukkit/entity/Creeper.java @@ -18,4 +18,36 @@ public interface Creeper extends Monster { * @param value New Powered status */ public void setPowered(boolean value); + + /** + * Set the maximum fuse ticks for this Creeper, where the maximum ticks + * is the amount of time in which a creeper is allowed to be in the + * primed state before exploding. + * + * @param ticks the new maximum fuse ticks + */ + public void setMaxFuseTicks(int ticks); + + /** + * Get the maximum fuse ticks for this Creeper, where the maximum ticks + * is the amount of time in which a creeper is allowed to be in the + * primed state before exploding. + * + * @return the maximum fuse ticks + */ + public int getMaxFuseTicks(); + + /** + * Set the explosion radius in which this Creeper's explosion will affect. + * + * @param radius the new explosion radius + */ + public void setExplosionRadius(int radius); + + /** + * Get the explosion radius in which this Creeper's explosion will affect. + * + * @return the explosion radius + */ + public int getExplosionRadius(); } |