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.Result
player
Constructor and Description |
---|
PlayerResourcePackStatusEvent(Player who,
PlayerResourcePackStatusEvent.Status resourcePackStatus)
Deprecated.
|
PlayerResourcePackStatusEvent(Player who,
PlayerResourcePackStatusEvent.Status resourcePackStatus,
String hash) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
String |
getHash() |
PlayerResourcePackStatusEvent.Status |
getStatus()
Gets the status of this pack.
|
getPlayer
callEvent, getEventName, isAsynchronous
@Deprecated public PlayerResourcePackStatusEvent(Player who, PlayerResourcePackStatusEvent.Status resourcePackStatus)
public PlayerResourcePackStatusEvent(Player who, PlayerResourcePackStatusEvent.Status resourcePackStatus, String hash)
public String getHash()
public PlayerResourcePackStatusEvent.Status getStatus()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.