ChamoItemSkins
Toggle table of contents
1.0.0
java
Target filter
java
Switch theme
Search in API
Skip to content
ChamoItemSkins
api
/
net.chamosmp.chamoitemskins.api.event
/
SkinEquipEvent
Skin
Equip
Event
public
class
SkinEquipEvent
extends
PlayerEvent
implements
Cancellable
Fired when a player attempts to equip a skin.
Members
Constructors
Skin
Equip
Event
Link copied to clipboard
public
void
SkinEquipEvent
(
@
NotNull
(
)
@
NotNull
(
)
Player
player
,
@
NotNull
(
)
@
NotNull
(
)
Skin
skin
)
Properties
skin
Link copied to clipboard
public
final
Skin
skin
Functions
call
Event
Link copied to clipboard
public
boolean
callEvent
(
)
get
Event
Name
Link copied to clipboard
public
@
NotNull
(
)
String
getEventName
(
)
get
Handler
List
Link copied to clipboard
@
NotNull
(
)
public
static
@
NotNull
(
)
HandlerList
getHandlerList
(
)
get
Handlers
Link copied to clipboard
@
NotNull
(
)
public
@
NotNull
(
)
HandlerList
getHandlers
(
)
get
Player
Link copied to clipboard
public
final
@
NotNull
(
)
Player
getPlayer
(
)
get
Skin
Link copied to clipboard
@
NotNull
(
)
public
@
NotNull
(
)
Skin
getSkin
(
)
Gets the skin being equipped.
is
Asynchronous
Link copied to clipboard
public
final
boolean
isAsynchronous
(
)
is
Cancelled
Link copied to clipboard
public
boolean
isCancelled
(
)
set
Cancelled
Link copied to clipboard
public
void
setCancelled
(
boolean cancel
)