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