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
named net/minecraft/server/ServerConfigList
intermediary net/minecraft/class_3331
official awn
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/ServerConfigList;LOGGER:Lorg/slf4j/Logger;
      intermediary field_14373 Lnet/minecraft/class_3331;field_14373:Lorg/slf4j/Logger;
      official a Lawn;a:Lorg/slf4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      named GSON Lnet/minecraft/server/ServerConfigList;GSON:Lcom/google/gson/Gson;
      intermediary field_14374 Lnet/minecraft/class_3331;field_14374:Lcom/google/gson/Gson;
      official b Lawn;b:Lcom/google/gson/Gson;
    • file

      private final File file
      Mappings:
      Namespace Name Mixin selector
      named file Lnet/minecraft/server/ServerConfigList;file:Ljava/io/File;
      intermediary field_14370 Lnet/minecraft/class_3331;field_14370:Ljava/io/File;
      official c Lawn;c:Ljava/io/File;
    • map

      private final Map<String,V extends ServerConfigEntry<K>> map
      Mappings:
      Namespace Name Mixin selector
      named map Lnet/minecraft/server/ServerConfigList;map:Ljava/util/Map;
      intermediary field_14371 Lnet/minecraft/class_3331;field_14371:Ljava/util/Map;
      official d Lawn;d:Ljava/util/Map;
  • Constructor Details

    • ServerConfigList

      public ServerConfigList(File file)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/ServerConfigList;<init>(Ljava/io/File;)V
      intermediary <init> Lnet/minecraft/class_3331;<init>(Ljava/io/File;)V
      official <init> Lawn;<init>(Ljava/io/File;)V
  • Method Details

    • getFile

      public File getFile()
      Mappings:
      Namespace Name Mixin selector
      named getFile Lnet/minecraft/server/ServerConfigList;getFile()Ljava/io/File;
      intermediary method_14643 Lnet/minecraft/class_3331;method_14643()Ljava/io/File;
      official b Lawn;b()Ljava/io/File;
    • add

      public void add(V entry)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/server/ServerConfigList;add(Lnet/minecraft/server/ServerConfigEntry;)V
      intermediary method_14633 Lnet/minecraft/class_3331;method_14633(Lnet/minecraft/class_3330;)V
      official a Lawn;a(Lawm;)V
    • get

      @Nullable public V get(K key)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/server/ServerConfigList;get(Ljava/lang/Object;)Lnet/minecraft/server/ServerConfigEntry;
      intermediary method_14640 Lnet/minecraft/class_3331;method_14640(Ljava/lang/Object;)Lnet/minecraft/class_3330;
      official b Lawn;b(Ljava/lang/Object;)Lawm;
    • remove

      public void remove(K key)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/server/ServerConfigList;remove(Ljava/lang/Object;)V
      intermediary method_14635 Lnet/minecraft/class_3331;method_14635(Ljava/lang/Object;)V
      official c Lawn;c(Ljava/lang/Object;)V
    • remove

      public void remove(ServerConfigEntry<K> entry)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/server/ServerConfigList;remove(Lnet/minecraft/server/ServerConfigEntry;)V
      intermediary method_14638 Lnet/minecraft/class_3331;method_14638(Lnet/minecraft/class_3330;)V
      official b Lawn;b(Lawm;)V
    • getNames

      public String[] getNames()
      Mappings:
      Namespace Name Mixin selector
      named getNames Lnet/minecraft/server/ServerConfigList;getNames()[Ljava/lang/String;
      intermediary method_14636 Lnet/minecraft/class_3331;method_14636()[Ljava/lang/String;
      official a Lawn;a()[Ljava/lang/String;
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/server/ServerConfigList;isEmpty()Z
      intermediary method_14641 Lnet/minecraft/class_3331;method_14641()Z
      official c Lawn;c()Z
    • toString

      protected String toString(K profile)
      Mappings:
      Namespace Name Mixin selector
      named toString Lnet/minecraft/server/ServerConfigList;toString(Ljava/lang/Object;)Ljava/lang/String;
      intermediary method_14634 Lnet/minecraft/class_3331;method_14634(Ljava/lang/Object;)Ljava/lang/String;
      official a Lawn;a(Ljava/lang/Object;)Ljava/lang/String;
    • contains

      protected boolean contains(K k)
      Mappings:
      Namespace Name Mixin selector
      named contains Lnet/minecraft/server/ServerConfigList;contains(Ljava/lang/Object;)Z
      intermediary method_14644 Lnet/minecraft/class_3331;method_14644(Ljava/lang/Object;)Z
      official d Lawn;d(Ljava/lang/Object;)Z
    • removeInvalidEntries

      private void removeInvalidEntries()
      Mappings:
      Namespace Name Mixin selector
      named removeInvalidEntries Lnet/minecraft/server/ServerConfigList;removeInvalidEntries()V
      intermediary method_14631 Lnet/minecraft/class_3331;method_14631()V
      official g Lawn;g()V
    • fromJson

      protected abstract ServerConfigEntry<K> fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      named fromJson Lnet/minecraft/server/ServerConfigList;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/server/ServerConfigEntry;
      intermediary method_14642 Lnet/minecraft/class_3331;method_14642(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3330;
      official a Lawn;a(Lcom/google/gson/JsonObject;)Lawm;
    • values

      public Collection<V> values()
      Mappings:
      Namespace Name Mixin selector
      named values Lnet/minecraft/server/ServerConfigList;values()Ljava/util/Collection;
      intermediary method_14632 Lnet/minecraft/class_3331;method_14632()Ljava/util/Collection;
      official d Lawn;d()Ljava/util/Collection;
    • save

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

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