Class Bans

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

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

    • JAVA_MODERATION_URL

      public static final String JAVA_MODERATION_URL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lent;a:Ljava/lang/String;
      intermediary field_39719 Lnet/minecraft/class_7588;field_39719:Ljava/lang/String;
      named JAVA_MODERATION_URL Lnet/minecraft/client/network/Bans;JAVA_MODERATION_URL:Ljava/lang/String;
    • TEMPORARY_TITLE

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

      private static final Text PERMANENT_TITLE
      Mappings:
      Namespace Name Mixin selector
      official c Lent;c:Lss;
      intermediary field_39721 Lnet/minecraft/class_7588;field_39721:Lnet/minecraft/class_2561;
      named PERMANENT_TITLE Lnet/minecraft/client/network/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 Lent;a(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/authlib/minecraft/BanDetails;)Lenw;
      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/network/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 Lent;a(Lcom/mojang/authlib/minecraft/BanDetails;)Lss;
      intermediary method_44651 Lnet/minecraft/class_7588;method_44651(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getTitle Lnet/minecraft/client/network/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 Lent;b(Lcom/mojang/authlib/minecraft/BanDetails;)Lss;
      intermediary method_44653 Lnet/minecraft/class_7588;method_44653(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getDescriptionText Lnet/minecraft/client/network/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 Lent;c(Lcom/mojang/authlib/minecraft/BanDetails;)Lss;
      intermediary method_44654 Lnet/minecraft/class_7588;method_44654(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getReasonText Lnet/minecraft/client/network/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 Lent;d(Lcom/mojang/authlib/minecraft/BanDetails;)Lss;
      intermediary method_44655 Lnet/minecraft/class_7588;method_44655(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getDurationText Lnet/minecraft/client/network/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 Lent;e(Lcom/mojang/authlib/minecraft/BanDetails;)Lss;
      intermediary method_44656 Lnet/minecraft/class_7588;method_44656(Lcom/mojang/authlib/minecraft/BanDetails;)Lnet/minecraft/class_2561;
      named getTemporaryBanDurationText Lnet/minecraft/client/network/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 Lent;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/network/Bans;isTemporary(Lcom/mojang/authlib/minecraft/BanDetails;)Z