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 almintermediary net/minecraft/class_3327named net/minecraft/server/OperatorEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionOperatorEntry(JsonObject json) OperatorEntry(com.mojang.authlib.GameProfile profile, int permissionLevel, boolean bypassPlayerLimit) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintprivate static @Nullable com.mojang.authlib.GameProfilegetProfileFromJson(JsonObject json) protected voidwrite(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 aLalm;a:Iintermediary field_14366Lnet/minecraft/class_3327;field_14366:Inamed permissionLevelLnet/minecraft/server/OperatorEntry;permissionLevel:I
-
bypassPlayerLimit
private final boolean bypassPlayerLimit- Mappings:
Namespace Name Mixin selector official bLalm;b:Zintermediary field_14367Lnet/minecraft/class_3327;field_14367: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>Lalm;<init>(Lcom/mojang/authlib/GameProfile;IZ)Vintermediary <init>Lnet/minecraft/class_3327;<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>Lalm;<init>(Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_3327;<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 aLalm;a()Iintermediary method_14623Lnet/minecraft/class_3327;method_14623()Inamed getPermissionLevelLnet/minecraft/server/OperatorEntry;getPermissionLevel()I
-
canBypassPlayerLimit
public boolean canBypassPlayerLimit()- Mappings:
Namespace Name Mixin selector official bLalm;b()Zintermediary method_14622Lnet/minecraft/class_3327;method_14622()Znamed canBypassPlayerLimitLnet/minecraft/server/OperatorEntry;canBypassPlayerLimit()Z
-
write
- Specified by:
writein classServerConfigEntry<com.mojang.authlib.GameProfile>- Mappings:
Namespace Name Mixin selector official aLalo;a(Lcom/google/gson/JsonObject;)Vintermediary method_24896Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)Vnamed writeLnet/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 bLalm;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;intermediary method_14621Lnet/minecraft/class_3327;method_14621(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;named getProfileFromJsonLnet/minecraft/server/OperatorEntry;getProfileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
-