Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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 no tinteract with blocks
Comment thread
CJH3139 marked this conversation as resolved.
Outdated
* while {@link org.bukkit.GameRules#MOB_GRIEFING} is disabled
* as no block interaction will occur. That game rule does not
Comment on lines +16 to +18

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should still say that explosions caused by mobs don't call the event, what's currently written reads bit weirdly since it says no block interactions will occur twice without saying anything about whether it's still called or 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
Loading