Class Whitelist

java.lang.Object
net.minecraft.server.ServerConfigList<com.mojang.authlib.GameProfile,​WhitelistEntry>
net.minecraft.server.Whitelist

public class Whitelist extends ServerConfigList<com.mojang.authlib.GameProfile,​WhitelistEntry>
Mappings:
Namespace Name
official aep
intermediary net/minecraft/class_3337
named net/minecraft/server/Whitelist
  • Constructor Details

    • Whitelist

      public Whitelist(File file)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laem;<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
  • Method Details

    • fromJson

      protected ServerConfigEntry<com.mojang.authlib.GameProfile> fromJson(JsonObject json)
      Specified by:
      fromJson in class ServerConfigList<com.mojang.authlib.GameProfile,​WhitelistEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Laem;a(Lcom/google/gson/JsonObject;)Lael;
      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;
    • isAllowed

      public boolean isAllowed(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Laep;a(Lcom/mojang/authlib/GameProfile;)Z
      intermediary method_14653 Lnet/minecraft/class_3337;method_14653(Lcom/mojang/authlib/GameProfile;)Z
      named isAllowed Lnet/minecraft/server/Whitelist;isAllowed(Lcom/mojang/authlib/GameProfile;)Z
    • getNames

      public String[] getNames()
      Overrides:
      getNames in class ServerConfigList<com.mojang.authlib.GameProfile,​WhitelistEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Laem;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;
    • toString

      protected String toString(com.mojang.authlib.GameProfile gameProfile)
      Overrides:
      toString in class ServerConfigList<com.mojang.authlib.GameProfile,​WhitelistEntry>
      Mappings:
      Namespace Name Mixin selector
      official b Laep;b(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
      intermediary method_14652 Lnet/minecraft/class_3337;method_14652(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
      named toString Lnet/minecraft/server/Whitelist;toString(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;