Class SoundEntry

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

@Environment(CLIENT)
public class SoundEntry
extends Object
  • Field Details

    • sounds

      private final List<Sound> sounds
    • replace

      private final boolean replace
    • subtitle

      private final String subtitle
  • Constructor Details

    • SoundEntry

      public SoundEntry​(List<Sound> sounds, boolean replace, String subtitle)
  • Method Details

    • getSounds

      public List<Sound> getSounds()
    • canReplace

      public boolean canReplace()
    • getSubtitle

      @Nullable public String getSubtitle()