Class OperatorEntry

java.lang.Object
net.minecraft.server.ServerConfigEntry
net.minecraft.server.OperatorEntry

public class OperatorEntry extends ServerConfigEntry
Mappings:
Namespace Name
official sq
intermediary net/minecraft/class_2132
named net/minecraft/server/OperatorEntry
  • Field Details

    • permissionLevel

      private final int permissionLevel
      Mappings:
      Namespace Name Mixin selector
      official a Lsq;a:I
      intermediary field_9012 Lnet/minecraft/class_2132;field_9012:I
      named permissionLevel Lnet/minecraft/server/OperatorEntry;permissionLevel:I
  • Constructor Details

    • OperatorEntry

      public OperatorEntry(com.mojang.authlib.GameProfile gameProfile, int int2)
    • OperatorEntry

      public OperatorEntry(JsonObject jsonObject)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsq;<init>(Lcom/google/gson/JsonObject;)V
      intermediary <init> Lnet/minecraft/class_2132;<init>(Lcom/google/gson/JsonObject;)V
      named <init> Lnet/minecraft/server/OperatorEntry;<init>(Lcom/google/gson/JsonObject;)V
  • Method Details

    • getPermissionLevel

      public int getPermissionLevel()
      Mappings:
      Namespace Name Mixin selector
      official a Lsq;a()I
      intermediary method_8240 Lnet/minecraft/class_2132;method_8240()I
      named getPermissionLevel Lnet/minecraft/server/OperatorEntry;getPermissionLevel()I
    • serialize

      protected void serialize(JsonObject jsonObject)
      Overrides:
      serialize in class ServerConfigEntry
      Mappings:
      Namespace Name Mixin selector
      official a Lsr;a(Lcom/google/gson/JsonObject;)V
      intermediary method_8242 Lnet/minecraft/class_2133;method_8242(Lcom/google/gson/JsonObject;)V
      named serialize Lnet/minecraft/server/ServerConfigEntry;serialize(Lcom/google/gson/JsonObject;)V
    • getProfileFromJson

      private static com.mojang.authlib.GameProfile getProfileFromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official b Lsq;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      intermediary method_8241 Lnet/minecraft/class_2132;method_8241(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      named getProfileFromJson Lnet/minecraft/server/OperatorEntry;getProfileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;