toggle menu
nova-parent
0.17-alpha.36
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.world.player.ability
/
AbilityManager
Ability
Manager
object
AbilityManager
:
Listener
Members
Members & Extensions
Functions
give
Ability
Link copied to clipboard
fun
giveAbility
(
player
:
Player
,
type
:
AbilityType
<
*
>
)
has
Ability
Link copied to clipboard
fun
hasAbility
(
player
:
Player
,
type
:
AbilityType
<
*
>
)
:
Boolean
register
Event
Link copied to clipboard
fun
Listener
.
registerEvent
(
eventClass
:
Class
<
out
Event
>
)
fun
Listener
.
registerEvent
(
eventClass
:
KClass
<
out
Event
>
)
register
Event
First
Link copied to clipboard
fun
Listener
.
registerEventFirst
(
eventClass
:
Class
<
out
Event
>
)
fun
Listener
.
registerEventFirst
(
eventClass
:
KClass
<
out
Event
>
)
register
Events
Link copied to clipboard
fun
Listener
.
registerEvents
(
)
register
Events
Except
Link copied to clipboard
fun
Listener
.
registerEventsExcept
(
vararg
eventClasses
:
Class
<
out
Event
>
)
fun
Listener
.
registerEventsExcept
(
vararg
eventClasses
:
KClass
<
out
Event
>
)
register
Events
First
Link copied to clipboard
fun
Listener
.
registerEventsFirst
(
)
take
Ability
Link copied to clipboard
fun
takeAbility
(
player
:
Player
,
ability
:
Ability
)
fun
takeAbility
(
player
:
Player
,
type
:
AbilityType
<
*
>
)
unregister
Events
Link copied to clipboard
fun
Listener
.
unregisterEvents
(
)