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