net.minecraft.server

public abstract class ServerConfigList<K, V extends ServerConfigEntry<K>>

net.minecraft.server.players.StoredUserList
net.minecraft.class_3331
net.minecraft.server.ServerConfigList

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_14373
LOGGER
private static final com.google.gson.Gson
GSON
field_14374
GSON
private final File
file
field_14370
file
private final Map<String, V>
map
field_14371
map
protected final ManagementListener
notificationService
field_62420
field_62420

Constructor summary

ModifierConstructor
public (File file, ManagementListener notificationService)

Method summary

Modifier and TypeMethod
public File
getFile()
method_14643()
getFile()
public boolean
add(V infos)
method_14633(V arg0)
add(V arg0)
public V
get(K user)
method_14640(K arg0)
get(K key)
public boolean
remove(K user)
method_14635(K arg0)
remove(K key)
public boolean
remove(StoredUserEntry<K> infos)
method_14638(class_3330<K> arg0)
remove(ServerConfigEntry<K> entry)
public void
clear()
method_73998()
clear()
public String[]
getUserList()
method_14636()
getNames()
public boolean
isEmpty()
method_14641()
isEmpty()
protected String
getKeyForUser(K user)
method_14634(K arg0)
toString(K profile)
protected boolean
contains(K user)
method_14644(K arg0)
contains(K arg0)
private void
removeExpired()
method_14631()
removeInvalidEntries()
protected abstract ServerConfigEntry<K>
createEntry(com.google.gson.JsonObject object)
method_14642(com.google.gson.JsonObject arg0)
fromJson(com.google.gson.JsonObject json)
public Collection<V>
getEntries()
method_14632()
values()
public void
save()
method_14629()
save()
public void
load()
method_14630()
load()
private static com.google.gson.JsonObject
lambda$save$0(StoredUserEntry arg0)
method_24897(class_3330 arg0)
method_24897(ServerConfigEntry entry)