13
0
geforkt von Mirrors/Velocity

javadoc for PlayerResourcePackStatusEvent.Status#isIntermediate

Dieser Commit ist enthalten in:
Gero 2023-12-08 09:40:25 +01:00 committet von Shane Freeder
Ursprung 8bfe0670c4
Commit 98632925e1

Datei anzeigen

@ -151,6 +151,13 @@ public class PlayerResourcePackStatusEvent {
*/
DISCARDED;
/**
* Returns true if the resource pack status is intermediate, indicating that the player has
* either accepted the resource pack and is currently downloading it or has successfully
* downloaded it.
*
* @return true if the status is intermediate (ACCEPTED or DOWNLOADED), false otherwise
*/
public boolean isIntermediate() {
return this == ACCEPTED || this == DOWNLOADED;
}