Enum Class SoundEntry.Entry.SoundEntryType

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

@Environment(CLIENT) public static enum SoundEntry.Entry.SoundEntryType extends Enum<SoundEntry.Entry.SoundEntryType>
Mappings:
Namespace Name
official bph$a$a
intermediary net/minecraft/class_1896$class_1897$class_1898
named net/minecraft/client/sound/SoundEntry$Entry$SoundEntryType
  • Enum Constant Details

    • FILE

      public static final SoundEntry.Entry.SoundEntryType FILE
      Mappings:
      Namespace Name Mixin selector
      official a Lbph$a$a;a:Lbph$a$a;
      intermediary field_8158 Lnet/minecraft/class_1896$class_1897$class_1898;field_8158:Lnet/minecraft/class_1896$class_1897$class_1898;
      named FILE Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;FILE:Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;
    • SOUNDEVENT

      public static final SoundEntry.Entry.SoundEntryType SOUNDEVENT
      Mappings:
      Namespace Name Mixin selector
      official b Lbph$a$a;b:Lbph$a$a;
      intermediary field_8159 Lnet/minecraft/class_1896$class_1897$class_1898;field_8159:Lnet/minecraft/class_1896$class_1897$class_1898;
      named SOUNDEVENT Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;SOUNDEVENT:Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Lbph$a$a;c:Ljava/lang/String;
      intermediary field_8160 Lnet/minecraft/class_1896$class_1897$class_1898;field_8160:Ljava/lang/String;
      named name Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;name:Ljava/lang/String;
  • Constructor Details

    • SoundEntryType

      private SoundEntryType(String string2ame)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbph$a$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1896$class_1897$class_1898;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static SoundEntry.Entry.SoundEntryType[] 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 SoundEntry.Entry.SoundEntryType 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
    • getTypeByName

      public static SoundEntry.Entry.SoundEntryType getTypeByName(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lbph$a$a;a(Ljava/lang/String;)Lbph$a$a;
      intermediary method_7071 Lnet/minecraft/class_1896$class_1897$class_1898;method_7071(Ljava/lang/String;)Lnet/minecraft/class_1896$class_1897$class_1898;
      named getTypeByName Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;getTypeByName(Ljava/lang/String;)Lnet/minecraft/client/sound/SoundEntry$Entry$SoundEntryType;