Skip to Content
⚠ Under Construction
ReferenceC++ APIBlockEvent

endstone::BlockEvent

Represents an Block-related event.

Bases: endstone::Event

Functions:

NameDescription
BlockEvent
getBlockGets the block involved in this event.

BlockEvent

BlockEvent(std::unique_ptr<Block> block)

getBlock

Block &getBlock() const

Gets the block involved in this event.

Returns:

The Block which block is involved in this event

Last updated on