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 lzintermediary net/minecraft/class_1658named net/minecraft/server/OperatorEntry
-
Field Summary
Fields Modifier and Type Field Description private booleanbypassPlayerLimitprivate intpermissionLevel -
Constructor Summary
Constructors Constructor Description OperatorEntry(JsonObject jsonObject)OperatorEntry(com.mojang.authlib.GameProfile profile, int permissionLevel, boolean bypassPlayerLimit) -
Method Summary
Modifier and Type Method Description booleancanBypassPlayerLimit()intgetPermissionLevel()private static com.mojang.authlib.GameProfilegetProfileFromJson(JsonObject json)protected voidserialize(JsonObject jsonObject)Methods inherited from class net.minecraft.server.ServerConfigEntry
getKey, isInvalid
-
Field Details
-
permissionLevel
private final int permissionLevel- Mappings:
Namespace Name Mixin selector official aLlz;a:Iintermediary field_6831Lnet/minecraft/class_1658;field_6831:Inamed permissionLevelLnet/minecraft/server/OperatorEntry;permissionLevel:I
-
bypassPlayerLimit
private final boolean bypassPlayerLimit- Mappings:
Namespace Name Mixin selector official bLlz;b:Zintermediary field_6832Lnet/minecraft/class_1658;field_6832:Znamed bypassPlayerLimitLnet/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)Vintermediary <init>Lnet/minecraft/class_1658;<init>(Lcom/mojang/authlib/GameProfile;IZ)Vnamed <init>Lnet/minecraft/server/OperatorEntry;<init>(Lcom/mojang/authlib/GameProfile;IZ)V
-
OperatorEntry
- Mappings:
Namespace Name Mixin selector official <init>Llz;<init>(Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_1658;<init>(Lcom/google/gson/JsonObject;)Vnamed <init>Lnet/minecraft/server/OperatorEntry;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
getPermissionLevel
public int getPermissionLevel()- Mappings:
Namespace Name Mixin selector official aLlz;a()Iintermediary method_6252Lnet/minecraft/class_1658;method_6252()Inamed getPermissionLevelLnet/minecraft/server/OperatorEntry;getPermissionLevel()I
-
canBypassPlayerLimit
public boolean canBypassPlayerLimit()- Mappings:
Namespace Name Mixin selector official bLlz;b()Zintermediary method_6253Lnet/minecraft/class_1658;method_6253()Znamed canBypassPlayerLimitLnet/minecraft/server/OperatorEntry;canBypassPlayerLimit()Z
-
serialize
- Overrides:
serializein classServerConfigEntry<com.mojang.authlib.GameProfile>- Mappings:
Namespace Name Mixin selector official aLma;a(Lcom/google/gson/JsonObject;)Vintermediary method_6264Lnet/minecraft/class_1660;method_6264(Lcom/google/gson/JsonObject;)Vnamed serializeLnet/minecraft/server/ServerConfigEntry;serialize(Lcom/google/gson/JsonObject;)V
-
getProfileFromJson
- Mappings:
Namespace Name Mixin selector official bLlz;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;intermediary method_6254Lnet/minecraft/class_1658;method_6254(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;named getProfileFromJsonLnet/minecraft/server/OperatorEntry;getProfileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
-