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
named net/minecraft/server/ServerConfigEntry
intermediary net/minecraft/class_3330
official avh
  • Field Details

    • key

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

    • ServerConfigEntry

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

    • getKey

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

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

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