Package net.minecraft.client.session
Enum Class BanReason
- All Implemented Interfaces:
Serializable
,Comparable<BanReason>
,Constable
- Mappings:
Namespace Name named net/minecraft/client/session/BanReason
intermediary net/minecraft/class_8186
official fyw
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Constructor Summary
-
Method Summary
-
Enum Constant Details
-
GENERIC_VIOLATION
- Mappings:
Namespace Name Mixin selector named GENERIC_VIOLATION
Lnet/minecraft/client/session/BanReason;GENERIC_VIOLATION:Lnet/minecraft/client/session/BanReason;
intermediary field_42891
Lnet/minecraft/class_8186;field_42891:Lnet/minecraft/class_8186;
official a
Lfyw;a:Lfyw;
-
FALSE_REPORTING
- Mappings:
Namespace Name Mixin selector named FALSE_REPORTING
Lnet/minecraft/client/session/BanReason;FALSE_REPORTING:Lnet/minecraft/client/session/BanReason;
intermediary field_42892
Lnet/minecraft/class_8186;field_42892:Lnet/minecraft/class_8186;
official b
Lfyw;b:Lfyw;
-
HATE_SPEECH
- Mappings:
Namespace Name Mixin selector named HATE_SPEECH
Lnet/minecraft/client/session/BanReason;HATE_SPEECH:Lnet/minecraft/client/session/BanReason;
intermediary field_42893
Lnet/minecraft/class_8186;field_42893:Lnet/minecraft/class_8186;
official c
Lfyw;c:Lfyw;
-
HATE_TERRORISM_NOTORIOUS_FIGURE
- Mappings:
Namespace Name Mixin selector named HATE_TERRORISM_NOTORIOUS_FIGURE
Lnet/minecraft/client/session/BanReason;HATE_TERRORISM_NOTORIOUS_FIGURE:Lnet/minecraft/client/session/BanReason;
intermediary field_42894
Lnet/minecraft/class_8186;field_42894:Lnet/minecraft/class_8186;
official d
Lfyw;d:Lfyw;
-
HARASSMENT_OR_BULLYING
- Mappings:
Namespace Name Mixin selector named HARASSMENT_OR_BULLYING
Lnet/minecraft/client/session/BanReason;HARASSMENT_OR_BULLYING:Lnet/minecraft/client/session/BanReason;
intermediary field_42895
Lnet/minecraft/class_8186;field_42895:Lnet/minecraft/class_8186;
official e
Lfyw;e:Lfyw;
-
DEFAMATION_IMPERSONATION_FALSE_INFORMATION
- Mappings:
Namespace Name Mixin selector named DEFAMATION_IMPERSONATION_FALSE_INFORMATION
Lnet/minecraft/client/session/BanReason;DEFAMATION_IMPERSONATION_FALSE_INFORMATION:Lnet/minecraft/client/session/BanReason;
intermediary field_42896
Lnet/minecraft/class_8186;field_42896:Lnet/minecraft/class_8186;
official f
Lfyw;f:Lfyw;
-
DRUGS
- Mappings:
Namespace Name Mixin selector named DRUGS
Lnet/minecraft/client/session/BanReason;DRUGS:Lnet/minecraft/client/session/BanReason;
intermediary field_42897
Lnet/minecraft/class_8186;field_42897:Lnet/minecraft/class_8186;
official g
Lfyw;g:Lfyw;
-
FRAUD
- Mappings:
Namespace Name Mixin selector named FRAUD
Lnet/minecraft/client/session/BanReason;FRAUD:Lnet/minecraft/client/session/BanReason;
intermediary field_42898
Lnet/minecraft/class_8186;field_42898:Lnet/minecraft/class_8186;
official h
Lfyw;h:Lfyw;
-
SPAM_OR_ADVERTISING
- Mappings:
Namespace Name Mixin selector named SPAM_OR_ADVERTISING
Lnet/minecraft/client/session/BanReason;SPAM_OR_ADVERTISING:Lnet/minecraft/client/session/BanReason;
intermediary field_42899
Lnet/minecraft/class_8186;field_42899:Lnet/minecraft/class_8186;
official i
Lfyw;i:Lfyw;
-
NUDITY_OR_PORNOGRAPHY
- Mappings:
Namespace Name Mixin selector named NUDITY_OR_PORNOGRAPHY
Lnet/minecraft/client/session/BanReason;NUDITY_OR_PORNOGRAPHY:Lnet/minecraft/client/session/BanReason;
intermediary field_42900
Lnet/minecraft/class_8186;field_42900:Lnet/minecraft/class_8186;
official j
Lfyw;j:Lfyw;
-
SEXUALLY_INAPPROPRIATE
- Mappings:
Namespace Name Mixin selector named SEXUALLY_INAPPROPRIATE
Lnet/minecraft/client/session/BanReason;SEXUALLY_INAPPROPRIATE:Lnet/minecraft/client/session/BanReason;
intermediary field_42901
Lnet/minecraft/class_8186;field_42901:Lnet/minecraft/class_8186;
official k
Lfyw;k:Lfyw;
-
EXTREME_VIOLENCE_OR_GORE
- Mappings:
Namespace Name Mixin selector named EXTREME_VIOLENCE_OR_GORE
Lnet/minecraft/client/session/BanReason;EXTREME_VIOLENCE_OR_GORE:Lnet/minecraft/client/session/BanReason;
intermediary field_42902
Lnet/minecraft/class_8186;field_42902:Lnet/minecraft/class_8186;
official l
Lfyw;l:Lfyw;
-
IMMINENT_HARM_TO_PERSON_OR_PROPERTY
- Mappings:
Namespace Name Mixin selector named IMMINENT_HARM_TO_PERSON_OR_PROPERTY
Lnet/minecraft/client/session/BanReason;IMMINENT_HARM_TO_PERSON_OR_PROPERTY:Lnet/minecraft/client/session/BanReason;
intermediary field_42903
Lnet/minecraft/class_8186;field_42903:Lnet/minecraft/class_8186;
official m
Lfyw;m:Lfyw;
-
-
Field Details
-
description
- Mappings:
Namespace Name Mixin selector named description
Lnet/minecraft/client/session/BanReason;description:Lnet/minecraft/text/Text;
intermediary field_42904
Lnet/minecraft/class_8186;field_42904:Lnet/minecraft/class_2561;
official n
Lfyw;n:Lxp;
-
-
Constructor Details
-
BanReason
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/session/BanReason;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_8186;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Lfyw;<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 getDescription
Lnet/minecraft/client/session/BanReason;getDescription()Lnet/minecraft/text/Text;
intermediary method_49312
Lnet/minecraft/class_8186;method_49312()Lnet/minecraft/class_2561;
official a
Lfyw;a()Lxp;
-
byId
- Mappings:
Namespace Name Mixin selector named byId
Lnet/minecraft/client/session/BanReason;byId(I)Lnet/minecraft/client/session/BanReason;
intermediary method_49313
Lnet/minecraft/class_8186;method_49313(I)Lnet/minecraft/class_8186;
official a
Lfyw;a(I)Lfyw;
-