toggle menu
nova-parent
0.17-alpha.37
jvm
switch theme
search in API
nova
/
xyz.xenondevs.nova.world.player.attachment
/
AttachmentManager
Attachment
Manager
object
AttachmentManager
:
Listener
,
PacketListener
Members
Members & Extensions
Functions
add
Attachment
Link copied to clipboard
fun
<
A
:
Attachment
,
T
:
AttachmentType
<
A
>
>
addAttachment
(
player
:
Player
,
type
:
T
)
:
A
has
Attachment
Link copied to clipboard
fun
hasAttachment
(
player
:
Player
,
type
:
AttachmentType
<
*
>
)
:
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
(
)
register
Packet
Listener
Link copied to clipboard
fun
PacketListener
.
registerPacketListener
(
)
remove
Attachment
Link copied to clipboard
fun
removeAttachment
(
player
:
Player
,
type
:
AttachmentType
<
*
>
)
unregister
Events
Link copied to clipboard
fun
Listener
.
unregisterEvents
(
)
unregister
Packet
Listener
Link copied to clipboard
fun
PacketListener
.
unregisterPacketListener
(
)