Interface DetonateExplosiveEvent
- All Superinterfaces:
Cancellable
,Event
Event called immediately before an
Explosive
explodes.-
Method Summary
Modifier and TypeMethodDescriptionReturns theExplosion.Builder
that will be used to build the explosion for the impending detonation.Gets theExplosive
.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 Details
-
explosive
Explosive explosive()Gets theExplosive
.- Returns:
- The explosive
-
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
-