Class 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>
  • Constructor Details

    • UserBanListEntry

      public UserBanListEntry(@Nullable com.mojang.authlib.GameProfile p_11436_)
    • UserBanListEntry

      public UserBanListEntry(@Nullable com.mojang.authlib.GameProfile p_11438_, @Nullable Date p_11439_, @Nullable String p_11440_, @Nullable Date p_11441_, @Nullable String p_11442_)
    • UserBanListEntry

      public UserBanListEntry(com.google.gson.JsonObject p_11434_)
  • Method Details

    • serialize

      protected void serialize(com.google.gson.JsonObject p_11444_)
      Overrides:
      serialize in class BanListEntry<com.mojang.authlib.GameProfile>
    • getDisplayName

      public Component getDisplayName()
      Specified by:
      getDisplayName in class BanListEntry<com.mojang.authlib.GameProfile>
    • createGameProfile

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