toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.structures.events
/
TrainEnterEvent
Train
Enter
Event
class
TrainEnterEvent
(
val
player
:
Player
,
val
seat
:
Entity
)
:
Event
,
Cancellable
(
source
)
Members
Constructors
Train
Enter
Event
Link copied to clipboard
constructor
(
player
:
Player
,
seat
:
Entity
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
cancelled
Event
Link copied to clipboard
var
cancelledEvent
:
Boolean
player
Link copied to clipboard
val
player
:
Player
seat
Link copied to clipboard
val
seat
:
Entity
Functions
call
Event
Link copied to clipboard
open
fun
callEvent
(
)
:
Boolean
get
Event
Name
Link copied to clipboard
@
NotNull
open
fun
getEventName
(
)
:
@
NotNull
String
get
Handlers
Link copied to clipboard
open
override
fun
getHandlers
(
)
:
HandlerList
is
Asynchronous
Link copied to clipboard
fun
isAsynchronous
(
)
:
Boolean
is
Cancelled
Link copied to clipboard
open
override
fun
isCancelled
(
)
:
Boolean
set
Cancelled
Link copied to clipboard
open
override
fun
setCancelled
(
cancel
:
Boolean
)