FloppaClient
1.0.3-0.2
FloppaClient
/
floppaclient.events
/
BlockStateChangeEvent
Block
State
Change
Event
class
BlockStateChangeEvent
(
val
pos
:
BlockPos
,
val
oldState
:
IBlockState
,
val
newState
:
IBlockState
)
:
Event
Constructors
Functions
Properties
Constructors
Block
State
Change
Event
Link copied to clipboard
fun
BlockStateChangeEvent
(
pos
:
BlockPos
,
oldState
:
IBlockState
,
newState
:
IBlockState
)
Functions
get
Listener
List
Link copied to clipboard
open
fun
getListenerList
(
)
:
ListenerList
get
Phase
Link copied to clipboard
@
Nullable
open
fun
getPhase
(
)
:
EventPriority
?
has
Result
Link copied to clipboard
open
fun
hasResult
(
)
:
Boolean
is
Cancelable
Link copied to clipboard
open
fun
isCancelable
(
)
:
Boolean
set
Phase
Link copied to clipboard
open
fun
setPhase
(
@
Nonnull
value
:
EventPriority
)
Properties
is
Canceled
Link copied to clipboard
var
isCanceled
:
Boolean
new
State
Link copied to clipboard
val
newState
:
IBlockState
old
State
Link copied to clipboard
val
oldState
:
IBlockState
pos
Link copied to clipboard
val
pos
:
BlockPos
result
Link copied to clipboard
var
result
:
Event.Result