Class BannedPlayerList

java.lang.Object
net.minecraft.server.ServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
net.minecraft.server.BannedPlayerList

public class BannedPlayerList extends ServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
Mappings:
Namespace Name
official ain
intermediary net/minecraft/class_3335
named net/minecraft/server/BannedPlayerList
  • Constructor Details

    • BannedPlayerList

      public BannedPlayerList(File file)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laim;<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,BannedPlayerEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Laim;a(Lcom/google/gson/JsonObject;)Lail;
      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;
    • contains

      public boolean contains(com.mojang.authlib.GameProfile profile)
      Overrides:
      contains in class ServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Lain;a(Lcom/mojang/authlib/GameProfile;)Z
      intermediary method_14650 Lnet/minecraft/class_3335;method_14650(Lcom/mojang/authlib/GameProfile;)Z
      named contains Lnet/minecraft/server/BannedPlayerList;contains(Lcom/mojang/authlib/GameProfile;)Z
    • getNames

      public String[] getNames()
      Overrides:
      getNames in class ServerConfigList<com.mojang.authlib.GameProfile,BannedPlayerEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Laim;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,BannedPlayerEntry>
      Mappings:
      Namespace Name Mixin selector
      official b Lain;b(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
      intermediary method_14649 Lnet/minecraft/class_3335;method_14649(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
      named toString Lnet/minecraft/server/BannedPlayerList;toString(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;