Class Bans

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

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

    • TEMPORARY_TITLE

      private static final Text TEMPORARY_TITLE
      Mappings:
      Namespace Name Mixin selector
      official a Lesx;a:Lsw;
      intermediary field_39720 Lnet/minecraft/class_7588;field_39720:Lnet/minecraft/class_2561;
      named TEMPORARY_TITLE Lnet/minecraft/client/util/Bans;TEMPORARY_TITLE:Lnet/minecraft/text/Text;
    • PERMANENT_TITLE

      private static final Text PERMANENT_TITLE
      Mappings:
      Namespace Name Mixin selector
      official b Lesx;b:Lsw;
      intermediary field_39721 Lnet/minecraft/class_7588;field_39721:Lnet/minecraft/class_2561;
      named PERMANENT_TITLE Lnet/minecraft/client/util/Bans;PERMANENT_TITLE: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 Lesx;a(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Leta;
      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/util/Bans;createBanScreen(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;
    • getTitle

      private static Text getTitle(com.mojang.authlib.minecraft.BanDetails banDetails)
      Mappings:
      Namespace Name Mixin selector
      official a Lesx;a(Lcom/mojang/authlib/minecraft/BanDetails;)Lsw;
      intermediary method_44651 Lnet/minecraft/class_7588;method_44651(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getTitle Lnet/minecraft/client/util/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 Lesx;b(Lcom/mojang/authlib/minecraft/BanDetails;)Lsw;
      intermediary method_44653 Lnet/minecraft/class_7588;method_44653(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getDescriptionText Lnet/minecraft/client/util/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 Lesx;c(Lcom/mojang/authlib/minecraft/BanDetails;)Lsw;
      intermediary method_44654 Lnet/minecraft/class_7588;method_44654(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getReasonText Lnet/minecraft/client/util/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 Lesx;d(Lcom/mojang/authlib/minecraft/BanDetails;)Lsw;
      intermediary method_44655 Lnet/minecraft/class_7588;method_44655(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getDurationText Lnet/minecraft/client/util/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 Lesx;e(Lcom/mojang/authlib/minecraft/BanDetails;)Lsw;
      intermediary method_44656 Lnet/minecraft/class_7588;method_44656(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getTemporaryBanDurationText Lnet/minecraft/client/util/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 Lesx;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/util/Bans;isTemporary(Lcom/mojang/authlib/minecraft/BanDetails;)Z