Class OperatorEntry

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

public class OperatorEntry extends ServerConfigEntry<com.mojang.authlib.GameProfile>
Mappings:
Namespace Name
official lz
intermediary net/minecraft/class_2132
named net/minecraft/server/OperatorEntry
  • Field Details

    • permissionLevel

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

      private final boolean bypassPlayerLimit
      Mappings:
      Namespace Name Mixin selector
      official b Llz;b:Z
      intermediary field_11788 Lnet/minecraft/class_2132;field_11788:Z
      named bypassPlayerLimit Lnet/minecraft/server/OperatorEntry;bypassPlayerLimit:Z
  • Constructor Details

    • OperatorEntry

      public OperatorEntry(com.mojang.authlib.GameProfile profile, int permissionLevel, boolean bypassPlayerLimit)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llz;<init>(Lcom/mojang/authlib/GameProfile;IZ)V
      intermediary <init> Lnet/minecraft/class_2132;<init>(Lcom/mojang/authlib/GameProfile;IZ)V
      named <init> Lnet/minecraft/server/OperatorEntry;<init>(Lcom/mojang/authlib/GameProfile;IZ)V
    • OperatorEntry

      public OperatorEntry(JsonObject jsonObject)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llz;<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 Llz;a()I
      intermediary method_8240 Lnet/minecraft/class_2132;method_8240()I
      named getPermissionLevel Lnet/minecraft/server/OperatorEntry;getPermissionLevel()I
    • canBypassPlayerLimit

      public boolean canBypassPlayerLimit()
      Mappings:
      Namespace Name Mixin selector
      official b Llz;b()Z
      intermediary method_10785 Lnet/minecraft/class_2132;method_10785()Z
      named canBypassPlayerLimit Lnet/minecraft/server/OperatorEntry;canBypassPlayerLimit()Z
    • serialize

      protected void serialize(JsonObject jsonObject)
      Overrides:
      serialize in class ServerConfigEntry<com.mojang.authlib.GameProfile>
      Mappings:
      Namespace Name Mixin selector
      official a Lma;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 Llz;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;