Enum TwitchStreamProvider.Reason

java.lang.Object
java.lang.Enum<TwitchStreamProvider.Reason>
net.minecraft.client.util.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$a
intermediary net/minecraft/class_1349$class_1350
named net/minecraft/client/util/TwitchStreamProvider$Reason
  • Enum Constant Details

    • ERROR

      public static final TwitchStreamProvider.Reason ERROR
      Mappings:
      Namespace Name Mixin selector
      official a Lbqm$a;a:Lbqm$a;
      intermediary field_5671 Lnet/minecraft/class_1349$class_1350;field_5671:Lnet/minecraft/class_1349$class_1350;
      named ERROR Lnet/minecraft/client/util/TwitchStreamProvider$Reason;ERROR:Lnet/minecraft/client/util/TwitchStreamProvider$Reason;
    • INVALID_TOKEN

      public static final TwitchStreamProvider.Reason INVALID_TOKEN
      Mappings:
      Namespace Name Mixin selector
      official b Lbqm$a;b:Lbqm$a;
      intermediary field_5672 Lnet/minecraft/class_1349$class_1350;field_5672:Lnet/minecraft/class_1349$class_1350;
      named INVALID_TOKEN Lnet/minecraft/client/util/TwitchStreamProvider$Reason;INVALID_TOKEN:Lnet/minecraft/client/util/TwitchStreamProvider$Reason;
  • Constructor Details

    • Reason

      private Reason()
  • Method Details

    • values

      public static TwitchStreamProvider.Reason[] 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

      public static TwitchStreamProvider.Reason valueOf​(String name)
      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 name
      NullPointerException - if the argument is null