Added the concept of an Explosive.

By: sunkid <sunkid@iminurnetz.com>
This commit is contained in:
Bukkit/Spigot
2011-06-14 10:55:47 -07:00
parent 05163fbadc
commit 8e7ef46f6f
4 changed files with 49 additions and 10 deletions

View File

@@ -1,12 +1,18 @@
/**
*
*/
package org.bukkit.entity;
/**
* Represents a Primed TNT.
*
* @author Cogito
*
*/
public interface TNTPrimed extends Entity {}
public interface TNTPrimed extends Explosive {
/**
* Set the number of ticks until the TNT blows up after being primed.
* @param fuseTicks
*/
public void setFuseTicks(int fuseTicks);
/**
* Retrieve the number of ticks until the explosion of this TNTPrimed entity
* @return the number of ticks until this TNTPrimed explodes
*/
public int getFuseTicks();
}