mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
SPIGOT-6417: Add Creeper fuse ticks API
This commit is contained in:
parent
bb27a6c723
commit
ccccb62537
1 changed files with 16 additions and 0 deletions
|
@ -37,6 +37,22 @@ public interface Creeper extends Monster {
|
|||
*/
|
||||
public int getMaxFuseTicks();
|
||||
|
||||
/**
|
||||
* Set the fuse ticks for this Creeper, where the ticks is the amount of
|
||||
* time in which a creeper has been in the primed state.
|
||||
*
|
||||
* @param ticks the new fuse ticks
|
||||
*/
|
||||
public void setFuseTicks(int ticks);
|
||||
|
||||
/**
|
||||
* Get the maximum fuse ticks for this Creeper, where the ticks is the
|
||||
* amount of time in which a creeper has been in the primed state.
|
||||
*
|
||||
* @return the fuse ticks
|
||||
*/
|
||||
public int getFuseTicks();
|
||||
|
||||
/**
|
||||
* Set the explosion radius in which this Creeper's explosion will affect.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue