Class WhitelistEntry

java.lang.Object
net.minecraft.server.ServerConfigEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.WhitelistEntry

public class WhitelistEntry extends ServerConfigEntry<com.mojang.authlib.GameProfile>
Mappings:
Namespace Name
official alt
intermediary net/minecraft/class_3340
named net/minecraft/server/WhitelistEntry
  • Constructor Details

    • WhitelistEntry

      public WhitelistEntry(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lalt;<init>(Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_3340;<init>(Lcom/mojang/authlib/GameProfile;)V
      named <init> Lnet/minecraft/server/WhitelistEntry;<init>(Lcom/mojang/authlib/GameProfile;)V
    • WhitelistEntry

      public WhitelistEntry(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lalt;<init>(Lcom/google/gson/JsonObject;)V
      intermediary <init> Lnet/minecraft/class_3340;<init>(Lcom/google/gson/JsonObject;)V
      named <init> Lnet/minecraft/server/WhitelistEntry;<init>(Lcom/google/gson/JsonObject;)V
  • Method Details

    • write

      protected void write(JsonObject json)
      Specified by:
      write in class ServerConfigEntry<com.mojang.authlib.GameProfile>
      Mappings:
      Namespace Name Mixin selector
      official a Lalo;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
    • profileFromJson

      private static com.mojang.authlib.GameProfile profileFromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official b Lalt;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      intermediary method_14656 Lnet/minecraft/class_3340;method_14656(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      named profileFromJson Lnet/minecraft/server/WhitelistEntry;profileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;