Class ProfileBanEntry

java.lang.Object
net.minecraft.server.management.UserListEntry<T>
net.minecraft.server.management.BanEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.management.ProfileBanEntry

public class ProfileBanEntry extends BanEntry<com.mojang.authlib.GameProfile>
  • Constructor Details

    • ProfileBanEntry

      public ProfileBanEntry(com.mojang.authlib.GameProfile p_i1134_1_)
    • ProfileBanEntry

      public ProfileBanEntry(com.mojang.authlib.GameProfile p_i1135_1_, @Nullable Date p_i1135_2_, @Nullable String p_i1135_3_, @Nullable Date p_i1135_4_, @Nullable String p_i1135_5_)
    • ProfileBanEntry

      public ProfileBanEntry(com.google.gson.JsonObject p_i1136_1_)
  • Method Details

    • serialize

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

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

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