Class SoundEntry

java.lang.Object
net.minecraft.client.sound.SoundEntry

@Environment(CLIENT) public class SoundEntry extends Object
Mappings:
Namespace Name
named net/minecraft/client/sound/SoundEntry
intermediary net/minecraft/class_1110
official hff
  • Field Details

    • sounds

      private final List<Sound> sounds
      Mappings:
      Namespace Name Mixin selector
      named sounds Lnet/minecraft/client/sound/SoundEntry;sounds:Ljava/util/List;
      intermediary field_5460 Lnet/minecraft/class_1110;field_5460:Ljava/util/List;
      official a Lhff;a:Ljava/util/List;
    • replace

      private final boolean replace
      Mappings:
      Namespace Name Mixin selector
      named replace Lnet/minecraft/client/sound/SoundEntry;replace:Z
      intermediary field_5462 Lnet/minecraft/class_1110;field_5462:Z
      official b Lhff;b:Z
    • subtitle

      @Nullable private final @Nullable String subtitle
      Mappings:
      Namespace Name Mixin selector
      named subtitle Lnet/minecraft/client/sound/SoundEntry;subtitle:Ljava/lang/String;
      intermediary field_5461 Lnet/minecraft/class_1110;field_5461:Ljava/lang/String;
      official c Lhff;c:Ljava/lang/String;
  • Constructor Details

    • SoundEntry

      public SoundEntry(List<Sound> sounds, boolean replace, @Nullable @Nullable String subtitle)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/SoundEntry;<init>(Ljava/util/List;ZLjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1110;<init>(Ljava/util/List;ZLjava/lang/String;)V
      official <init> Lhff;<init>(Ljava/util/List;ZLjava/lang/String;)V
  • Method Details

    • getSounds

      public List<Sound> getSounds()
      Mappings:
      Namespace Name Mixin selector
      named getSounds Lnet/minecraft/client/sound/SoundEntry;getSounds()Ljava/util/List;
      intermediary method_4761 Lnet/minecraft/class_1110;method_4761()Ljava/util/List;
      official a Lhff;a()Ljava/util/List;
    • canReplace

      public boolean canReplace()
      Mappings:
      Namespace Name Mixin selector
      named canReplace Lnet/minecraft/client/sound/SoundEntry;canReplace()Z
      intermediary method_4763 Lnet/minecraft/class_1110;method_4763()Z
      official b Lhff;b()Z
    • getSubtitle

      @Nullable public @Nullable String getSubtitle()
      Mappings:
      Namespace Name Mixin selector
      named getSubtitle Lnet/minecraft/client/sound/SoundEntry;getSubtitle()Ljava/lang/String;
      intermediary method_4762 Lnet/minecraft/class_1110;method_4762()Ljava/lang/String;
      official c Lhff;c()Ljava/lang/String;