Package net.minecraft.server
Class OperatorEntry
java.lang.Object
net.minecraft.server.ServerConfigEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.OperatorEntry
- Mappings:
Namespace Name official mvintermediary net/minecraft/class_2132named net/minecraft/server/OperatorEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionOperatorEntry(JsonObject jsonObject) OperatorEntry(com.mojang.authlib.GameProfile profile, int permissionLevel, boolean bypassPlayerLimit) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintprivate 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 aLmv;a:Iintermediary field_9012Lnet/minecraft/class_2132;field_9012:Inamed permissionLevelLnet/minecraft/server/OperatorEntry;permissionLevel:I
-
bypassPlayerLimit
private final boolean bypassPlayerLimit- Mappings:
Namespace Name Mixin selector official bLmv;b:Zintermediary field_11788Lnet/minecraft/class_2132;field_11788: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>Lmv;<init>(Lcom/mojang/authlib/GameProfile;IZ)Vintermediary <init>Lnet/minecraft/class_2132;<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>Lmv;<init>(Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_2132;<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 aLmv;a()Iintermediary method_8240Lnet/minecraft/class_2132;method_8240()Inamed getPermissionLevelLnet/minecraft/server/OperatorEntry;getPermissionLevel()I
-
canBypassPlayerLimit
public boolean canBypassPlayerLimit()- Mappings:
Namespace Name Mixin selector official bLmv;b()Zintermediary method_10785Lnet/minecraft/class_2132;method_10785()Znamed canBypassPlayerLimitLnet/minecraft/server/OperatorEntry;canBypassPlayerLimit()Z
-
serialize
- Overrides:
serializein classServerConfigEntry<com.mojang.authlib.GameProfile>- Mappings:
Namespace Name Mixin selector official aLmw;a(Lcom/google/gson/JsonObject;)Vintermediary method_8242Lnet/minecraft/class_2133;method_8242(Lcom/google/gson/JsonObject;)Vnamed serializeLnet/minecraft/server/ServerConfigEntry;serialize(Lcom/google/gson/JsonObject;)V
-
getProfileFromJson
- Mappings:
Namespace Name Mixin selector official bLmv;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;intermediary method_8241Lnet/minecraft/class_2132;method_8241(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;named getProfileFromJsonLnet/minecraft/server/OperatorEntry;getProfileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
-