类 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 aebintermediary net/minecraft/class_3327named net/minecraft/server/OperatorEntry
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanbypassPlayerLimitprivate intpermissionLevel
-
构造器概要
构造器 构造器 说明 OperatorEntry(JsonObject json)OperatorEntry(com.mojang.authlib.GameProfile profile, int permissionLevel, boolean bypassPlayerLimit)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanBypassPlayerLimit()protected voidfromJson(JsonObject json)intgetPermissionLevel()private static @Nullable com.mojang.authlib.GameProfilegetProfileFromJson(JsonObject json)-
从类继承的方法 net.minecraft.server.ServerConfigEntry
getKey, isInvalid
-
-
-
-
字段详细资料
-
permissionLevel
private final int permissionLevel
- Mappings:
Namespace Name Mixin selector official aLaeb;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 bLaeb;b:Zintermediary field_14367Lnet/minecraft/class_3327;field_14367:Znamed bypassPlayerLimitLnet/minecraft/server/OperatorEntry;bypassPlayerLimit:Z
-
-
构造器详细资料
-
OperatorEntry
public OperatorEntry(com.mojang.authlib.GameProfile profile, int permissionLevel, boolean bypassPlayerLimit)- Mappings:
Namespace Name Mixin selector official <init>Laeb;<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
public OperatorEntry(JsonObject json)
- Mappings:
Namespace Name Mixin selector official <init>Laeb;<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
-
-
方法详细资料
-
getPermissionLevel
public int getPermissionLevel()
- Mappings:
Namespace Name Mixin selector official aLaeb;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 bLaeb;b()Zintermediary method_14622Lnet/minecraft/class_3327;method_14622()Znamed canBypassPlayerLimitLnet/minecraft/server/OperatorEntry;canBypassPlayerLimit()Z
-
fromJson
protected void fromJson(JsonObject json)
- 指定者:
fromJson在类中ServerConfigEntry<com.mojang.authlib.GameProfile>- Mappings:
Namespace Name Mixin selector official aLaed;a(Lcom/google/gson/JsonObject;)Vintermediary method_24896Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)Vnamed fromJsonLnet/minecraft/server/ServerConfigEntry;fromJson(Lcom/google/gson/JsonObject;)V
-
getProfileFromJson
@Nullable private static @Nullable com.mojang.authlib.GameProfile getProfileFromJson(JsonObject json)
- Mappings:
Namespace Name Mixin selector official bLaeb;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;
-
-