CommandSender, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, ServerOperatorDragonFireball, Fireball, LargeFireball, SmallFireball, TNTPrimed, WitherSkullpublic interface Explosive extends Entity
Entity.Spigot| Modifier and Type | Method | 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
|
getName, sendMessage, sendMessageaddPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetCustomName, setCustomNameaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentgetPersistentDataContainerisOp, setOpvoid setYield(float yield)
yield - The explosive yieldfloat getYield()
void setIsIncendiary(boolean isIncendiary)
isIncendiary - Whether it should cause fireboolean isIncendiary()
Copyright © 2019. All rights reserved.