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 alpintermediary net/minecraft/class_3331named net/minecraft/server/ServerConfigList
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanprotected abstract ServerConfigEntry<K>fromJson(JsonObject json) getFile()String[]getNames()booleanisEmpty()voidload()voidvoidremove(ServerConfigEntry<K> entry) private voidvoidsave()protected Stringvalues()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLalp;a:Lorg/slf4j/Logger;intermediary field_14373Lnet/minecraft/class_3331;field_14373:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/ServerConfigList;LOGGER:Lorg/slf4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official bLalp;b:Lcom/google/gson/Gson;intermediary field_14374Lnet/minecraft/class_3331;field_14374:Lcom/google/gson/Gson;named GSONLnet/minecraft/server/ServerConfigList;GSON:Lcom/google/gson/Gson;
-
file
- Mappings:
Namespace Name Mixin selector official cLalp;c:Ljava/io/File;intermediary field_14370Lnet/minecraft/class_3331;field_14370:Ljava/io/File;named fileLnet/minecraft/server/ServerConfigList;file:Ljava/io/File;
-
map
- Mappings:
Namespace Name Mixin selector official dLalp;d:Ljava/util/Map;intermediary field_14371Lnet/minecraft/class_3331;field_14371:Ljava/util/Map;named mapLnet/minecraft/server/ServerConfigList;map:Ljava/util/Map;
-
-
Constructor Details
-
ServerConfigList
- Mappings:
Namespace Name Mixin selector official <init>Lalp;<init>(Ljava/io/File;)Vintermediary <init>Lnet/minecraft/class_3331;<init>(Ljava/io/File;)Vnamed <init>Lnet/minecraft/server/ServerConfigList;<init>(Ljava/io/File;)V
-
-
Method Details
-
getFile
- Mappings:
Namespace Name Mixin selector official bLalp;b()Ljava/io/File;intermediary method_14643Lnet/minecraft/class_3331;method_14643()Ljava/io/File;named getFileLnet/minecraft/server/ServerConfigList;getFile()Ljava/io/File;
-
add
- Mappings:
Namespace Name Mixin selector official aLalp;a(Lalo;)Vintermediary method_14633Lnet/minecraft/class_3331;method_14633(Lnet/minecraft/class_3330;)Vnamed addLnet/minecraft/server/ServerConfigList;add(Lnet/minecraft/server/ServerConfigEntry;)V
-
get
- Mappings:
Namespace Name Mixin selector official bLalp;b(Ljava/lang/Object;)Lalo;intermediary method_14640Lnet/minecraft/class_3331;method_14640(Ljava/lang/Object;)Lnet/minecraft/class_3330;named getLnet/minecraft/server/ServerConfigList;get(Ljava/lang/Object;)Lnet/minecraft/server/ServerConfigEntry;
-
remove
- Mappings:
Namespace Name Mixin selector official cLalp;c(Ljava/lang/Object;)Vintermediary method_14635Lnet/minecraft/class_3331;method_14635(Ljava/lang/Object;)Vnamed removeLnet/minecraft/server/ServerConfigList;remove(Ljava/lang/Object;)V
-
remove
- Mappings:
Namespace Name Mixin selector official bLalp;b(Lalo;)Vintermediary method_14638Lnet/minecraft/class_3331;method_14638(Lnet/minecraft/class_3330;)Vnamed removeLnet/minecraft/server/ServerConfigList;remove(Lnet/minecraft/server/ServerConfigEntry;)V
-
getNames
- Mappings:
Namespace Name Mixin selector official aLalp;a()[Ljava/lang/String;intermediary method_14636Lnet/minecraft/class_3331;method_14636()[Ljava/lang/String;named getNamesLnet/minecraft/server/ServerConfigList;getNames()[Ljava/lang/String;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official cLalp;c()Zintermediary method_14641Lnet/minecraft/class_3331;method_14641()Znamed isEmptyLnet/minecraft/server/ServerConfigList;isEmpty()Z
-
toString
- Mappings:
Namespace Name Mixin selector official aLalp;a(Ljava/lang/Object;)Ljava/lang/String;intermediary method_14634Lnet/minecraft/class_3331;method_14634(Ljava/lang/Object;)Ljava/lang/String;named toStringLnet/minecraft/server/ServerConfigList;toString(Ljava/lang/Object;)Ljava/lang/String;
-
contains
- Mappings:
Namespace Name Mixin selector official dLalp;d(Ljava/lang/Object;)Zintermediary method_14644Lnet/minecraft/class_3331;method_14644(Ljava/lang/Object;)Znamed containsLnet/minecraft/server/ServerConfigList;contains(Ljava/lang/Object;)Z
-
removeInvalidEntries
private void removeInvalidEntries()- Mappings:
Namespace Name Mixin selector official gLalp;g()Vintermediary method_14631Lnet/minecraft/class_3331;method_14631()Vnamed removeInvalidEntriesLnet/minecraft/server/ServerConfigList;removeInvalidEntries()V
-
fromJson
- Mappings:
Namespace Name Mixin selector official aLalp;a(Lcom/google/gson/JsonObject;)Lalo;intermediary method_14642Lnet/minecraft/class_3331;method_14642(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3330;named fromJsonLnet/minecraft/server/ServerConfigList;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/server/ServerConfigEntry;
-
values
- Mappings:
Namespace Name Mixin selector official dLalp;d()Ljava/util/Collection;intermediary method_14632Lnet/minecraft/class_3331;method_14632()Ljava/util/Collection;named valuesLnet/minecraft/server/ServerConfigList;values()Ljava/util/Collection;
-
save
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official eLalp;e()Vintermediary method_14629Lnet/minecraft/class_3331;method_14629()Vnamed saveLnet/minecraft/server/ServerConfigList;save()V
-
load
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official fLalp;f()Vintermediary method_14630Lnet/minecraft/class_3331;method_14630()Vnamed loadLnet/minecraft/server/ServerConfigList;load()V
-