Package net.minecraft.server.players
Class ServerOpListEntry
java.lang.Object
net.minecraft.server.players.StoredUserEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.players.ServerOpListEntry
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final int
-
Constructor Summary
ConstructorDescriptionServerOpListEntry
(com.google.gson.JsonObject p_11358_) ServerOpListEntry
(com.mojang.authlib.GameProfile p_11360_, int p_11361_, boolean p_11362_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.authlib.GameProfile
createGameProfile
(com.google.gson.JsonObject p_11368_) boolean
int
getLevel()
protected void
serialize
(com.google.gson.JsonObject p_11365_) Methods inherited from class net.minecraft.server.players.StoredUserEntry
getUser, hasExpired
-
Field Details
-
level
private final int level -
bypassesPlayerLimit
private final boolean bypassesPlayerLimit
-
-
Constructor Details
-
ServerOpListEntry
public ServerOpListEntry(com.mojang.authlib.GameProfile p_11360_, int p_11361_, boolean p_11362_) -
ServerOpListEntry
public ServerOpListEntry(com.google.gson.JsonObject p_11358_)
-
-
Method Details
-
getLevel
public int getLevel() -
getBypassesPlayerLimit
public boolean getBypassesPlayerLimit() -
serialize
protected void serialize(com.google.gson.JsonObject p_11365_) - Specified by:
serialize
in classStoredUserEntry<com.mojang.authlib.GameProfile>
-
createGameProfile
@Nullable private static com.mojang.authlib.GameProfile createGameProfile(com.google.gson.JsonObject p_11368_)
-