Interface ResourcePackStatusEvent
- All Superinterfaces:
Event
Called when a
connection notifies the Server of the
status of a resource pack change request.-
Method Details
-
connection
ServerSideConnection connection()Gets theconnection.- Returns:
- The connection
-
profile
GameProfile profile()Gets theprofileassociated with this connection.- Returns:
- The profile
-
player
Optional<ServerPlayer> player()Gets theplayer.- Returns:
- The player, or
Optional.empty()if the player is in the configuration state.
-
pack
ResourcePackInfo pack()Gets the pack that this status corresponds to.- Returns:
- The pack that this status corresponds to.
-
status
ResourcePackStatus status()Gets the status of the sent pack.- Returns:
- The status of the sent pack.
-