001    package org.bukkit.entity;
002    
003    /**
004     * A representation of an explosive entity
005     */
006    public interface Explosive extends Entity {
007        /**
008         * Set the radius affected by this explosive's explosion
009         *
010         * @param yield The explosive yield
011         */
012        public void setYield(float yield);
013    
014        /**
015         * Return the radius or yield of this explosive's explosion
016         *
017         * @return the radius of blocks affected
018         */
019        public float getYield();
020    
021        /**
022         * Set whether or not this explosive's explosion causes fire
023         *
024         * @param isIncendiary Whether it should cause fire
025         */
026        public void setIsIncendiary(boolean isIncendiary);
027    
028        /**
029         * Return whether or not this explosive creates a fire when exploding
030         *
031         * @return true if the explosive creates fire, false otherwise
032         */
033        public boolean isIncendiary();
034    }