Package net.minecraft.server
Class ServerConfigList<K,V extends ServerConfigEntry<K>>
java.lang.Object
net.minecraft.server.ServerConfigList<K,V>
- Direct Known Subclasses:
BannedIpList
,BannedPlayerList
,OperatorList
,Whitelist
- Mappings:
Namespace Name official aim
intermediary net/minecraft/class_3331
named net/minecraft/server/ServerConfigList
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean
protected abstract ServerConfigEntry<K>
fromJson
(JsonObject json) getFile()
String[]
getNames()
boolean
isEmpty()
void
load()
void
void
remove
(ServerConfigEntry<K> entry) private void
void
save()
protected String
values()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Laim;a:Lorg/slf4j/Logger;
intermediary field_14373
Lnet/minecraft/class_3331;field_14373:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/server/ServerConfigList;LOGGER:Lorg/slf4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official b
Laim;b:Lcom/google/gson/Gson;
intermediary field_14374
Lnet/minecraft/class_3331;field_14374:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/server/ServerConfigList;GSON:Lcom/google/gson/Gson;
-
file
- Mappings:
Namespace Name Mixin selector official c
Laim;c:Ljava/io/File;
intermediary field_14370
Lnet/minecraft/class_3331;field_14370:Ljava/io/File;
named file
Lnet/minecraft/server/ServerConfigList;file:Ljava/io/File;
-
map
- Mappings:
Namespace Name Mixin selector official d
Laim;d:Ljava/util/Map;
intermediary field_14371
Lnet/minecraft/class_3331;field_14371:Ljava/util/Map;
named map
Lnet/minecraft/server/ServerConfigList;map:Ljava/util/Map;
-
-
Constructor Details
-
ServerConfigList
- Mappings:
Namespace Name Mixin selector official <init>
Laim;<init>(Ljava/io/File;)V
intermediary <init>
Lnet/minecraft/class_3331;<init>(Ljava/io/File;)V
named <init>
Lnet/minecraft/server/ServerConfigList;<init>(Ljava/io/File;)V
-
-
Method Details
-
getFile
- Mappings:
Namespace Name Mixin selector official b
Laim;b()Ljava/io/File;
intermediary method_14643
Lnet/minecraft/class_3331;method_14643()Ljava/io/File;
named getFile
Lnet/minecraft/server/ServerConfigList;getFile()Ljava/io/File;
-
add
- Mappings:
Namespace Name Mixin selector official a
Laim;a(Lail;)V
intermediary method_14633
Lnet/minecraft/class_3331;method_14633(Lnet/minecraft/class_3330;)V
named add
Lnet/minecraft/server/ServerConfigList;add(Lnet/minecraft/server/ServerConfigEntry;)V
-
get
- Mappings:
Namespace Name Mixin selector official b
Laim;b(Ljava/lang/Object;)Lail;
intermediary method_14640
Lnet/minecraft/class_3331;method_14640(Ljava/lang/Object;)Lnet/minecraft/class_3330;
named get
Lnet/minecraft/server/ServerConfigList;get(Ljava/lang/Object;)Lnet/minecraft/server/ServerConfigEntry;
-
remove
- Mappings:
Namespace Name Mixin selector official c
Laim;c(Ljava/lang/Object;)V
intermediary method_14635
Lnet/minecraft/class_3331;method_14635(Ljava/lang/Object;)V
named remove
Lnet/minecraft/server/ServerConfigList;remove(Ljava/lang/Object;)V
-
remove
- Mappings:
Namespace Name Mixin selector official b
Laim;b(Lail;)V
intermediary method_14638
Lnet/minecraft/class_3331;method_14638(Lnet/minecraft/class_3330;)V
named remove
Lnet/minecraft/server/ServerConfigList;remove(Lnet/minecraft/server/ServerConfigEntry;)V
-
getNames
- Mappings:
Namespace Name Mixin selector official a
Laim;a()[Ljava/lang/String;
intermediary method_14636
Lnet/minecraft/class_3331;method_14636()[Ljava/lang/String;
named getNames
Lnet/minecraft/server/ServerConfigList;getNames()[Ljava/lang/String;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official c
Laim;c()Z
intermediary method_14641
Lnet/minecraft/class_3331;method_14641()Z
named isEmpty
Lnet/minecraft/server/ServerConfigList;isEmpty()Z
-
toString
- Mappings:
Namespace Name Mixin selector official a
Laim;a(Ljava/lang/Object;)Ljava/lang/String;
intermediary method_14634
Lnet/minecraft/class_3331;method_14634(Ljava/lang/Object;)Ljava/lang/String;
named toString
Lnet/minecraft/server/ServerConfigList;toString(Ljava/lang/Object;)Ljava/lang/String;
-
contains
- Mappings:
Namespace Name Mixin selector official d
Laim;d(Ljava/lang/Object;)Z
intermediary method_14644
Lnet/minecraft/class_3331;method_14644(Ljava/lang/Object;)Z
named contains
Lnet/minecraft/server/ServerConfigList;contains(Ljava/lang/Object;)Z
-
removeInvalidEntries
private void removeInvalidEntries()- Mappings:
Namespace Name Mixin selector official g
Laim;g()V
intermediary method_14631
Lnet/minecraft/class_3331;method_14631()V
named removeInvalidEntries
Lnet/minecraft/server/ServerConfigList;removeInvalidEntries()V
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Laim;a(Lcom/google/gson/JsonObject;)Lail;
intermediary method_14642
Lnet/minecraft/class_3331;method_14642(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3330;
named fromJson
Lnet/minecraft/server/ServerConfigList;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/server/ServerConfigEntry;
-
values
- Mappings:
Namespace Name Mixin selector official d
Laim;d()Ljava/util/Collection;
intermediary method_14632
Lnet/minecraft/class_3331;method_14632()Ljava/util/Collection;
named values
Lnet/minecraft/server/ServerConfigList;values()Ljava/util/Collection;
-
save
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official e
Laim;e()V
intermediary method_14629
Lnet/minecraft/class_3331;method_14629()V
named save
Lnet/minecraft/server/ServerConfigList;save()V
-
load
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official f
Laim;f()V
intermediary method_14630
Lnet/minecraft/class_3331;method_14630()V
named load
Lnet/minecraft/server/ServerConfigList;load()V
-