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

    • permissionLevel

      private final int permissionLevel
      Mappings:
      Namespace Name Mixin selector
      official a Laga;a:I
      intermediary field_14366 Lnet/minecraft/class_3327;field_14366:I
      named permissionLevel Lnet/minecraft/server/OperatorEntry;permissionLevel:I
    • bypassPlayerLimit

      private final boolean bypassPlayerLimit
      Mappings:
      Namespace Name Mixin selector
      official b Laga;b:Z
      intermediary field_14367 Lnet/minecraft/class_3327;field_14367: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> Laga;<init>(Lcom/mojang/authlib/GameProfile;IZ)V
      intermediary <init> Lnet/minecraft/class_3327;<init>(Lcom/mojang/authlib/GameProfile;IZ)V
      named <init> Lnet/minecraft/server/OperatorEntry;<init>(Lcom/mojang/authlib/GameProfile;IZ)V
    • OperatorEntry

      public OperatorEntry(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laga;<init>(Lcom/google/gson/JsonObject;)V
      intermediary <init> Lnet/minecraft/class_3327;<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 Laga;a()I
      intermediary method_14623 Lnet/minecraft/class_3327;method_14623()I
      named getPermissionLevel Lnet/minecraft/server/OperatorEntry;getPermissionLevel()I
    • canBypassPlayerLimit

      public boolean canBypassPlayerLimit()
      Mappings:
      Namespace Name Mixin selector
      official b Laga;b()Z
      intermediary method_14622 Lnet/minecraft/class_3327;method_14622()Z
      named canBypassPlayerLimit Lnet/minecraft/server/OperatorEntry;canBypassPlayerLimit()Z
    • write

      protected void write(JsonObject json)
      Specified by:
      write in class ServerConfigEntry<com.mojang.authlib.GameProfile>
      Mappings:
      Namespace Name Mixin selector
      official a Lagc;a(Lcom/google/gson/JsonObject;)V
      intermediary method_24896 Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)V
      named write Lnet/minecraft/server/ServerConfigEntry;write(Lcom/google/gson/JsonObject;)V
    • getProfileFromJson

      @Nullable private static @Nullable com.mojang.authlib.GameProfile getProfileFromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official b Laga;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      intermediary method_14621 Lnet/minecraft/class_3327;method_14621(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      named getProfileFromJson Lnet/minecraft/server/OperatorEntry;getProfileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;