mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
Add max fuse tick & explosion radius methods to Creeper
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
d00f0e5fa0
commit
48b1b91373
1 changed files with 32 additions and 0 deletions
|
@ -18,4 +18,36 @@ public interface Creeper extends Monster {
|
||||||
* @param value New Powered status
|
* @param value New Powered status
|
||||||
*/
|
*/
|
||||||
public void setPowered(boolean value);
|
public void setPowered(boolean value);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the maximum fuse ticks for this Creeper, where the maximum ticks
|
||||||
|
* is the amount of time in which a creeper is allowed to be in the
|
||||||
|
* primed state before exploding.
|
||||||
|
*
|
||||||
|
* @param ticks the new maximum fuse ticks
|
||||||
|
*/
|
||||||
|
public void setMaxFuseTicks(int ticks);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the maximum fuse ticks for this Creeper, where the maximum ticks
|
||||||
|
* is the amount of time in which a creeper is allowed to be in the
|
||||||
|
* primed state before exploding.
|
||||||
|
*
|
||||||
|
* @return the maximum fuse ticks
|
||||||
|
*/
|
||||||
|
public int getMaxFuseTicks();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the explosion radius in which this Creeper's explosion will affect.
|
||||||
|
*
|
||||||
|
* @param radius the new explosion radius
|
||||||
|
*/
|
||||||
|
public void setExplosionRadius(int radius);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the explosion radius in which this Creeper's explosion will affect.
|
||||||
|
*
|
||||||
|
* @return the explosion radius
|
||||||
|
*/
|
||||||
|
public int getExplosionRadius();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue