Enum Class SoundCategory

java.lang.Object
java.lang.Enum<SoundCategory>
net.minecraft.sound.SoundCategory
All Implemented Interfaces:
Serializable, Comparable<SoundCategory>, Constable

public enum SoundCategory extends Enum<SoundCategory>
Mappings:
Namespace Name
named net/minecraft/sound/SoundCategory
intermediary net/minecraft/class_3419
official axg
  • Enum Constant Details

    • MASTER

      public static final SoundCategory MASTER
      Mappings:
      Namespace Name Mixin selector
      named MASTER Lnet/minecraft/sound/SoundCategory;MASTER:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15250 Lnet/minecraft/class_3419;field_15250:Lnet/minecraft/class_3419;
      official a Laxg;a:Laxg;
    • MUSIC

      public static final SoundCategory MUSIC
      Mappings:
      Namespace Name Mixin selector
      named MUSIC Lnet/minecraft/sound/SoundCategory;MUSIC:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15253 Lnet/minecraft/class_3419;field_15253:Lnet/minecraft/class_3419;
      official b Laxg;b:Laxg;
    • RECORDS

      public static final SoundCategory RECORDS
      Mappings:
      Namespace Name Mixin selector
      named RECORDS Lnet/minecraft/sound/SoundCategory;RECORDS:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15247 Lnet/minecraft/class_3419;field_15247:Lnet/minecraft/class_3419;
      official c Laxg;c:Laxg;
    • WEATHER

      public static final SoundCategory WEATHER
      Mappings:
      Namespace Name Mixin selector
      named WEATHER Lnet/minecraft/sound/SoundCategory;WEATHER:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15252 Lnet/minecraft/class_3419;field_15252:Lnet/minecraft/class_3419;
      official d Laxg;d:Laxg;
    • BLOCKS

      public static final SoundCategory BLOCKS
      Mappings:
      Namespace Name Mixin selector
      named BLOCKS Lnet/minecraft/sound/SoundCategory;BLOCKS:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15245 Lnet/minecraft/class_3419;field_15245:Lnet/minecraft/class_3419;
      official e Laxg;e:Laxg;
    • HOSTILE

      public static final SoundCategory HOSTILE
      Mappings:
      Namespace Name Mixin selector
      named HOSTILE Lnet/minecraft/sound/SoundCategory;HOSTILE:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15251 Lnet/minecraft/class_3419;field_15251:Lnet/minecraft/class_3419;
      official f Laxg;f:Laxg;
    • NEUTRAL

      public static final SoundCategory NEUTRAL
      Mappings:
      Namespace Name Mixin selector
      named NEUTRAL Lnet/minecraft/sound/SoundCategory;NEUTRAL:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15254 Lnet/minecraft/class_3419;field_15254:Lnet/minecraft/class_3419;
      official g Laxg;g:Laxg;
    • PLAYERS

      public static final SoundCategory PLAYERS
      Mappings:
      Namespace Name Mixin selector
      named PLAYERS Lnet/minecraft/sound/SoundCategory;PLAYERS:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15248 Lnet/minecraft/class_3419;field_15248:Lnet/minecraft/class_3419;
      official h Laxg;h:Laxg;
    • AMBIENT

      public static final SoundCategory AMBIENT
      Mappings:
      Namespace Name Mixin selector
      named AMBIENT Lnet/minecraft/sound/SoundCategory;AMBIENT:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15256 Lnet/minecraft/class_3419;field_15256:Lnet/minecraft/class_3419;
      official i Laxg;i:Laxg;
    • VOICE

      public static final SoundCategory VOICE
      Mappings:
      Namespace Name Mixin selector
      named VOICE Lnet/minecraft/sound/SoundCategory;VOICE:Lnet/minecraft/sound/SoundCategory;
      intermediary field_15246 Lnet/minecraft/class_3419;field_15246:Lnet/minecraft/class_3419;
      official j Laxg;j:Laxg;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/sound/SoundCategory;name:Ljava/lang/String;
      intermediary field_15249 Lnet/minecraft/class_3419;field_15249:Ljava/lang/String;
      official k Laxg;k:Ljava/lang/String;
  • Constructor Details

    • SoundCategory

      private SoundCategory(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/sound/SoundCategory;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3419;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Laxg;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static SoundCategory[] 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 SoundCategory 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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/sound/SoundCategory;getName()Ljava/lang/String;
      intermediary method_14840 Lnet/minecraft/class_3419;method_14840()Ljava/lang/String;
      official a Laxg;a()Ljava/lang/String;