Class: PlayerInteractWithBlockBeforeEventSignal
Manages callbacks that are connected to before a player interacts with a block.
Constructors
new PlayerInteractWithBlockBeforeEventSignal()
private
new PlayerInteractWithBlockBeforeEventSignal():PlayerInteractWithBlockBeforeEventSignal
Returns
PlayerInteractWithBlockBeforeEventSignal
Methods
subscribe()
subscribe(
callback
): (arg
) =>void
Parameters
Parameter | Type |
---|---|
callback | (arg ) => void |
Returns
Function
Parameters
Parameter | Type |
---|---|
arg | PlayerInteractWithBlockBeforeEvent |
Returns
void