Enum Class AbuseReportReason

java.lang.Object
java.lang.Enum<AbuseReportReason>
net.minecraft.client.report.AbuseReportReason
All Implemented Interfaces:
Serializable, Comparable<AbuseReportReason>, Constable

@Environment(CLIENT) public enum AbuseReportReason extends Enum<AbuseReportReason>
Mappings:
Namespace Name
official ezt
intermediary net/minecraft/class_7573
named net/minecraft/client/report/AbuseReportReason
  • Enum Constant Details

    • FALSE_REPORTING

      public static final AbuseReportReason FALSE_REPORTING
      Mappings:
      Namespace Name Mixin selector
      official a Lezt;a:Lezt;
      intermediary field_39906 Lnet/minecraft/class_7573;field_39906:Lnet/minecraft/class_7573;
      named FALSE_REPORTING Lnet/minecraft/client/report/AbuseReportReason;FALSE_REPORTING:Lnet/minecraft/client/report/AbuseReportReason;
    • HATE_SPEECH

      public static final AbuseReportReason HATE_SPEECH
      Mappings:
      Namespace Name Mixin selector
      official b Lezt;b:Lezt;
      intermediary field_39659 Lnet/minecraft/class_7573;field_39659:Lnet/minecraft/class_7573;
      named HATE_SPEECH Lnet/minecraft/client/report/AbuseReportReason;HATE_SPEECH:Lnet/minecraft/client/report/AbuseReportReason;
    • TERRORISM_OR_VIOLENT_EXTREMISM

      public static final AbuseReportReason TERRORISM_OR_VIOLENT_EXTREMISM
      Mappings:
      Namespace Name Mixin selector
      official c Lezt;c:Lezt;
      intermediary field_39660 Lnet/minecraft/class_7573;field_39660:Lnet/minecraft/class_7573;
      named TERRORISM_OR_VIOLENT_EXTREMISM Lnet/minecraft/client/report/AbuseReportReason;TERRORISM_OR_VIOLENT_EXTREMISM:Lnet/minecraft/client/report/AbuseReportReason;
    • CHILD_SEXUAL_EXPLOITATION_OR_ABUSE

      public static final AbuseReportReason CHILD_SEXUAL_EXPLOITATION_OR_ABUSE
      Mappings:
      Namespace Name Mixin selector
      official d Lezt;d:Lezt;
      intermediary field_39661 Lnet/minecraft/class_7573;field_39661:Lnet/minecraft/class_7573;
      named CHILD_SEXUAL_EXPLOITATION_OR_ABUSE Lnet/minecraft/client/report/AbuseReportReason;CHILD_SEXUAL_EXPLOITATION_OR_ABUSE:Lnet/minecraft/client/report/AbuseReportReason;
    • IMMINENT_HARM

      public static final AbuseReportReason IMMINENT_HARM
      Mappings:
      Namespace Name Mixin selector
      official e Lezt;e:Lezt;
      intermediary field_39662 Lnet/minecraft/class_7573;field_39662:Lnet/minecraft/class_7573;
      named IMMINENT_HARM Lnet/minecraft/client/report/AbuseReportReason;IMMINENT_HARM:Lnet/minecraft/client/report/AbuseReportReason;
    • NON_CONSENSUAL_INTIMATE_IMAGERY

      public static final AbuseReportReason NON_CONSENSUAL_INTIMATE_IMAGERY
      Mappings:
      Namespace Name Mixin selector
      official f Lezt;f:Lezt;
      intermediary field_39663 Lnet/minecraft/class_7573;field_39663:Lnet/minecraft/class_7573;
      named NON_CONSENSUAL_INTIMATE_IMAGERY Lnet/minecraft/client/report/AbuseReportReason;NON_CONSENSUAL_INTIMATE_IMAGERY:Lnet/minecraft/client/report/AbuseReportReason;
    • HARASSMENT_OR_BULLYING

      public static final AbuseReportReason HARASSMENT_OR_BULLYING
      Mappings:
      Namespace Name Mixin selector
      official g Lezt;g:Lezt;
      intermediary field_39664 Lnet/minecraft/class_7573;field_39664:Lnet/minecraft/class_7573;
      named HARASSMENT_OR_BULLYING Lnet/minecraft/client/report/AbuseReportReason;HARASSMENT_OR_BULLYING:Lnet/minecraft/client/report/AbuseReportReason;
    • DEFAMATION_IMPERSONATION_FALSE_INFORMATION

      public static final AbuseReportReason DEFAMATION_IMPERSONATION_FALSE_INFORMATION
      Mappings:
      Namespace Name Mixin selector
      official h Lezt;h:Lezt;
      intermediary field_39666 Lnet/minecraft/class_7573;field_39666:Lnet/minecraft/class_7573;
      named DEFAMATION_IMPERSONATION_FALSE_INFORMATION Lnet/minecraft/client/report/AbuseReportReason;DEFAMATION_IMPERSONATION_FALSE_INFORMATION:Lnet/minecraft/client/report/AbuseReportReason;
    • SELF_HARM_OR_SUICIDE

      public static final AbuseReportReason SELF_HARM_OR_SUICIDE
      Mappings:
      Namespace Name Mixin selector
      official i Lezt;i:Lezt;
      intermediary field_39667 Lnet/minecraft/class_7573;field_39667:Lnet/minecraft/class_7573;
      named SELF_HARM_OR_SUICIDE Lnet/minecraft/client/report/AbuseReportReason;SELF_HARM_OR_SUICIDE:Lnet/minecraft/client/report/AbuseReportReason;
    • ALCOHOL_TOBACCO_DRUGS

      public static final AbuseReportReason ALCOHOL_TOBACCO_DRUGS
      Mappings:
      Namespace Name Mixin selector
      official j Lezt;j:Lezt;
      intermediary field_39670 Lnet/minecraft/class_7573;field_39670:Lnet/minecraft/class_7573;
      named ALCOHOL_TOBACCO_DRUGS Lnet/minecraft/client/report/AbuseReportReason;ALCOHOL_TOBACCO_DRUGS:Lnet/minecraft/client/report/AbuseReportReason;
  • Field Details

    • banReasonId

      private final int banReasonId
      Mappings:
      Namespace Name Mixin selector
      official k Lezt;k:I
      intermediary field_39741 Lnet/minecraft/class_7573;field_39741:I
      named banReasonId Lnet/minecraft/client/report/AbuseReportReason;banReasonId:I
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official l Lezt;l:Ljava/lang/String;
      intermediary field_39671 Lnet/minecraft/class_7573;field_39671:Ljava/lang/String;
      named id Lnet/minecraft/client/report/AbuseReportReason;id:Ljava/lang/String;
    • reportable

      private final boolean reportable
      Mappings:
      Namespace Name Mixin selector
      official m Lezt;m:Z
      intermediary field_39907 Lnet/minecraft/class_7573;field_39907:Z
      named reportable Lnet/minecraft/client/report/AbuseReportReason;reportable:Z
    • text

      private final Text text
      Mappings:
      Namespace Name Mixin selector
      official n Lezt;n:Lss;
      intermediary field_39672 Lnet/minecraft/class_7573;field_39672:Lnet/minecraft/class_2561;
      named text Lnet/minecraft/client/report/AbuseReportReason;text:Lnet/minecraft/text/Text;
    • description

      private final Text description
      Mappings:
      Namespace Name Mixin selector
      official o Lezt;o:Lss;
      intermediary field_39673 Lnet/minecraft/class_7573;field_39673:Lnet/minecraft/class_2561;
      named description Lnet/minecraft/client/report/AbuseReportReason;description:Lnet/minecraft/text/Text;
  • Constructor Details

    • AbuseReportReason

      private AbuseReportReason(int banReasonId, String id, boolean reportable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lezt;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_7573;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
      named <init> Lnet/minecraft/client/report/AbuseReportReason;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
  • Method Details

    • values

      public static AbuseReportReason[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AbuseReportReason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lezt;a()Ljava/lang/String;
      intermediary method_44594 Lnet/minecraft/class_7573;method_44594()Ljava/lang/String;
      named getId Lnet/minecraft/client/report/AbuseReportReason;getId()Ljava/lang/String;
    • getText

      public Text getText()
      Mappings:
      Namespace Name Mixin selector
      official b Lezt;b()Lss;
      intermediary method_44595 Lnet/minecraft/class_7573;method_44595()Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/client/report/AbuseReportReason;getText()Lnet/minecraft/text/Text;
    • getDescription

      public Text getDescription()
      Mappings:
      Namespace Name Mixin selector
      official c Lezt;c()Lss;
      intermediary method_44596 Lnet/minecraft/class_7573;method_44596()Lnet/minecraft/class_2561;
      named getDescription Lnet/minecraft/client/report/AbuseReportReason;getDescription()Lnet/minecraft/text/Text;
    • isReportable

      public boolean isReportable()
      Mappings:
      Namespace Name Mixin selector
      official d Lezt;d()Z
      intermediary method_45032 Lnet/minecraft/class_7573;method_45032()Z
      named isReportable Lnet/minecraft/client/report/AbuseReportReason;isReportable()Z
    • getText

      @Nullable public static @Nullable Text getText(int banReasonId)
      Mappings:
      Namespace Name Mixin selector
      official a Lezt;a(I)Lss;
      intermediary method_44681 Lnet/minecraft/class_7573;method_44681(I)Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/client/report/AbuseReportReason;getText(I)Lnet/minecraft/text/Text;