Package net.minecraft.client.report
Enum Class AbuseReportReason
- All Implemented Interfaces:
Serializable,Comparable<AbuseReportReason>,Constable
- Mappings:
Namespace Name official evqintermediary net/minecraft/class_7573named net/minecraft/client/report/AbuseReportReason
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAbuseReportReason(int banReasonId, String id, boolean reportable) -
Method Summary
Modifier and TypeMethodDescriptiongetId()getText()getText(int banReasonId) booleanstatic AbuseReportReasonReturns the enum constant of this class with the specified name.static AbuseReportReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FALSE_REPORTING
- Mappings:
Namespace Name Mixin selector official aLevq;a:Levq;intermediary field_39906Lnet/minecraft/class_7573;field_39906:Lnet/minecraft/class_7573;named FALSE_REPORTINGLnet/minecraft/client/report/AbuseReportReason;FALSE_REPORTING:Lnet/minecraft/client/report/AbuseReportReason;
-
HATE_SPEECH
- Mappings:
Namespace Name Mixin selector official bLevq;b:Levq;intermediary field_39659Lnet/minecraft/class_7573;field_39659:Lnet/minecraft/class_7573;named HATE_SPEECHLnet/minecraft/client/report/AbuseReportReason;HATE_SPEECH:Lnet/minecraft/client/report/AbuseReportReason;
-
TERRORISM_OR_VIOLENT_EXTREMISM
- Mappings:
Namespace Name Mixin selector official cLevq;c:Levq;intermediary field_39660Lnet/minecraft/class_7573;field_39660:Lnet/minecraft/class_7573;named TERRORISM_OR_VIOLENT_EXTREMISMLnet/minecraft/client/report/AbuseReportReason;TERRORISM_OR_VIOLENT_EXTREMISM:Lnet/minecraft/client/report/AbuseReportReason;
-
CHILD_SEXUAL_EXPLOITATION_OR_ABUSE
- Mappings:
Namespace Name Mixin selector official dLevq;d:Levq;intermediary field_39661Lnet/minecraft/class_7573;field_39661:Lnet/minecraft/class_7573;named CHILD_SEXUAL_EXPLOITATION_OR_ABUSELnet/minecraft/client/report/AbuseReportReason;CHILD_SEXUAL_EXPLOITATION_OR_ABUSE:Lnet/minecraft/client/report/AbuseReportReason;
-
IMMINENT_HARM
- Mappings:
Namespace Name Mixin selector official eLevq;e:Levq;intermediary field_39662Lnet/minecraft/class_7573;field_39662:Lnet/minecraft/class_7573;named IMMINENT_HARMLnet/minecraft/client/report/AbuseReportReason;IMMINENT_HARM:Lnet/minecraft/client/report/AbuseReportReason;
-
NON_CONSENSUAL_INTIMATE_IMAGERY
- Mappings:
Namespace Name Mixin selector official fLevq;f:Levq;intermediary field_39663Lnet/minecraft/class_7573;field_39663:Lnet/minecraft/class_7573;named NON_CONSENSUAL_INTIMATE_IMAGERYLnet/minecraft/client/report/AbuseReportReason;NON_CONSENSUAL_INTIMATE_IMAGERY:Lnet/minecraft/client/report/AbuseReportReason;
-
HARASSMENT_OR_BULLYING
- Mappings:
Namespace Name Mixin selector official gLevq;g:Levq;intermediary field_39664Lnet/minecraft/class_7573;field_39664:Lnet/minecraft/class_7573;named HARASSMENT_OR_BULLYINGLnet/minecraft/client/report/AbuseReportReason;HARASSMENT_OR_BULLYING:Lnet/minecraft/client/report/AbuseReportReason;
-
DEFAMATION_IMPERSONATION_FALSE_INFORMATION
- Mappings:
Namespace Name Mixin selector official hLevq;h:Levq;intermediary field_39666Lnet/minecraft/class_7573;field_39666:Lnet/minecraft/class_7573;named DEFAMATION_IMPERSONATION_FALSE_INFORMATIONLnet/minecraft/client/report/AbuseReportReason;DEFAMATION_IMPERSONATION_FALSE_INFORMATION:Lnet/minecraft/client/report/AbuseReportReason;
-
SELF_HARM_OR_SUICIDE
- Mappings:
Namespace Name Mixin selector official iLevq;i:Levq;intermediary field_39667Lnet/minecraft/class_7573;field_39667:Lnet/minecraft/class_7573;named SELF_HARM_OR_SUICIDELnet/minecraft/client/report/AbuseReportReason;SELF_HARM_OR_SUICIDE:Lnet/minecraft/client/report/AbuseReportReason;
-
ALCOHOL_TOBACCO_DRUGS
- Mappings:
Namespace Name Mixin selector official jLevq;j:Levq;intermediary field_39670Lnet/minecraft/class_7573;field_39670:Lnet/minecraft/class_7573;named ALCOHOL_TOBACCO_DRUGSLnet/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 kLevq;k:Iintermediary field_39741Lnet/minecraft/class_7573;field_39741:Inamed banReasonIdLnet/minecraft/client/report/AbuseReportReason;banReasonId:I
-
id
- Mappings:
Namespace Name Mixin selector official lLevq;l:Ljava/lang/String;intermediary field_39671Lnet/minecraft/class_7573;field_39671:Ljava/lang/String;named idLnet/minecraft/client/report/AbuseReportReason;id:Ljava/lang/String;
-
reportable
private final boolean reportable- Mappings:
Namespace Name Mixin selector official mLevq;m:Zintermediary field_39907Lnet/minecraft/class_7573;field_39907:Znamed reportableLnet/minecraft/client/report/AbuseReportReason;reportable:Z
-
text
- Mappings:
Namespace Name Mixin selector official nLevq;n:Lrq;intermediary field_39672Lnet/minecraft/class_7573;field_39672:Lnet/minecraft/class_2561;named textLnet/minecraft/client/report/AbuseReportReason;text:Lnet/minecraft/text/Text;
-
description
- Mappings:
Namespace Name Mixin selector official oLevq;o:Lrq;intermediary field_39673Lnet/minecraft/class_7573;field_39673:Lnet/minecraft/class_2561;named descriptionLnet/minecraft/client/report/AbuseReportReason;description:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
AbuseReportReason
- Mappings:
Namespace Name Mixin selector official <init>Levq;<init>(Ljava/lang/String;IILjava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_7573;<init>(Ljava/lang/String;IILjava/lang/String;Z)Vnamed <init>Lnet/minecraft/client/report/AbuseReportReason;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getId
- Mappings:
Namespace Name Mixin selector official aLevq;a()Ljava/lang/String;intermediary method_44594Lnet/minecraft/class_7573;method_44594()Ljava/lang/String;named getIdLnet/minecraft/client/report/AbuseReportReason;getId()Ljava/lang/String;
-
getText
- Mappings:
Namespace Name Mixin selector official bLevq;b()Lrq;intermediary method_44595Lnet/minecraft/class_7573;method_44595()Lnet/minecraft/class_2561;named getTextLnet/minecraft/client/report/AbuseReportReason;getText()Lnet/minecraft/text/Text;
-
getDescription
- Mappings:
Namespace Name Mixin selector official cLevq;c()Lrq;intermediary method_44596Lnet/minecraft/class_7573;method_44596()Lnet/minecraft/class_2561;named getDescriptionLnet/minecraft/client/report/AbuseReportReason;getDescription()Lnet/minecraft/text/Text;
-
isReportable
public boolean isReportable()- Mappings:
Namespace Name Mixin selector official dLevq;d()Zintermediary method_45032Lnet/minecraft/class_7573;method_45032()Znamed isReportableLnet/minecraft/client/report/AbuseReportReason;isReportable()Z
-
getText
- Mappings:
Namespace Name Mixin selector official aLevq;a(I)Lrq;intermediary method_44681Lnet/minecraft/class_7573;method_44681(I)Lnet/minecraft/class_2561;named getTextLnet/minecraft/client/report/AbuseReportReason;getText(I)Lnet/minecraft/text/Text;
-