public class UserListWhitelist extends UserList<com.mojang.authlib.GameProfile,UserListWhitelistEntry>
Constructor and Description |
---|
UserListWhitelist(java.io.File p_i1132_1_) |
Modifier and Type | Method and Description |
---|---|
protected UserListEntry<com.mojang.authlib.GameProfile> |
createEntry(com.google.gson.JsonObject entryData) |
com.mojang.authlib.GameProfile |
getByName(java.lang.String profileName) |
java.lang.String[] |
getKeys() |
protected java.lang.String |
getObjectKey(com.mojang.authlib.GameProfile obj) |
boolean |
isWhitelisted(com.mojang.authlib.GameProfile profile) |
addEntry, getEntry, getSaveFile, getValues, hasEntry, isEmpty, isLanServer, readSavedFile, removeEntry, setLanServer, writeChanges
protected UserListEntry<com.mojang.authlib.GameProfile> createEntry(com.google.gson.JsonObject entryData)
createEntry
in class UserList<com.mojang.authlib.GameProfile,UserListWhitelistEntry>
public java.lang.String[] getKeys()
getKeys
in class UserList<com.mojang.authlib.GameProfile,UserListWhitelistEntry>
public boolean isWhitelisted(com.mojang.authlib.GameProfile profile)
protected java.lang.String getObjectKey(com.mojang.authlib.GameProfile obj)
getObjectKey
in class UserList<com.mojang.authlib.GameProfile,UserListWhitelistEntry>
public com.mojang.authlib.GameProfile getByName(java.lang.String profileName)