Class SoundEventRegistration

java.lang.Object
net.minecraft.client.resources.sounds.SoundEventRegistration

public class SoundEventRegistration extends Object
  • Field Details

    • sounds

      private final List<Sound> sounds
    • replace

      private final boolean replace
      if true it will override all the sounds from the resourcepacks loaded before
    • subtitle

      @Nullable private final String subtitle
  • Constructor Details

    • SoundEventRegistration

      public SoundEventRegistration(List<Sound> pSounds, boolean pReplace, @Nullable String pSubtitle)
  • Method Details

    • getSounds

      public List<Sound> getSounds()
    • isReplace

      public boolean isReplace()
    • getSubtitle

      @Nullable public String getSubtitle()