类 UserBanListEntry

java.lang.Object
net.minecraft.server.players.StoredUserEntry<T>
net.minecraft.server.players.BanListEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.players.UserBanListEntry

public class UserBanListEntry extends BanListEntry<com.mojang.authlib.GameProfile>
  • 构造器详细资料

    • UserBanListEntry

      public UserBanListEntry(com.mojang.authlib.GameProfile pUser)
    • UserBanListEntry

      public UserBanListEntry(com.mojang.authlib.GameProfile pProfile, @Nullable Date pCreated, @Nullable String pSource, @Nullable Date pExpires, @Nullable String pReason)
    • UserBanListEntry

      public UserBanListEntry(com.google.gson.JsonObject pEntryData)
  • 方法详细资料

    • serialize

      protected void serialize(com.google.gson.JsonObject pData)
      覆盖:
      serialize 在类中 BanListEntry<com.mojang.authlib.GameProfile>
    • getDisplayName

      public Component getDisplayName()
      指定者:
      getDisplayName 在类中 BanListEntry<com.mojang.authlib.GameProfile>
    • createGameProfile

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