Class ServerOpListEntry

java.lang.Object
net.minecraft.server.players.StoredUserEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.players.ServerOpListEntry

public class ServerOpListEntry extends StoredUserEntry<com.mojang.authlib.GameProfile>
  • 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 class StoredUserEntry<com.mojang.authlib.GameProfile>
    • createGameProfile

      @Nullable private static com.mojang.authlib.GameProfile createGameProfile(com.google.gson.JsonObject p_11368_)