Package org.bukkit.entity
Interface Explosive
- All Superinterfaces:
- CommandSender,- Entity,- Metadatable,- Nameable,- Permissible,- PersistentDataHolder,- ServerOperator
- All Known Subinterfaces:
- AbstractWindCharge,- BreezeWindCharge,- DragonFireball,- ExplosiveMinecart,- Fireball,- LargeFireball,- SizedFireball,- SmallFireball,- TNTPrimed,- WindCharge,- WitherSkull
A representation of an explosive entity
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.bukkit.entity.EntityEntity.Spigot
- 
Method SummaryModifier and TypeMethodDescriptionfloatgetYield()Return the radius or yield of this explosive's explosion.booleanReturn whether or not this explosive creates a fire when explodingvoidsetIsIncendiary(boolean isIncendiary) Set whether or not this explosive's explosion causes firevoidsetYield(float yield) Set the radius affected by this explosive's explosion.Methods inherited from interface org.bukkit.command.CommandSendergetName, sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from interface org.bukkit.entity.EntityaddPassenger, addScoreboardTag, copy, copy, createSnapshot, eject, getAsString, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getTrackedBy, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isInWorld, isOnGround, isPersistent, isSilent, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spigot, teleport, teleport, teleport, teleportMethods inherited from interface org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.NameablegetCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.PermissibleaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHoldergetPersistentDataContainerMethods inherited from interface org.bukkit.permissions.ServerOperatorisOp, setOp
- 
Method Details- 
setYieldvoid setYield(float yield) Set the radius affected by this explosive's explosion.
 This is the base yield, which may be affected by other entity attributes.- Parameters:
- yield- The explosive yield
 
- 
getYieldfloat getYield()Return the radius or yield of this explosive's explosion.
 This is the base yield, which may be affected by other entity attributes.- Returns:
- the radius of blocks affected
 
- 
setIsIncendiaryvoid setIsIncendiary(boolean isIncendiary) Set whether or not this explosive's explosion causes fire- Parameters:
- isIncendiary- Whether it should cause fire
 
- 
isIncendiaryboolean isIncendiary()Return whether or not this explosive creates a fire when exploding- Returns:
- true if the explosive creates fire, false otherwise
 
 
-