Class SoundEntry

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

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

    • sounds

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

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

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

    • SoundEntry

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

    • getSounds

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

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

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