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_1658
named net/minecraft/server/OperatorEntry
  • Field Details

    • permissionLevel

      private final int permissionLevel
      Mappings:
      Namespace Name Mixin selector
      official a Llz;a:I
      intermediary field_6831 Lnet/minecraft/class_1658;field_6831: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_6832 Lnet/minecraft/class_1658;field_6832: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_1658;<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_1658;<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_6252 Lnet/minecraft/class_1658;method_6252()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_6253 Lnet/minecraft/class_1658;method_6253()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_6264 Lnet/minecraft/class_1660;method_6264(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_6254 Lnet/minecraft/class_1658;method_6254(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      named getProfileFromJson Lnet/minecraft/server/OperatorEntry;getProfileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;