Class SoundEntry

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

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

    • sounds

      private final List<SoundEntry.Entry> sounds
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a:Ljava/util/List;
      intermediary field_8149 Lnet/minecraft/class_1896;field_8149:Ljava/util/List;
      named sounds Lnet/minecraft/client/sound/SoundEntry;sounds:Ljava/util/List;
    • replace

      private boolean replace
      Mappings:
      Namespace Name Mixin selector
      official b Lbph;b:Z
      intermediary field_8150 Lnet/minecraft/class_1896;field_8150:Z
      named replace Lnet/minecraft/client/sound/SoundEntry;replace:Z
    • category

      private SoundCategory category
      Mappings:
      Namespace Name Mixin selector
      official c Lbph;c:Lbpg;
      intermediary field_8151 Lnet/minecraft/class_1896;field_8151:Lnet/minecraft/class_2153;
      named category Lnet/minecraft/client/sound/SoundEntry;category:Lnet/minecraft/client/sound/SoundCategory;
  • Constructor Details

    • SoundEntry

      public SoundEntry()
  • Method Details

    • getSounds

      public List<SoundEntry.Entry> getSounds()
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a()Ljava/util/List;
      intermediary method_7054 Lnet/minecraft/class_1896;method_7054()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 Lbph;b()Z
      intermediary method_7057 Lnet/minecraft/class_1896;method_7057()Z
      named canReplace Lnet/minecraft/client/sound/SoundEntry;canReplace()Z
    • setReplace

      public void setReplace(boolean replace)
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a(Z)V
      intermediary method_7056 Lnet/minecraft/class_1896;method_7056(Z)V
      named setReplace Lnet/minecraft/client/sound/SoundEntry;setReplace(Z)V
    • getCategory

      public SoundCategory getCategory()
      Mappings:
      Namespace Name Mixin selector
      official c Lbph;c()Lbpg;
      intermediary method_7058 Lnet/minecraft/class_1896;method_7058()Lnet/minecraft/class_2153;
      named getCategory Lnet/minecraft/client/sound/SoundEntry;getCategory()Lnet/minecraft/client/sound/SoundCategory;
    • setCategory

      public void setCategory(SoundCategory category)
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a(Lbpg;)V
      intermediary method_7055 Lnet/minecraft/class_1896;method_7055(Lnet/minecraft/class_2153;)V
      named setCategory Lnet/minecraft/client/sound/SoundEntry;setCategory(Lnet/minecraft/client/sound/SoundCategory;)V