public class PlayerResourcePackStatusEvent extends PlayerEvent
Player.setResourcePack(java.lang.String)
.Modifier and Type | Class | Description |
---|---|---|
static class |
PlayerResourcePackStatusEvent.Status |
Status of the resource pack.
|
Event.Result
player
Constructor | Description |
---|---|
PlayerResourcePackStatusEvent(Player who,
PlayerResourcePackStatusEvent.Status resourcePackStatus) |
Modifier and Type | Method | Description |
---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
PlayerResourcePackStatusEvent.Status |
getStatus() |
Gets the status of this pack.
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
public PlayerResourcePackStatusEvent(@NotNull Player who, @NotNull PlayerResourcePackStatusEvent.Status resourcePackStatus)
@NotNull public PlayerResourcePackStatusEvent.Status getStatus()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.