Class BanNoticeScreens

java.lang.Object
net.minecraft.client.gui.screens.BanNoticeScreens

public class BanNoticeScreens extends Object
  • Field Details

    • TEMPORARY_BAN_TITLE

      private static final Component TEMPORARY_BAN_TITLE
    • PERMANENT_BAN_TITLE

      private static final Component PERMANENT_BAN_TITLE
    • NAME_BAN_TITLE

      public static final Component NAME_BAN_TITLE
    • SKIN_BAN_TITLE

      private static final Component SKIN_BAN_TITLE
    • SKIN_BAN_DESCRIPTION

      private static final Component SKIN_BAN_DESCRIPTION
  • Constructor Details

    • BanNoticeScreens

      public BanNoticeScreens()
  • Method Details

    • create

      public static ConfirmLinkScreen create(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_299994_, com.mojang.authlib.minecraft.BanDetails p_297408_)
    • createSkinBan

      public static ConfirmLinkScreen createSkinBan(Runnable p_300032_)
    • createNameBan

      public static ConfirmLinkScreen createNameBan(String p_300838_, Runnable p_297249_)
    • getBannedTitle

      private static Component getBannedTitle(com.mojang.authlib.minecraft.BanDetails p_299452_)
    • getBannedScreenText

      private static Component getBannedScreenText(com.mojang.authlib.minecraft.BanDetails p_299903_)
    • getBanReasonText

      private static Component getBanReasonText(com.mojang.authlib.minecraft.BanDetails p_298548_)
    • getBanStatusText

      private static Component getBanStatusText(com.mojang.authlib.minecraft.BanDetails p_298190_)
    • getBanDurationText

      private static Component getBanDurationText(com.mojang.authlib.minecraft.BanDetails p_300603_)
    • isTemporaryBan

      private static boolean isTemporaryBan(com.mojang.authlib.minecraft.BanDetails p_300637_)