Package net.okocraft.box.api.player
Interface BoxPlayerMap
public interface BoxPlayerMap
-
Method Summary
Modifier and TypeMethodDescription@NotNull BoxPlayerGets theBoxPlayer.booleanChecks if theBoxPlayerof specified player is loaded.booleanisScheduledLoading(@NotNull Player player) Checks if loading of data for the specified player is scheduled.
-
Method Details
-
isLoaded
Checks if theBoxPlayerof specified player is loaded.- Parameters:
player- thePlayerto check- Returns:
trueif loaded,falseotherwise
-
isScheduledLoading
Checks if loading of data for the specified player is scheduled.- Parameters:
player- thePlayerto check- Returns:
trueindicates that it will be loaded a little later,falseindicates that it has already been loaded or failed.
-
get
Gets theBoxPlayer.- Parameters:
player- thePlayer- Returns:
- the
BoxPlayer - Throws:
IllegalStateException- if the player is not online or not loaded
-