Class OperatorList

java.lang.Object
net.minecraft.server.ServerConfigList<com.mojang.authlib.GameProfile,OperatorEntry>
net.minecraft.server.OperatorList

public class OperatorList extends ServerConfigList<com.mojang.authlib.GameProfile,OperatorEntry>
Mappings:
Namespace Name
official pm
intermediary net/minecraft/class_2131
named net/minecraft/server/OperatorList
  • Constructor Details

    • OperatorList

      public OperatorList(File file)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpp;<init>(Ljava/io/File;)V
      intermediary <init> Lnet/minecraft/class_2134;<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 jsonObject)
      Overrides:
      fromJson in class ServerConfigList<com.mojang.authlib.GameProfile,OperatorEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Lpp;a(Lcom/google/gson/JsonObject;)Lpo;
      intermediary method_8245 Lnet/minecraft/class_2134;method_8245(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2133;
      named fromJson Lnet/minecraft/server/ServerConfigList;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/server/ServerConfigEntry;
    • getNames

      public String[] getNames()
      Overrides:
      getNames in class ServerConfigList<com.mojang.authlib.GameProfile,OperatorEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Lpp;a()[Ljava/lang/String;
      intermediary method_8244 Lnet/minecraft/class_2134;method_8244()[Ljava/lang/String;
      named getNames Lnet/minecraft/server/ServerConfigList;getNames()[Ljava/lang/String;
    • method_12832

      public int method_12832(com.mojang.authlib.GameProfile gameProfile)
      Mappings:
      Namespace Name Mixin selector
      official a Lpm;a(Lcom/mojang/authlib/GameProfile;)I
      intermediary method_12832 Lnet/minecraft/class_2131;method_12832(Lcom/mojang/authlib/GameProfile;)I
      named method_12832 Lnet/minecraft/server/OperatorList;method_12832(Lcom/mojang/authlib/GameProfile;)I
    • isOp

      public boolean isOp(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official b Lpm;b(Lcom/mojang/authlib/GameProfile;)Z
      intermediary method_10784 Lnet/minecraft/class_2131;method_10784(Lcom/mojang/authlib/GameProfile;)Z
      named isOp Lnet/minecraft/server/OperatorList;isOp(Lcom/mojang/authlib/GameProfile;)Z
    • toString

      protected String toString(com.mojang.authlib.GameProfile gameProfile)
      Overrides:
      toString in class ServerConfigList<com.mojang.authlib.GameProfile,OperatorEntry>
      Mappings:
      Namespace Name Mixin selector
      official c Lpm;c(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
      intermediary method_8239 Lnet/minecraft/class_2131;method_8239(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
      named toString Lnet/minecraft/server/OperatorList;toString(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
    • getOperatorPlayer

      public com.mojang.authlib.GameProfile getOperatorPlayer(String playerName)
      Mappings:
      Namespace Name Mixin selector
      official a Lpm;a(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;
      intermediary method_8238 Lnet/minecraft/class_2131;method_8238(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;
      named getOperatorPlayer Lnet/minecraft/server/OperatorList;getOperatorPlayer(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;