Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Explosive.java
1 package org.bukkit.entity;
2 
3 /**
4  * A representation of an explosive entity
5  */
6 public interface Explosive extends Entity {
7 
8  /**
9  * Set the radius affected by this explosive's explosion
10  *
11  * @param yield The explosive yield
12  */
13  public void setYield(float yield);
14 
15  /**
16  * Return the radius or yield of this explosive's explosion
17  *
18  * @return the radius of blocks affected
19  */
20  public float getYield();
21 
22  /**
23  * Set whether or not this explosive's explosion causes fire
24  *
25  * @param isIncendiary Whether it should cause fire
26  */
27  public void setIsIncendiary(boolean isIncendiary);
28 
29  /**
30  * Return whether or not this explosive creates a fire when exploding
31  *
32  * @return true if the explosive creates fire, false otherwise
33  */
34  public boolean isIncendiary();
35 }
void setIsIncendiary(boolean isIncendiary)
void setYield(float yield)