mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
SPIGOT-6417: Add Creeper fuse ticks API
By: md_5 <git@md-5.net>
This commit is contained in:
parent
4f17beef93
commit
e829123b5e
@ -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…
Reference in New Issue
Block a user