Class Bans

java.lang.Object
net.minecraft.client.session.Bans

@Environment(CLIENT) public class Bans extends Object
Mappings:
Namespace Name
named net/minecraft/client/session/Bans
intermediary net/minecraft/class_7588
official fls
  • Field Details

    • TEMPORARY_TITLE

      private static final Text TEMPORARY_TITLE
      Mappings:
      Namespace Name Mixin selector
      named TEMPORARY_TITLE Lnet/minecraft/client/session/Bans;TEMPORARY_TITLE:Lnet/minecraft/text/Text;
      intermediary field_39720 Lnet/minecraft/class_7588;field_39720:Lnet/minecraft/class_2561;
      official b Lfls;b:Lxp;
    • PERMANENT_TITLE

      private static final Text PERMANENT_TITLE
      Mappings:
      Namespace Name Mixin selector
      named PERMANENT_TITLE Lnet/minecraft/client/session/Bans;PERMANENT_TITLE:Lnet/minecraft/text/Text;
      intermediary field_39721 Lnet/minecraft/class_7588;field_39721:Lnet/minecraft/class_2561;
      official c Lfls;c:Lxp;
    • NAME_TITLE

      public static final Text NAME_TITLE
      Mappings:
      Namespace Name Mixin selector
      named NAME_TITLE Lnet/minecraft/client/session/Bans;NAME_TITLE:Lnet/minecraft/text/Text;
      intermediary field_46009 Lnet/minecraft/class_7588;field_46009:Lnet/minecraft/class_2561;
      official a Lfls;a:Lxp;
    • SKIN_TITLE

      private static final Text SKIN_TITLE
      Mappings:
      Namespace Name Mixin selector
      named SKIN_TITLE Lnet/minecraft/client/session/Bans;SKIN_TITLE:Lnet/minecraft/text/Text;
      intermediary field_46010 Lnet/minecraft/class_7588;field_46010:Lnet/minecraft/class_2561;
      official d Lfls;d:Lxp;
    • SKIN_DESCRIPTION

      private static final Text SKIN_DESCRIPTION
      Mappings:
      Namespace Name Mixin selector
      named SKIN_DESCRIPTION Lnet/minecraft/client/session/Bans;SKIN_DESCRIPTION:Lnet/minecraft/text/Text;
      intermediary field_46011 Lnet/minecraft/class_7588;field_46011:Lnet/minecraft/class_2561;
      official e Lfls;e:Lxp;
  • Constructor Details

    • Bans

      public Bans()
  • Method Details

    • createBanScreen

      public static ConfirmLinkScreen createBanScreen(BooleanConsumer callback, com.mojang.authlib.minecraft.BanDetails banDetails)
      Mappings:
      Namespace Name Mixin selector
      named createBanScreen Lnet/minecraft/client/session/Bans;createBanScreen(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;
      intermediary method_44652 Lnet/minecraft/class_7588;method_44652(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_407;
      official a Lfls;a(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Lflv;
    • createSkinBanScreen

      public static ConfirmLinkScreen createSkinBanScreen(Runnable onClose)
      Mappings:
      Namespace Name Mixin selector
      named createSkinBanScreen Lnet/minecraft/client/session/Bans;createSkinBanScreen(Ljava/lang/Runnable;)Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;
      intermediary method_53554 Lnet/minecraft/class_7588;method_53554(Ljava/lang/Runnable;)Lnet/minecraft/class_407;
      official a Lfls;a(Ljava/lang/Runnable;)Lflv;
    • createUsernameBanScreen

      public static ConfirmLinkScreen createUsernameBanScreen(String username, Runnable onClose)
      Mappings:
      Namespace Name Mixin selector
      named createUsernameBanScreen Lnet/minecraft/client/session/Bans;createUsernameBanScreen(Ljava/lang/String;Ljava/lang/Runnable;)Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;
      intermediary method_53556 Lnet/minecraft/class_7588;method_53556(Ljava/lang/String;Ljava/lang/Runnable;)Lnet/minecraft/class_407;
      official a Lfls;a(Ljava/lang/String;Ljava/lang/Runnable;)Lflv;
    • getTitle

      private static Text getTitle(com.mojang.authlib.minecraft.BanDetails banDetails)
      Mappings:
      Namespace Name Mixin selector
      named getTitle Lnet/minecraft/client/session/Bans;getTitle(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/text/Text;
      intermediary method_44651 Lnet/minecraft/class_7588;method_44651(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      official a Lfls;a(Lcom/mojang/authlib/minecraft/BanDetails;)Lxp;
    • getDescriptionText

      private static Text getDescriptionText(com.mojang.authlib.minecraft.BanDetails banDetails)
      Mappings:
      Namespace Name Mixin selector
      named getDescriptionText Lnet/minecraft/client/session/Bans;getDescriptionText(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/text/Text;
      intermediary method_44653 Lnet/minecraft/class_7588;method_44653(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      official b Lfls;b(Lcom/mojang/authlib/minecraft/BanDetails;)Lxp;
    • getReasonText

      private static Text getReasonText(com.mojang.authlib.minecraft.BanDetails banDetails)
      Mappings:
      Namespace Name Mixin selector
      named getReasonText Lnet/minecraft/client/session/Bans;getReasonText(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/text/Text;
      intermediary method_44654 Lnet/minecraft/class_7588;method_44654(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      official c Lfls;c(Lcom/mojang/authlib/minecraft/BanDetails;)Lxp;
    • getDurationText

      private static Text getDurationText(com.mojang.authlib.minecraft.BanDetails banDetails)
      Mappings:
      Namespace Name Mixin selector
      named getDurationText Lnet/minecraft/client/session/Bans;getDurationText(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/text/Text;
      intermediary method_44655 Lnet/minecraft/class_7588;method_44655(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      official d Lfls;d(Lcom/mojang/authlib/minecraft/BanDetails;)Lxp;
    • getTemporaryBanDurationText

      private static Text getTemporaryBanDurationText(com.mojang.authlib.minecraft.BanDetails banDetails)
      Mappings:
      Namespace Name Mixin selector
      named getTemporaryBanDurationText Lnet/minecraft/client/session/Bans;getTemporaryBanDurationText(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/text/Text;
      intermediary method_44656 Lnet/minecraft/class_7588;method_44656(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      official e Lfls;e(Lcom/mojang/authlib/minecraft/BanDetails;)Lxp;
    • isTemporary

      private static boolean isTemporary(com.mojang.authlib.minecraft.BanDetails banDetails)
      Mappings:
      Namespace Name Mixin selector
      named isTemporary Lnet/minecraft/client/session/Bans;isTemporary(Lcom/mojang/authlib/minecraft/BanDetails;)Z
      intermediary method_44657 Lnet/minecraft/class_7588;method_44657(Lcom/mojang/authlib/minecraft/BanDetails;)Z
      official f Lfls;f(Lcom/mojang/authlib/minecraft/BanDetails;)Z