Package net.minecraft.client.session
Enum Class BanReason
- All Implemented Interfaces:
Serializable,Comparable<BanReason>,Constable
- Mappings:
Namespace Name named net/minecraft/client/session/BanReasonintermediary net/minecraft/class_8186official hcw
-
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 named GENERIC_VIOLATIONLnet/minecraft/client/session/BanReason;GENERIC_VIOLATION:Lnet/minecraft/client/session/BanReason;intermediary field_42891Lnet/minecraft/class_8186;field_42891:Lnet/minecraft/class_8186;official aLhcw;a:Lhcw;
-
FALSE_REPORTING
- Mappings:
Namespace Name Mixin selector named FALSE_REPORTINGLnet/minecraft/client/session/BanReason;FALSE_REPORTING:Lnet/minecraft/client/session/BanReason;intermediary field_42892Lnet/minecraft/class_8186;field_42892:Lnet/minecraft/class_8186;official bLhcw;b:Lhcw;
-
HATE_SPEECH
- Mappings:
Namespace Name Mixin selector named HATE_SPEECHLnet/minecraft/client/session/BanReason;HATE_SPEECH:Lnet/minecraft/client/session/BanReason;intermediary field_42893Lnet/minecraft/class_8186;field_42893:Lnet/minecraft/class_8186;official cLhcw;c:Lhcw;
-
HATE_TERRORISM_NOTORIOUS_FIGURE
- Mappings:
Namespace Name Mixin selector named HATE_TERRORISM_NOTORIOUS_FIGURELnet/minecraft/client/session/BanReason;HATE_TERRORISM_NOTORIOUS_FIGURE:Lnet/minecraft/client/session/BanReason;intermediary field_42894Lnet/minecraft/class_8186;field_42894:Lnet/minecraft/class_8186;official dLhcw;d:Lhcw;
-
HARASSMENT_OR_BULLYING
- Mappings:
Namespace Name Mixin selector named HARASSMENT_OR_BULLYINGLnet/minecraft/client/session/BanReason;HARASSMENT_OR_BULLYING:Lnet/minecraft/client/session/BanReason;intermediary field_42895Lnet/minecraft/class_8186;field_42895:Lnet/minecraft/class_8186;official eLhcw;e:Lhcw;
-
DEFAMATION_IMPERSONATION_FALSE_INFORMATION
- Mappings:
Namespace Name Mixin selector named DEFAMATION_IMPERSONATION_FALSE_INFORMATIONLnet/minecraft/client/session/BanReason;DEFAMATION_IMPERSONATION_FALSE_INFORMATION:Lnet/minecraft/client/session/BanReason;intermediary field_42896Lnet/minecraft/class_8186;field_42896:Lnet/minecraft/class_8186;official fLhcw;f:Lhcw;
-
DRUGS
- Mappings:
Namespace Name Mixin selector named DRUGSLnet/minecraft/client/session/BanReason;DRUGS:Lnet/minecraft/client/session/BanReason;intermediary field_42897Lnet/minecraft/class_8186;field_42897:Lnet/minecraft/class_8186;official gLhcw;g:Lhcw;
-
FRAUD
- Mappings:
Namespace Name Mixin selector named FRAUDLnet/minecraft/client/session/BanReason;FRAUD:Lnet/minecraft/client/session/BanReason;intermediary field_42898Lnet/minecraft/class_8186;field_42898:Lnet/minecraft/class_8186;official hLhcw;h:Lhcw;
-
SPAM_OR_ADVERTISING
- Mappings:
Namespace Name Mixin selector named SPAM_OR_ADVERTISINGLnet/minecraft/client/session/BanReason;SPAM_OR_ADVERTISING:Lnet/minecraft/client/session/BanReason;intermediary field_42899Lnet/minecraft/class_8186;field_42899:Lnet/minecraft/class_8186;official iLhcw;i:Lhcw;
-
NUDITY_OR_PORNOGRAPHY
- Mappings:
Namespace Name Mixin selector named NUDITY_OR_PORNOGRAPHYLnet/minecraft/client/session/BanReason;NUDITY_OR_PORNOGRAPHY:Lnet/minecraft/client/session/BanReason;intermediary field_42900Lnet/minecraft/class_8186;field_42900:Lnet/minecraft/class_8186;official jLhcw;j:Lhcw;
-
SEXUALLY_INAPPROPRIATE
- Mappings:
Namespace Name Mixin selector named SEXUALLY_INAPPROPRIATELnet/minecraft/client/session/BanReason;SEXUALLY_INAPPROPRIATE:Lnet/minecraft/client/session/BanReason;intermediary field_42901Lnet/minecraft/class_8186;field_42901:Lnet/minecraft/class_8186;official kLhcw;k:Lhcw;
-
EXTREME_VIOLENCE_OR_GORE
- Mappings:
Namespace Name Mixin selector named EXTREME_VIOLENCE_OR_GORELnet/minecraft/client/session/BanReason;EXTREME_VIOLENCE_OR_GORE:Lnet/minecraft/client/session/BanReason;intermediary field_42902Lnet/minecraft/class_8186;field_42902:Lnet/minecraft/class_8186;official lLhcw;l:Lhcw;
-
IMMINENT_HARM_TO_PERSON_OR_PROPERTY
- Mappings:
Namespace Name Mixin selector named IMMINENT_HARM_TO_PERSON_OR_PROPERTYLnet/minecraft/client/session/BanReason;IMMINENT_HARM_TO_PERSON_OR_PROPERTY:Lnet/minecraft/client/session/BanReason;intermediary field_42903Lnet/minecraft/class_8186;field_42903:Lnet/minecraft/class_8186;official mLhcw;m:Lhcw;
-
-
Field Details
-
description
- Mappings:
Namespace Name Mixin selector named descriptionLnet/minecraft/client/session/BanReason;description:Lnet/minecraft/text/Text;intermediary field_42904Lnet/minecraft/class_8186;field_42904:Lnet/minecraft/class_2561;official nLhcw;n:Lym;
-
-
Constructor Details
-
BanReason
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/session/BanReason;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_8186;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lhcw;<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 named getDescriptionLnet/minecraft/client/session/BanReason;getDescription()Lnet/minecraft/text/Text;intermediary method_49312Lnet/minecraft/class_8186;method_49312()Lnet/minecraft/class_2561;official aLhcw;a()Lym;
-
byId
- Mappings:
Namespace Name Mixin selector named byIdLnet/minecraft/client/session/BanReason;byId(I)Lnet/minecraft/client/session/BanReason;intermediary method_49313Lnet/minecraft/class_8186;method_49313(I)Lnet/minecraft/class_8186;official aLhcw;a(I)Lhcw;
-