Enum Class SoundSystem.PlayResult

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

@Environment(CLIENT) public static enum SoundSystem.PlayResult extends Enum<SoundSystem.PlayResult>
Mappings:
Namespace Name
named net/minecraft/client/sound/SoundSystem$PlayResult
intermediary net/minecraft/class_1140$class_11518
official hws$b
  • Enum Constant Details

    • STARTED

      public static final SoundSystem.PlayResult STARTED
      Mappings:
      Namespace Name Mixin selector
      named STARTED Lnet/minecraft/client/sound/SoundSystem$PlayResult;STARTED:Lnet/minecraft/client/sound/SoundSystem$PlayResult;
      intermediary field_60954 Lnet/minecraft/class_1140$class_11518;field_60954:Lnet/minecraft/class_1140$class_11518;
      official a Lhws$b;a:Lhws$b;
    • STARTED_SILENTLY

      public static final SoundSystem.PlayResult STARTED_SILENTLY
      Mappings:
      Namespace Name Mixin selector
      named STARTED_SILENTLY Lnet/minecraft/client/sound/SoundSystem$PlayResult;STARTED_SILENTLY:Lnet/minecraft/client/sound/SoundSystem$PlayResult;
      intermediary field_60955 Lnet/minecraft/class_1140$class_11518;field_60955:Lnet/minecraft/class_1140$class_11518;
      official b Lhws$b;b:Lhws$b;
    • NOT_STARTED

      public static final SoundSystem.PlayResult NOT_STARTED
      Mappings:
      Namespace Name Mixin selector
      named NOT_STARTED Lnet/minecraft/client/sound/SoundSystem$PlayResult;NOT_STARTED:Lnet/minecraft/client/sound/SoundSystem$PlayResult;
      intermediary field_60956 Lnet/minecraft/class_1140$class_11518;field_60956:Lnet/minecraft/class_1140$class_11518;
      official c Lhws$b;c:Lhws$b;
  • Constructor Details

    • PlayResult

      private PlayResult()
  • Method Details

    • values

      public static SoundSystem.PlayResult[] 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 SoundSystem.PlayResult 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