BlockStateChangeEvent

class BlockStateChangeEvent(val pos: BlockPos, val oldState: IBlockState, val newState: IBlockState) : Event

Constructors

Link copied to clipboard
fun BlockStateChangeEvent(pos: BlockPos, oldState: IBlockState, newState: IBlockState)

Functions

Link copied to clipboard
open fun getListenerList(): ListenerList
Link copied to clipboard
open fun getPhase(): EventPriority?
Link copied to clipboard
open fun hasResult(): Boolean
Link copied to clipboard
open fun isCancelable(): Boolean
Link copied to clipboard
open fun setPhase(@Nonnull value: EventPriority)

Properties

Link copied to clipboard
Link copied to clipboard
val newState: IBlockState
Link copied to clipboard
val oldState: IBlockState
Link copied to clipboard
val pos: BlockPos
Link copied to clipboard
var result: Event.Result