Package net.minecraft.client.util
Enum Class BanReason
- All Implemented Interfaces:
Serializable,Comparable<BanReason>,Constable
- Mappings:
Namespace Name official ffcintermediary net/minecraft/class_8186named net/minecraft/client/util/BanReason
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
GENERIC_VIOLATION
- Mappings:
Namespace Name Mixin selector official aLffc;a:Lffc;intermediary field_42891Lnet/minecraft/class_8186;field_42891:Lnet/minecraft/class_8186;named GENERIC_VIOLATIONLnet/minecraft/client/util/BanReason;GENERIC_VIOLATION:Lnet/minecraft/client/util/BanReason;
-
FALSE_REPORTING
- Mappings:
Namespace Name Mixin selector official bLffc;b:Lffc;intermediary field_42892Lnet/minecraft/class_8186;field_42892:Lnet/minecraft/class_8186;named FALSE_REPORTINGLnet/minecraft/client/util/BanReason;FALSE_REPORTING:Lnet/minecraft/client/util/BanReason;
-
HATE_SPEECH
- Mappings:
Namespace Name Mixin selector official cLffc;c:Lffc;intermediary field_42893Lnet/minecraft/class_8186;field_42893:Lnet/minecraft/class_8186;named HATE_SPEECHLnet/minecraft/client/util/BanReason;HATE_SPEECH:Lnet/minecraft/client/util/BanReason;
-
HATE_TERRORISM_NOTORIOUS_FIGURE
- Mappings:
Namespace Name Mixin selector official dLffc;d:Lffc;intermediary field_42894Lnet/minecraft/class_8186;field_42894:Lnet/minecraft/class_8186;named HATE_TERRORISM_NOTORIOUS_FIGURELnet/minecraft/client/util/BanReason;HATE_TERRORISM_NOTORIOUS_FIGURE:Lnet/minecraft/client/util/BanReason;
-
HARASSMENT_OR_BULLYING
- Mappings:
Namespace Name Mixin selector official eLffc;e:Lffc;intermediary field_42895Lnet/minecraft/class_8186;field_42895:Lnet/minecraft/class_8186;named HARASSMENT_OR_BULLYINGLnet/minecraft/client/util/BanReason;HARASSMENT_OR_BULLYING:Lnet/minecraft/client/util/BanReason;
-
DEFAMATION_IMPERSONATION_FALSE_INFORMATION
- Mappings:
Namespace Name Mixin selector official fLffc;f:Lffc;intermediary field_42896Lnet/minecraft/class_8186;field_42896:Lnet/minecraft/class_8186;named DEFAMATION_IMPERSONATION_FALSE_INFORMATIONLnet/minecraft/client/util/BanReason;DEFAMATION_IMPERSONATION_FALSE_INFORMATION:Lnet/minecraft/client/util/BanReason;
-
DRUGS
- Mappings:
Namespace Name Mixin selector official gLffc;g:Lffc;intermediary field_42897Lnet/minecraft/class_8186;field_42897:Lnet/minecraft/class_8186;named DRUGSLnet/minecraft/client/util/BanReason;DRUGS:Lnet/minecraft/client/util/BanReason;
-
FRAUD
- Mappings:
Namespace Name Mixin selector official hLffc;h:Lffc;intermediary field_42898Lnet/minecraft/class_8186;field_42898:Lnet/minecraft/class_8186;named FRAUDLnet/minecraft/client/util/BanReason;FRAUD:Lnet/minecraft/client/util/BanReason;
-
SPAM_OR_ADVERTISING
- Mappings:
Namespace Name Mixin selector official iLffc;i:Lffc;intermediary field_42899Lnet/minecraft/class_8186;field_42899:Lnet/minecraft/class_8186;named SPAM_OR_ADVERTISINGLnet/minecraft/client/util/BanReason;SPAM_OR_ADVERTISING:Lnet/minecraft/client/util/BanReason;
-
NUDITY_OR_PORNOGRAPHY
- Mappings:
Namespace Name Mixin selector official jLffc;j:Lffc;intermediary field_42900Lnet/minecraft/class_8186;field_42900:Lnet/minecraft/class_8186;named NUDITY_OR_PORNOGRAPHYLnet/minecraft/client/util/BanReason;NUDITY_OR_PORNOGRAPHY:Lnet/minecraft/client/util/BanReason;
-
SEXUALLY_INAPPROPRIATE
- Mappings:
Namespace Name Mixin selector official kLffc;k:Lffc;intermediary field_42901Lnet/minecraft/class_8186;field_42901:Lnet/minecraft/class_8186;named SEXUALLY_INAPPROPRIATELnet/minecraft/client/util/BanReason;SEXUALLY_INAPPROPRIATE:Lnet/minecraft/client/util/BanReason;
-
EXTREME_VIOLENCE_OR_GORE
- Mappings:
Namespace Name Mixin selector official lLffc;l:Lffc;intermediary field_42902Lnet/minecraft/class_8186;field_42902:Lnet/minecraft/class_8186;named EXTREME_VIOLENCE_OR_GORELnet/minecraft/client/util/BanReason;EXTREME_VIOLENCE_OR_GORE:Lnet/minecraft/client/util/BanReason;
-
IMMINENT_HARM_TO_PERSON_OR_PROPERTY
- Mappings:
Namespace Name Mixin selector official mLffc;m:Lffc;intermediary field_42903Lnet/minecraft/class_8186;field_42903:Lnet/minecraft/class_8186;named IMMINENT_HARM_TO_PERSON_OR_PROPERTYLnet/minecraft/client/util/BanReason;IMMINENT_HARM_TO_PERSON_OR_PROPERTY:Lnet/minecraft/client/util/BanReason;
-
-
Field Details
-
description
- Mappings:
Namespace Name Mixin selector official nLffc;n:Lsw;intermediary field_42904Lnet/minecraft/class_8186;field_42904:Lnet/minecraft/class_2561;named descriptionLnet/minecraft/client/util/BanReason;description:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
BanReason
- Mappings:
Namespace Name Mixin selector official <init>Lffc;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_8186;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/util/BanReason;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
getDescription
- Mappings:
Namespace Name Mixin selector official aLffc;a()Lsw;intermediary method_49312Lnet/minecraft/class_8186;method_49312()Lnet/minecraft/class_2561;named getDescriptionLnet/minecraft/client/util/BanReason;getDescription()Lnet/minecraft/text/Text;
-
byId
- Mappings:
Namespace Name Mixin selector official aLffc;a(I)Lffc;intermediary method_49313Lnet/minecraft/class_8186;method_49313(I)Lnet/minecraft/class_8186;named byIdLnet/minecraft/client/util/BanReason;byId(I)Lnet/minecraft/client/util/BanReason;
-