org.bukkit.entity.Explosive Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chest-server Show documentation
Show all versions of chest-server Show documentation
A spigot fork to kotlin structure and news.
The newest version!
package org.bukkit.entity;
/**
* A representation of an explosive entity
*/
public interface Explosive extends Entity {
/**
* Return the radius or yield of this explosive's explosion
*
* @return the radius of blocks affected
*/
float getYield();
/**
* Set the radius affected by this explosive's explosion
*
* @param yield The explosive yield
*/
void setYield(float yield);
/**
* Set whether or not this explosive's explosion causes fire
*
* @param isIncendiary Whether it should cause fire
*/
void setIsIncendiary(boolean isIncendiary);
/**
* Return whether or not this explosive creates a fire when exploding
*
* @return true if the explosive creates fire, false otherwise
*/
boolean isIncendiary();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy