类 ServerConfigList<K,​V extends ServerConfigEntry<K>>

    • 字段详细资料

      • LOGGER

        protected static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Laee;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 Laee;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 Laee;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 Laee;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;
    • 构造器详细资料

      • ServerConfigList

        public ServerConfigList​(File file)
        Mappings:
        Namespace Name Mixin selector
        official <init> Laee;<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
    • 方法详细资料

      • getFile

        public File getFile()
        Mappings:
        Namespace Name Mixin selector
        official b Laee;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 Laee;a(Laed;)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 Laee;b(Ljava/lang/Object;)Laed;
        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 Laee;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 Laee;b(Laed;)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 Laee;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 Laee;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 Laee;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 Laee;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 Laee;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 Laee;a(Lcom/google/gson/JsonObject;)Laed;
        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 Laee;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
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official e Laee;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
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official f Laee;f()V
        intermediary method_14630 Lnet/minecraft/class_3331;method_14630()V
        named load Lnet/minecraft/server/ServerConfigList;load()V