Package net.minecraft.server.management
Class OpEntry
java.lang.Object
net.minecraft.server.management.UserListEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.management.OpEntry
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.authlib.GameProfile
createGameProfile
(com.google.gson.JsonObject p_152643_0_) boolean
int
getLevel()
protected void
serialize
(com.google.gson.JsonObject p_152641_1_) Methods inherited from class net.minecraft.server.management.UserListEntry
getUser, hasExpired
-
Field Details
-
level
private final int level -
bypassesPlayerLimit
private final boolean bypassesPlayerLimit
-
-
Constructor Details
-
OpEntry
public OpEntry(com.mojang.authlib.GameProfile p_i46492_1_, int p_i46492_2_, boolean p_i46492_3_) -
OpEntry
public OpEntry(com.google.gson.JsonObject p_i1150_1_)
-
-
Method Details
-
getLevel
public int getLevel() -
getBypassesPlayerLimit
public boolean getBypassesPlayerLimit() -
serialize
protected void serialize(com.google.gson.JsonObject p_152641_1_) - Specified by:
serialize
in classUserListEntry<com.mojang.authlib.GameProfile>
-
createGameProfile
private static com.mojang.authlib.GameProfile createGameProfile(com.google.gson.JsonObject p_152643_0_)
-