public interface FusedExplosive extends Explosive
A FusedExplosive may already be ignited once spawned.
Modifier and Type | Method and Description |
---|---|
void |
defuse()
Cancels an actively primed explosive.
|
default FuseData |
getFuseData()
Returns the
FuseData for this explosive. |
boolean |
isPrimed()
Returns true if this explosive is currently primed.
|
void |
prime()
Primes this explosive to detonate after the amount of ticks that
this entity explodes in defined by
Keys.FUSE_DURATION . |
detonate, explosionRadius, getExplosionRadiusData
addPassenger, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, isLoaded, isOnGround, isRemoved, remove, removePassenger, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorld
getUniqueId
getLocation, getWorld
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getTranslation
default FuseData getFuseData()
FuseData
for this explosive.boolean isPrimed()
void prime()
Keys.FUSE_DURATION
.IllegalStateException
- if explosive already primedvoid defuse()
IllegalStateException
- if explosive is not primed