EntityExploded

data class EntityExploded(val block: Block, val event: EntityExplodeEvent) : BlockBreakContext(source)

The block is being exploded by an entity (e.g. a creeper or TNT)

Constructors

Link copied to clipboard
constructor(block: Block, event: EntityExplodeEvent)

Properties

Link copied to clipboard
open override val block: Block

The block that is about to be broken.

Link copied to clipboard
Link copied to clipboard
open override val normallyDrops: Boolean = true

Determines the default drop behavior of the context

Link copied to clipboard
@get:JvmName(name = "shouldSetToAir")
open val shouldSetToAir: Boolean

If true, the block will be set to air after the Pylon data is removed