Package net.minecraft.client.util
Enum TwitchStreamProvider.Reason
- All Implemented Interfaces:
Serializable,Comparable<TwitchStreamProvider.Reason>,java.lang.constant.Constable
- Enclosing interface:
- TwitchStreamProvider
@Environment(CLIENT) public static enum TwitchStreamProvider.Reason extends Enum<TwitchStreamProvider.Reason>
- Mappings:
Namespace Name official bqm$aintermediary net/minecraft/class_1349$class_1350named net/minecraft/client/util/TwitchStreamProvider$Reason
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ERRORINVALID_TOKEN -
Constructor Summary
Constructors Modifier Constructor Description privateReason() -
Method Summary
Modifier and Type Method Description static TwitchStreamProvider.ReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static TwitchStreamProvider.Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ERROR
- Mappings:
Namespace Name Mixin selector official aLbqm$a;a:Lbqm$a;intermediary field_5671Lnet/minecraft/class_1349$class_1350;field_5671:Lnet/minecraft/class_1349$class_1350;named ERRORLnet/minecraft/client/util/TwitchStreamProvider$Reason;ERROR:Lnet/minecraft/client/util/TwitchStreamProvider$Reason;
-
INVALID_TOKEN
- Mappings:
Namespace Name Mixin selector official bLbqm$a;b:Lbqm$a;intermediary field_5672Lnet/minecraft/class_1349$class_1350;field_5672:Lnet/minecraft/class_1349$class_1350;named INVALID_TOKENLnet/minecraft/client/util/TwitchStreamProvider$Reason;INVALID_TOKEN:Lnet/minecraft/client/util/TwitchStreamProvider$Reason;
-
-
Constructor Details
-
Reason
private Reason()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-