Package net.minecraft.server.players
Class UserWhiteList
java.lang.Object
net.minecraft.server.players.StoredUserList<com.mojang.authlib.GameProfile,UserWhiteListEntry>
net.minecraft.server.players.UserWhiteList
public class UserWhiteList
extends StoredUserList<com.mojang.authlib.GameProfile,UserWhiteListEntry>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StoredUserEntry
<com.mojang.authlib.GameProfile> createEntry
(JsonObject pEntryData) protected String
getKeyForUser
(com.mojang.authlib.GameProfile pObj) Gets the key value for the given objectString[]
boolean
isWhiteListed
(com.mojang.authlib.GameProfile pProfile) Returnstrue
if the profile is in the whitelist.
-
Constructor Details
-
UserWhiteList
-
-
Method Details
-
createEntry
- Specified by:
createEntry
in classStoredUserList<com.mojang.authlib.GameProfile,
UserWhiteListEntry>
-
isWhiteListed
public boolean isWhiteListed(com.mojang.authlib.GameProfile pProfile) Returnstrue
if the profile is in the whitelist. -
getUserList
- Overrides:
getUserList
in classStoredUserList<com.mojang.authlib.GameProfile,
UserWhiteListEntry>
-
getKeyForUser
Gets the key value for the given object- Overrides:
getKeyForUser
in classStoredUserList<com.mojang.authlib.GameProfile,
UserWhiteListEntry>
-