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 aok
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 Laok;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> Laok;<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 Laok;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 Laok;f()Z
      intermediary method_14627 Lnet/minecraft/class_3330;method_14627()Z
      named isInvalid Lnet/minecraft/server/ServerConfigEntry;isInvalid()Z
    • write

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