PlayerPlace

data class PlayerPlace(val player: Player, val item: ItemStack, val event: BlockPlaceEvent) : BlockCreateContext(source)

A player has placed the block

Constructors

Link copied to clipboard
constructor(player: Player, item: ItemStack, event: BlockPlaceEvent)

Properties

Link copied to clipboard
open override val block: @NotNull Block

The old block where the new block is about to be created.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val shouldSetType: Boolean = false

If true, the type of the block will be set to the type of the Pylon block