Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 34 lines 801 B view raw
1package org.bukkit.entity; 2 3/** 4 * A representation of an explosive entity 5 */ 6public interface Explosive extends Entity { 7 /** 8 * Set the radius affected by this explosive's explosion 9 * 10 * @param yield 11 */ 12 public void setYield(float yield); 13 14 /** 15 * Return the radius or yield of this explosive's explosion 16 * 17 * @return the radius of blocks affected 18 */ 19 public float getYield(); 20 21 /** 22 * Set whether or not this explosive's explosion causes fire 23 * 24 * @param isIncendiary 25 */ 26 public void setIsIncendiary(boolean isIncendiary); 27 28 /** 29 * Return whether or not this explosive creates a fire when exploding 30 * 31 * @return true if the explosive creates fire, false otherwise 32 */ 33 public boolean isIncendiary(); 34}