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_299953_, com.mojang.authlib.minecraft.BanDetails p_299893_)
    • createSkinBan

      public static ConfirmLinkScreen createSkinBan(Runnable p_300031_)
    • createNameBan

      public static ConfirmLinkScreen createNameBan(String p_299968_, Runnable p_299926_)
    • getBannedTitle

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

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

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

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

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

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