Package net.pl3x.map.core.player
Class PlayerRegistry
Manages player specific data
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.pl3x.map.core.registry.Registry
entrySet, getOrDefault, has, iterator, register, register, size, unregister, unregister, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PlayerRegistry
public PlayerRegistry()
-
-
Method Details
-
getOrDefault
-
register
-
unregister
-
get
Get the registered player by uuid.Will return null if no player registered.
- Parameters:
uuid
- player uuid- Returns:
- registered player or null
-
get
Get the registered player by name.Will return null if no player registered.
-
optional
-
parsePlayers
-