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_1307
named net/minecraft/client/sound/SoundEntry
  • Field Details

    • sounds

      private final List<SoundEntry.class_1308> sounds
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a:Ljava/util/List;
      intermediary field_5428 Lnet/minecraft/class_1307;field_5428: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_5429 Lnet/minecraft/class_1307;field_5429:Z
      named replace Lnet/minecraft/client/sound/SoundEntry;replace:Z
    • field_5430

      private SoundCategory field_5430
      Mappings:
      Namespace Name Mixin selector
      official c Lbph;c:Lbpg;
      intermediary field_5430 Lnet/minecraft/class_1307;field_5430:Lnet/minecraft/class_1306;
      named field_5430 Lnet/minecraft/client/sound/SoundEntry;field_5430:Lnet/minecraft/client/sound/SoundCategory;
  • Constructor Details

    • SoundEntry

      public SoundEntry()
  • Method Details

    • getSounds

      public List<SoundEntry.class_1308> getSounds()
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a()Ljava/util/List;
      intermediary method_4518 Lnet/minecraft/class_1307;method_4518()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_4521 Lnet/minecraft/class_1307;method_4521()Z
      named canReplace Lnet/minecraft/client/sound/SoundEntry;canReplace()Z
    • method_4520

      public void method_4520​(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a(Z)V
      intermediary method_4520 Lnet/minecraft/class_1307;method_4520(Z)V
      named method_4520 Lnet/minecraft/client/sound/SoundEntry;method_4520(Z)V
    • method_4522

      public SoundCategory method_4522()
      Mappings:
      Namespace Name Mixin selector
      official c Lbph;c()Lbpg;
      intermediary method_4522 Lnet/minecraft/class_1307;method_4522()Lnet/minecraft/class_1306;
      named method_4522 Lnet/minecraft/client/sound/SoundEntry;method_4522()Lnet/minecraft/client/sound/SoundCategory;
    • method_4519

      public void method_4519​(SoundCategory soundCategory)
      Mappings:
      Namespace Name Mixin selector
      official a Lbph;a(Lbpg;)V
      intermediary method_4519 Lnet/minecraft/class_1307;method_4519(Lnet/minecraft/class_1306;)V
      named method_4519 Lnet/minecraft/client/sound/SoundEntry;method_4519(Lnet/minecraft/client/sound/SoundCategory;)V