SPIGOT-6417: Add Creeper fuse ticks API

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2021-04-11 17:32:21 +10:00
parent 4f17beef93
commit e829123b5e

View File

@ -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.
*