Commits

md_5 authored ccccb62537b
SPIGOT-6417: Add Creeper fuse ticks API
No tags

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

Modified
30 30
31 31 /**
32 32 * Get the maximum fuse ticks for this Creeper, where the maximum ticks
33 33 * is the amount of time in which a creeper is allowed to be in the
34 34 * primed state before exploding.
35 35 *
36 36 * @return the maximum fuse ticks
37 37 */
38 38 public int getMaxFuseTicks();
39 39
40 + /**
41 + * Set the fuse ticks for this Creeper, where the ticks is the amount of
42 + * time in which a creeper has been in the primed state.
43 + *
44 + * @param ticks the new fuse ticks
45 + */
46 + public void setFuseTicks(int ticks);
47 +
48 + /**
49 + * Get the maximum fuse ticks for this Creeper, where the ticks is the
50 + * amount of time in which a creeper has been in the primed state.
51 + *
52 + * @return the fuse ticks
53 + */
54 + public int getFuseTicks();
55 +
40 56 /**
41 57 * Set the explosion radius in which this Creeper's explosion will affect.
42 58 *
43 59 * @param radius the new explosion radius
44 60 */
45 61 public void setExplosionRadius(int radius);
46 62
47 63 /**
48 64 * Get the explosion radius in which this Creeper's explosion will affect.
49 65 *

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

Add shortcut