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 mxintermediary net/minecraft/class_2134named net/minecraft/server/ServerConfigList
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanprotected ServerConfigEntry<K>fromJson(JsonObject jsonObject) getFile()String[]getNames()booleanisEmpty()booleanvoidload()voidprivate voidvoidsave()voidsetEnabled(boolean enabled) protected Stringvalues()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLmx;a:Lorg/apache/logging/log4j/Logger;intermediary field_9014Lnet/minecraft/class_2134;field_9014:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/ServerConfigList;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_9019
- Mappings:
Namespace Name Mixin selector official fLmx;f:Ljava/lang/reflect/ParameterizedType;intermediary field_9019Lnet/minecraft/class_2134;field_9019:Ljava/lang/reflect/ParameterizedType;named field_9019Lnet/minecraft/server/ServerConfigList;field_9019:Ljava/lang/reflect/ParameterizedType;
-
GSON
- Mappings:
Namespace Name Mixin selector official bLmx;b:Lcom/google/gson/Gson;intermediary field_9015Lnet/minecraft/class_2134;field_9015:Lcom/google/gson/Gson;named GSONLnet/minecraft/server/ServerConfigList;GSON:Lcom/google/gson/Gson;
-
file
- Mappings:
Namespace Name Mixin selector official cLmx;c:Ljava/io/File;intermediary field_9016Lnet/minecraft/class_2134;field_9016:Ljava/io/File;named fileLnet/minecraft/server/ServerConfigList;file:Ljava/io/File;
-
map
- Mappings:
Namespace Name Mixin selector official dLmx;d:Ljava/util/Map;intermediary field_9017Lnet/minecraft/class_2134;field_9017:Ljava/util/Map;named mapLnet/minecraft/server/ServerConfigList;map:Ljava/util/Map;
-
enabled
private boolean enabled- Mappings:
Namespace Name Mixin selector official eLmx;e:Zintermediary field_9018Lnet/minecraft/class_2134;field_9018:Znamed enabledLnet/minecraft/server/ServerConfigList;enabled:Z
-
-
Constructor Details
-
ServerConfigList
- Mappings:
Namespace Name Mixin selector official <init>Lmx;<init>(Ljava/io/File;)Vintermediary <init>Lnet/minecraft/class_2134;<init>(Ljava/io/File;)Vnamed <init>Lnet/minecraft/server/ServerConfigList;<init>(Ljava/io/File;)V
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Mappings:
Namespace Name Mixin selector official bLmx;b()Zintermediary method_8249Lnet/minecraft/class_2134;method_8249()Znamed isEnabledLnet/minecraft/server/ServerConfigList;isEnabled()Z
-
setEnabled
public void setEnabled(boolean enabled) - Mappings:
Namespace Name Mixin selector official aLmx;a(Z)Vintermediary method_8248Lnet/minecraft/class_2134;method_8248(Z)Vnamed setEnabledLnet/minecraft/server/ServerConfigList;setEnabled(Z)V
-
getFile
- Mappings:
Namespace Name Mixin selector official cLmx;c()Ljava/io/File;intermediary method_8251Lnet/minecraft/class_2134;method_8251()Ljava/io/File;named getFileLnet/minecraft/server/ServerConfigList;getFile()Ljava/io/File;
-
add
- Mappings:
Namespace Name Mixin selector official aLmx;a(Lmw;)Vintermediary method_8247Lnet/minecraft/class_2134;method_8247(Lnet/minecraft/class_2133;)Vnamed addLnet/minecraft/server/ServerConfigList;add(Lnet/minecraft/server/ServerConfigEntry;)V
-
get
- Mappings:
Namespace Name Mixin selector official bLmx;b(Ljava/lang/Object;)Lmw;intermediary method_8250Lnet/minecraft/class_2134;method_8250(Ljava/lang/Object;)Lnet/minecraft/class_2133;named getLnet/minecraft/server/ServerConfigList;get(Ljava/lang/Object;)Lnet/minecraft/server/ServerConfigEntry;
-
remove
- Mappings:
Namespace Name Mixin selector official cLmx;c(Ljava/lang/Object;)Vintermediary method_8252Lnet/minecraft/class_2134;method_8252(Ljava/lang/Object;)Vnamed removeLnet/minecraft/server/ServerConfigList;remove(Ljava/lang/Object;)V
-
getNames
- Mappings:
Namespace Name Mixin selector official aLmx;a()[Ljava/lang/String;intermediary method_8244Lnet/minecraft/class_2134;method_8244()[Ljava/lang/String;named getNamesLnet/minecraft/server/ServerConfigList;getNames()[Ljava/lang/String;
-
isEmpty
- Mappings:
Namespace Name Mixin selector official dLmx;d()Zintermediary method_8253Lnet/minecraft/class_2134;method_8253()Znamed isEmptyLnet/minecraft/server/ServerConfigList;isEmpty()Z
-
toString
- Mappings:
Namespace Name Mixin selector official aLmx;a(Ljava/lang/Object;)Ljava/lang/String;intermediary method_8246Lnet/minecraft/class_2134;method_8246(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 dLmx;d(Ljava/lang/Object;)Zintermediary method_8254Lnet/minecraft/class_2134;method_8254(Ljava/lang/Object;)Znamed containsLnet/minecraft/server/ServerConfigList;contains(Ljava/lang/Object;)Z
-
removeInvalidEntries
private void removeInvalidEntries()- Mappings:
Namespace Name Mixin selector official hLmx;h()Vintermediary method_8258Lnet/minecraft/class_2134;method_8258()Vnamed removeInvalidEntriesLnet/minecraft/server/ServerConfigList;removeInvalidEntries()V
-
fromJson
- Mappings:
Namespace Name Mixin selector official aLmx;a(Lcom/google/gson/JsonObject;)Lmw;intermediary method_8245Lnet/minecraft/class_2134;method_8245(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2133;named fromJsonLnet/minecraft/server/ServerConfigList;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/server/ServerConfigEntry;
-
values
- Mappings:
Namespace Name Mixin selector official eLmx;e()Ljava/util/Map;intermediary method_8255Lnet/minecraft/class_2134;method_8255()Ljava/util/Map;named valuesLnet/minecraft/server/ServerConfigList;values()Ljava/util/Map;
-
save
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official fLmx;f()Vintermediary method_8256Lnet/minecraft/class_2134;method_8256()Vnamed saveLnet/minecraft/server/ServerConfigList;save()V
-
load
- Throws:
FileNotFoundException- Mappings:
Namespace Name Mixin selector official gLmx;g()Vintermediary method_8257Lnet/minecraft/class_2134;method_8257()Vnamed loadLnet/minecraft/server/ServerConfigList;load()V
-