Commits

Parker Hawke authored and md_5 committed 100ab9f2dc9
Add max fuse tick & explosion radius methods to Creeper
No tags

src/main/java/org/bukkit/entity/Creeper.java

Modified
11 11 * @return true if this creeper is powered
12 12 */
13 13 public boolean isPowered();
14 14
15 15 /**
16 16 * Sets the Powered status of this Creeper
17 17 *
18 18 * @param value New Powered status
19 19 */
20 20 public void setPowered(boolean value);
21 +
22 + /**
23 + * Set the maximum fuse ticks for this Creeper, where the maximum ticks
24 + * is the amount of time in which a creeper is allowed to be in the
25 + * primed state before exploding.
26 + *
27 + * @param ticks the new maximum fuse ticks
28 + */
29 + public void setMaxFuseTicks(int ticks);
30 +
31 + /**
32 + * Get the maximum fuse ticks for this Creeper, where the maximum ticks
33 + * is the amount of time in which a creeper is allowed to be in the
34 + * primed state before exploding.
35 + *
36 + * @return the maximum fuse ticks
37 + */
38 + public int getMaxFuseTicks();
39 +
40 + /**
41 + * Set the explosion radius in which this Creeper's explosion will affect.
42 + *
43 + * @param radius the new explosion radius
44 + */
45 + public void setExplosionRadius(int radius);
46 +
47 + /**
48 + * Get the explosion radius in which this Creeper's explosion will affect.
49 + *
50 + * @return the explosion radius
51 + */
52 + public int getExplosionRadius();
21 53 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut