public class PlayerResourcePackStatusEvent extends PlayerEvent
Player.setResourcePack(java.lang.String).| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerResourcePackStatusEvent.Status
Status of the resource pack.
|
Event.Resultplayer| Constructor and Description |
|---|
PlayerResourcePackStatusEvent(@NotNull Player who,
@NotNull PlayerResourcePackStatusEvent.Status resourcePackStatus) |
PlayerResourcePackStatusEvent(Player who,
PlayerResourcePackStatusEvent.Status resourcePackStatus,
String hash)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
String |
getHash()
Deprecated.
|
@NotNull PlayerResourcePackStatusEvent.Status |
getStatus()
Gets the status of this pack.
|
getPlayercallEvent, getEventName, isAsynchronouspublic PlayerResourcePackStatusEvent(@NotNull @NotNull Player who, @NotNull @NotNull PlayerResourcePackStatusEvent.Status resourcePackStatus)
@Deprecated public PlayerResourcePackStatusEvent(Player who, PlayerResourcePackStatusEvent.Status resourcePackStatus, String hash)
@Deprecated public String getHash()
@NotNull public @NotNull PlayerResourcePackStatusEvent.Status getStatus()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.