Interface DetonateExplosiveEvent
-
- All Superinterfaces:
Cancellable,Event
public interface DetonateExplosiveEvent extends Event, Cancellable
Event called immediately before anExplosiveexplodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Explosion.BuilderexplosionBuilder()Returns theExplosion.Builderthat will be used to build the explosion for the impending detonation.Explosiveexplosive()Gets theExplosive.ExplosionoriginalExplosion()Returns the explosion of the vanilla behavior that this event was initialized with.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-
-
-
Method Detail
-
originalExplosion
Explosion originalExplosion()
Returns the explosion of the vanilla behavior that this event was initialized with.- Returns:
- Original explosion
-
explosionBuilder
Explosion.Builder explosionBuilder()
Returns theExplosion.Builderthat will be used to build the explosion for the impending detonation.- Returns:
- Explosion builder for detonation
-
-