Enum Class Sound.RegistrationType

java.lang.Object
java.lang.Enum<Sound.RegistrationType>
net.minecraft.client.sound.Sound.RegistrationType
All Implemented Interfaces:
Serializable, Comparable<Sound.RegistrationType>, Constable
Enclosing class:
Sound

@Environment(CLIENT) public static enum Sound.RegistrationType extends Enum<Sound.RegistrationType>
Mappings:
Namespace Name
named net/minecraft/client/sound/Sound$RegistrationType
intermediary net/minecraft/class_1111$class_1112
official gtb$a
  • Enum Constant Details

    • FILE

      public static final Sound.RegistrationType FILE
      Mappings:
      Namespace Name Mixin selector
      named FILE Lnet/minecraft/client/sound/Sound$RegistrationType;FILE:Lnet/minecraft/client/sound/Sound$RegistrationType;
      intermediary field_5474 Lnet/minecraft/class_1111$class_1112;field_5474:Lnet/minecraft/class_1111$class_1112;
      official a Lgtb$a;a:Lgtb$a;
    • SOUND_EVENT

      public static final Sound.RegistrationType SOUND_EVENT
      Mappings:
      Namespace Name Mixin selector
      named SOUND_EVENT Lnet/minecraft/client/sound/Sound$RegistrationType;SOUND_EVENT:Lnet/minecraft/client/sound/Sound$RegistrationType;
      intermediary field_5473 Lnet/minecraft/class_1111$class_1112;field_5473:Lnet/minecraft/class_1111$class_1112;
      official b Lgtb$a;b:Lgtb$a;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/sound/Sound$RegistrationType;name:Ljava/lang/String;
      intermediary field_5472 Lnet/minecraft/class_1111$class_1112;field_5472:Ljava/lang/String;
      official c Lgtb$a;c:Ljava/lang/String;
  • Constructor Details

    • RegistrationType

      private RegistrationType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/Sound$RegistrationType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1111$class_1112;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lgtb$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static Sound.RegistrationType[] 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

      public static Sound.RegistrationType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getByName

      @Nullable public static @Nullable Sound.RegistrationType getByName(String name)
      Mappings:
      Namespace Name Mixin selector
      named getByName Lnet/minecraft/client/sound/Sound$RegistrationType;getByName(Ljava/lang/String;)Lnet/minecraft/client/sound/Sound$RegistrationType;
      intermediary method_4773 Lnet/minecraft/class_1111$class_1112;method_4773(Ljava/lang/String;)Lnet/minecraft/class_1111$class_1112;
      official a Lgtb$a;a(Ljava/lang/String;)Lgtb$a;