Package net.minecraft.server
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 adm
intermediary net/minecraft/class_3327
named net/minecraft/server/OperatorEntry
-
Field Summary
Fields Modifier and Type Field Description private boolean
bypassPlayerLimit
private int
permissionLevel
-
Constructor Summary
Constructors Constructor Description OperatorEntry(JsonObject json)
OperatorEntry(com.mojang.authlib.GameProfile profile, int permissionLevel, boolean bypassPlayerLimit)
-
Method Summary
Modifier and Type Method Description boolean
canBypassPlayerLimit()
protected void
fromJson(JsonObject json)
int
getPermissionLevel()
private static com.mojang.authlib.GameProfile
getProfileFromJson(JsonObject json)
Methods inherited from class net.minecraft.server.ServerConfigEntry
getKey, isInvalid
-
Field Details
-
permissionLevel
private final int permissionLevel- Mappings:
Namespace Name Mixin selector official a
Ladm;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
Ladm;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>
Ladm;<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
- Mappings:
Namespace Name Mixin selector official <init>
Ladm;<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
Ladm;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
Ladm;b()Z
intermediary method_14622
Lnet/minecraft/class_3327;method_14622()Z
named canBypassPlayerLimit
Lnet/minecraft/server/OperatorEntry;canBypassPlayerLimit()Z
-
fromJson
- Specified by:
fromJson
in classServerConfigEntry<com.mojang.authlib.GameProfile>
- Mappings:
Namespace Name Mixin selector official a
Ladn;a(Lcom/google/gson/JsonObject;)V
intermediary method_24896
Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)V
named fromJson
Lnet/minecraft/server/ServerConfigEntry;fromJson(Lcom/google/gson/JsonObject;)V
-
getProfileFromJson
- Mappings:
Namespace Name Mixin selector official b
Ladm;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;
-