public class UserListOps extends UserList<com.mojang.authlib.GameProfile,UserListOpsEntry>
UserList.Serializer
Constructor and Description |
---|
UserListOps(java.io.File saveFile) |
Modifier and Type | Method and Description |
---|---|
protected UserListEntry<com.mojang.authlib.GameProfile> |
createEntry(com.google.gson.JsonObject entryData) |
boolean |
func_183026_b(com.mojang.authlib.GameProfile p_183026_1_) |
com.mojang.authlib.GameProfile |
getGameProfileFromName(java.lang.String username)
Gets the GameProfile of based on the provided username.
|
java.lang.String[] |
getKeys() |
protected java.lang.String |
getObjectKey(com.mojang.authlib.GameProfile obj)
Gets the key value for the given object
|
addEntry, getEntry, getValues, hasEntry, isLanServer, removeEntry, setLanServer, writeChanges
protected UserListEntry<com.mojang.authlib.GameProfile> createEntry(com.google.gson.JsonObject entryData)
createEntry
in class UserList<com.mojang.authlib.GameProfile,UserListOpsEntry>
public java.lang.String[] getKeys()
getKeys
in class UserList<com.mojang.authlib.GameProfile,UserListOpsEntry>
public boolean func_183026_b(com.mojang.authlib.GameProfile p_183026_1_)
protected java.lang.String getObjectKey(com.mojang.authlib.GameProfile obj)
getObjectKey
in class UserList<com.mojang.authlib.GameProfile,UserListOpsEntry>
public com.mojang.authlib.GameProfile getGameProfileFromName(java.lang.String username)