Interface DetonateExplosiveEvent
-
- All Superinterfaces:
Cancellable
,Event
public interface DetonateExplosiveEvent extends Event, Cancellable
Event called immediately before anExplosive
explodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Explosion.Builder
explosionBuilder()
Returns theExplosion.Builder
that will be used to build the explosion for the impending detonation.Explosive
explosive()
Gets theExplosive
.Explosion
originalExplosion()
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.Builder
that will be used to build the explosion for the impending detonation.- Returns:
- Explosion builder for detonation
-
-