Class ServerConfigEntry<T>

java.lang.Object
net.minecraft.server.ServerConfigEntry<T>
Direct Known Subclasses:
BanEntry, OperatorEntry, WhitelistEntry

public abstract class ServerConfigEntry<T> extends Object
Mappings:
Namespace Name
official ael
intermediary net/minecraft/class_3330
named net/minecraft/server/ServerConfigEntry
  • Field Details

    • key

      @Nullable private final T key
      Mappings:
      Namespace Name Mixin selector
      official a Lael;a:Ljava/lang/Object;
      intermediary field_14368 Lnet/minecraft/class_3330;field_14368:Ljava/lang/Object;
      named key Lnet/minecraft/server/ServerConfigEntry;key:Ljava/lang/Object;
  • Constructor Details

    • ServerConfigEntry

      public ServerConfigEntry(@Nullable T key)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lael;<init>(Ljava/lang/Object;)V
      intermediary <init> Lnet/minecraft/class_3330;<init>(Ljava/lang/Object;)V
      named <init> Lnet/minecraft/server/ServerConfigEntry;<init>(Ljava/lang/Object;)V
  • Method Details

    • getKey

      @Nullable T getKey()
      Mappings:
      Namespace Name Mixin selector
      official g Lael;g()Ljava/lang/Object;
      intermediary method_14626 Lnet/minecraft/class_3330;method_14626()Ljava/lang/Object;
      named getKey Lnet/minecraft/server/ServerConfigEntry;getKey()Ljava/lang/Object;
    • isInvalid

      boolean isInvalid()
      Mappings:
      Namespace Name Mixin selector
      official f Lael;f()Z
      intermediary method_14627 Lnet/minecraft/class_3330;method_14627()Z
      named isInvalid Lnet/minecraft/server/ServerConfigEntry;isInvalid()Z
    • fromJson

      protected abstract void fromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official a Lael;a(Lcom/google/gson/JsonObject;)V
      intermediary method_24896 Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)V
      named fromJson Lnet/minecraft/server/ServerConfigEntry;fromJson(Lcom/google/gson/JsonObject;)V