public class PlayerResourcePackStatusEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerResourcePackStatusEvent.Status
Represents the possible statuses for the resource pack.
|
| Constructor and Description |
|---|
PlayerResourcePackStatusEvent(Player player,
PlayerResourcePackStatusEvent.Status status) |
| Modifier and Type | Method and Description |
|---|---|
Player |
getPlayer()
Returns the player affected by the change in resource pack status.
|
PlayerResourcePackStatusEvent.Status |
getStatus()
Returns the new status for the resource pack.
|
String |
toString() |
public PlayerResourcePackStatusEvent(Player player, PlayerResourcePackStatusEvent.Status status)
public Player getPlayer()
public PlayerResourcePackStatusEvent.Status getStatus()