public interface Explosive extends Entity
| Modifier and Type | Method and Description | 
|---|---|
| float | getYield()Return the radius or yield of this explosive's explosion | 
| boolean | isIncendiary()Return whether or not this explosive creates a fire when exploding | 
| void | setIsIncendiary(boolean isIncendiary)Set whether or not this explosive's explosion causes fire | 
| void | setYield(float yield)Set the radius affected by this explosive's explosion | 
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, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatavoid setYield(float yield)
yield - The explosive yieldfloat getYield()
void setIsIncendiary(boolean isIncendiary)
isIncendiary - Whether it should cause fireboolean isIncendiary()
Copyright © 2014. All rights reserved.