public interface Explosive extends Entity
| Modifier and Type | Method and Description |
|---|---|
void |
detonate()
Detonates this explosive as soon as possible.
|
default OptionalValue<Integer> |
explosionRadius()
The radius in blocks that the explosion will affect.
|
default ExplosionRadiusData |
getExplosionRadiusData()
Returns the
ExplosionRadiusData for this explosive. |
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, transferToWorldgetUniqueIdgetLocation, getWorldsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetTranslationdefault ExplosionRadiusData getExplosionRadiusData()
ExplosionRadiusData for this explosive.default OptionalValue<Integer> explosionRadius()
void detonate()