Class Bans

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

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

    • TEMPORARY_TITLE

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

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

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

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

      private static final Text SKIN_DESCRIPTION
      Mappings:
      Namespace Name Mixin selector
      official e Lewz;e:Ltl;
      intermediary field_46011 Lnet/minecraft/class_7588;field_46011:Lnet/minecraft/class_2561;
      named SKIN_DESCRIPTION Lnet/minecraft/client/session/Bans;SKIN_DESCRIPTION:Lnet/minecraft/text/Text;
  • 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
      official a Lewz;a(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Lexc;
      intermediary method_44652 Lnet/minecraft/class_7588;method_44652(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_407;
      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;
    • createSkinBanScreen

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

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

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

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

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

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

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

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