public class BanList extends UserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
UserList.Serializer
Constructor and Description |
---|
BanList(java.io.File bansFile) |
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 |
isBanned(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,ProfileBanEntry>
public boolean isBanned(com.mojang.authlib.GameProfile profile)
public java.lang.String[] getKeys()
getKeys
in class UserList<com.mojang.authlib.GameProfile,ProfileBanEntry>
protected java.lang.String getObjectKey(com.mojang.authlib.GameProfile obj)
getObjectKey
in class UserList<com.mojang.authlib.GameProfile,ProfileBanEntry>