TileEntityBreakBlockEvent

Called when a TileEntity breaks a block.

Constructors

Link copied to clipboard
constructor(@NotNull tileEntity: @NotNull TileEntity, @NotNull block: @NotNull Block, @NotNull drops: @NotNull List<ItemStack>)

Properties

Link copied to clipboard
@NotNull
@get:NotNull
val block: @NotNull Block
Link copied to clipboard
@NotNull
@get:NotNull
val drops: @NotNull List<@NotNull ItemStack>
Link copied to clipboard
@NotNull
@get:NotNull
val tileEntity: @NotNull TileEntity

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
open fun getEventName(): @NotNull String
Link copied to clipboard
@NotNull
open fun getHandlerList(): @NotNull HandlerList
Link copied to clipboard
@NotNull
open fun getHandlers(): @NotNull HandlerList
Link copied to clipboard
Link copied to clipboard
@NotNull
open fun toString(): @NotNull String