Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
* Note that due to the nature of explosions, {@link #getBlock()} will always be
* an air block. {@link #getExplodedBlockState()} should be used to get
* information about the block state that exploded.
* <p>
* The event isn't called if the {@link org.bukkit.GameRules#MOB_GRIEFING}
* is disabled as no block interaction will occur.
*/
public class BlockExplodeEvent extends BlockEvent implements Cancellable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@
import org.jetbrains.annotations.NotNull;

/**
* Called when an entity explodes interacting with blocks. The
* event isn't called if the {@link org.bukkit.GameRules#MOB_GRIEFING}
* is disabled as no block interaction will occur.
* Called when an entity explodes interacting with blocks.
* <p>
* Explosions caused by mobs do not interact with blocks
* while {@link org.bukkit.GameRules#MOB_GRIEFING} is disabled
* as no block interaction will occur. That game rule does not
* affect other explosions. For example, a wind charge still calls this event
* with an {@link ExplosionResult#TRIGGER_BLOCK} result.
*/
public class EntityExplodeEvent extends EntityEvent implements Cancellable {

Expand Down