BetterModel
Toggle table of contents
1.13.5-SNAPSHOT-410
api
Target filter
api
Switch theme
Search in API
Skip to content
BetterModel
api
/
kr.toxicity.model.api.event
/
DismountModelEvent
Dismount
Model
Event
class
DismountModelEvent
:
AbstractModelEvent
,
Cancellable
Dismounts from some model's hitbox event
Members
Constructors
Dismount
Model
Event
Link copied to clipboard
@
ApiStatus.Internal
constructor
(
@
NotNull
tracker
:
@
NotNull
EntityTracker
,
@
NotNull
bone
:
@
NotNull
RenderedBone
,
@
NotNull
hitBox
:
@
NotNull
HitBox
,
@
NotNull
entity
:
@
NotNull
Entity
)
Creates event
Properties
HANDLER_
LIST
Link copied to clipboard
val
HANDLER_LIST
:
HandlerList
Handler list
Functions
bone
Link copied to clipboard
@
NotNull
open
fun
bone
(
)
:
@
NotNull
RenderedBone
Gets source bone
call
Event
Link copied to clipboard
open
fun
callEvent
(
)
:
Boolean
entity
Link copied to clipboard
open
fun
entity
(
)
:
Entity
Gets passenger entity
get
Event
Name
Link copied to clipboard
open
fun
getEventName
(
)
:
@
NotNull
String
get
Handler
List
Link copied to clipboard
@
NotNull
open
fun
getHandlerList
(
)
:
@
NotNull
HandlerList
Gets a handler list
get
Handlers
Link copied to clipboard
@
NotNull
open
fun
getHandlers
(
)
:
@
NotNull
HandlerList
hitbox
Link copied to clipboard
@
NotNull
open
fun
hitbox
(
)
:
@
NotNull
HitBox
Gets hitbox
is
Asynchronous
Link copied to clipboard
fun
isAsynchronous
(
)
:
Boolean
is
Cancelled
Link copied to clipboard
abstract
fun
isCancelled
(
)
:
Boolean
set
Cancelled
Link copied to clipboard
abstract
fun
setCancelled
(
p
:
Boolean
)
tracker
Link copied to clipboard
@
NotNull
open
fun
tracker
(
)
:
@
NotNull
EntityTracker
Gets entity tracker