Class OpEntry

java.lang.Object
net.minecraft.server.management.UserListEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.management.OpEntry

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

      private static com.mojang.authlib.GameProfile createGameProfile(com.google.gson.JsonObject p_152643_0_)