Class ServerConfigList<K,V extends ServerConfigEntry<K>>

java.lang.Object
net.minecraft.server.ServerConfigList<K,V>
Direct Known Subclasses:
BannedIpList, BannedPlayerList, OperatorList, Whitelist

public abstract class ServerConfigList<K,V extends ServerConfigEntry<K>> extends Object
Mappings:
Namespace Name
official aem
intermediary net/minecraft/class_3331
named net/minecraft/server/ServerConfigList
  • Field Details

    • LOGGER

      protected static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Laem;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_14373 Lnet/minecraft/class_3331;field_14373:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/ServerConfigList;LOGGER:Lorg/apache/logging/log4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official b Laem;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

      private final File file
      Mappings:
      Namespace Name Mixin selector
      official c Laem;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

      private final Map<String,V extends ServerConfigEntry<K>> map
      Mappings:
      Namespace Name Mixin selector
      official d Laem;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

      public ServerConfigList(File file)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laem;<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

      public File getFile()
      Mappings:
      Namespace Name Mixin selector
      official b Laem;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

      public void add(V entry)
      Mappings:
      Namespace Name Mixin selector
      official a Laem;a(Lael;)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

      @Nullable public V get(K key)
      Mappings:
      Namespace Name Mixin selector
      official b Laem;b(Ljava/lang/Object;)Lael;
      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

      public void remove(K key)
      Mappings:
      Namespace Name Mixin selector
      official c Laem;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

      public void remove(ServerConfigEntry<K> entry)
      Mappings:
      Namespace Name Mixin selector
      official b Laem;b(Lael;)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

      public String[] getNames()
      Mappings:
      Namespace Name Mixin selector
      official a Laem;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 Laem;c()Z
      intermediary method_14641 Lnet/minecraft/class_3331;method_14641()Z
      named isEmpty Lnet/minecraft/server/ServerConfigList;isEmpty()Z
    • toString

      protected String toString(K profile)
      Mappings:
      Namespace Name Mixin selector
      official a Laem;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

      protected boolean contains(K k)
      Mappings:
      Namespace Name Mixin selector
      official d Laem;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 Laem;g()V
      intermediary method_14631 Lnet/minecraft/class_3331;method_14631()V
      named removeInvalidEntries Lnet/minecraft/server/ServerConfigList;removeInvalidEntries()V
    • fromJson

      protected abstract ServerConfigEntry<K> fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Laem;a(Lcom/google/gson/JsonObject;)Lael;
      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

      public Collection<V> values()
      Mappings:
      Namespace Name Mixin selector
      official d Laem;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

      public void save() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official e Laem;e()V
      intermediary method_14629 Lnet/minecraft/class_3331;method_14629()V
      named save Lnet/minecraft/server/ServerConfigList;save()V
    • load

      public void load() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official f Laem;f()V
      intermediary method_14630 Lnet/minecraft/class_3331;method_14630()V
      named load Lnet/minecraft/server/ServerConfigList;load()V