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 fmg
  • 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 Lfmg;b:Lwu;
    • 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 Lfmg;c:Lwu;
    • 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 Lfmg;a:Lwu;
    • 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 Lfmg;d:Lwu;
    • 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 Lfmg;e:Lwu;
  • 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 Lfmg;a(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Lfmi;
    • 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 Lfmg;a(Ljava/lang/Runnable;)Lfmi;
    • 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 Lfmg;a(Ljava/lang/String;Ljava/lang/Runnable;)Lfmi;
    • 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 Lfmg;a(Lcom/mojang/authlib/minecraft/BanDetails;)Lwu;
    • 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 Lfmg;b(Lcom/mojang/authlib/minecraft/BanDetails;)Lwu;
    • 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 Lfmg;c(Lcom/mojang/authlib/minecraft/BanDetails;)Lwu;
    • 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 Lfmg;d(Lcom/mojang/authlib/minecraft/BanDetails;)Lwu;
    • 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 Lfmg;e(Lcom/mojang/authlib/minecraft/BanDetails;)Lwu;
    • 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 Lfmg;f(Lcom/mojang/authlib/minecraft/BanDetails;)Z