org.bukkit.entity
Interface TNTPrimed

All Superinterfaces:
Entity, Explosive, Metadatable

public interface TNTPrimed
extends Explosive

Represents a Primed TNT.


Method Summary
 int getFuseTicks()
          Retrieve the number of ticks until the explosion of this TNTPrimed entity
 void setFuseTicks(int fuseTicks)
          Set the number of ticks until the TNT blows up after being primed.
 
Methods inherited from interface org.bukkit.entity.Explosive
getYield, isIncendiary, setIsIncendiary, setYield
 
Methods inherited from interface org.bukkit.entity.Entity
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 

Method Detail

setFuseTicks

void setFuseTicks(int fuseTicks)
Set the number of ticks until the TNT blows up after being primed.

Parameters:
fuseTicks - The fuse ticks

getFuseTicks

int getFuseTicks()
Retrieve the number of ticks until the explosion of this TNTPrimed entity

Returns:
the number of ticks until this TNTPrimed explodes


Copyright © 2013. All Rights Reserved.