Class PlayerResourcePackStatusEvent
java.lang.Object
net.minestom.server.event.player.PlayerResourcePackStatusEvent
- All Implemented Interfaces:
Event, EntityEvent, PlayerEvent
Called when a player warns the server of a resource pack status.
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerResourcePackStatusEvent(Player player, UUID packUUID, ResourcePackStatus status) -
Method Summary
Modifier and TypeMethodDescriptionGets the associated pack UUID that has resolved on the client with the particular statusGets the player.Gets the resource pack status.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PlayerEvent
getEntity
-
Constructor Details
-
PlayerResourcePackStatusEvent
-
-
Method Details
-
getStatus
Gets the resource pack status.- Returns:
- the resource pack status
-
getPackUuid
Gets the associated pack UUID that has resolved on the client with the particular status- Returns:
- the UUID of the resource pack
-
getPlayer
Description copied from interface:PlayerEventGets the player.- Specified by:
getPlayerin interfacePlayerEvent- Returns:
- the player
-