Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-28246

SoundManagement only loads sound names from default resource pack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.6.2
    • None
    • Windows 7
      Java 1.7.0_17
      MC 1.6.2 vanilla client
    • Unconfirmed

      Both game modes affected ^

      When minecraft starts the SoundManager only loads sound names from the default resource pack in the minecraft directory. This makes it so that if any other resource pack has extra sounds they can not be played via the playsound command.

      Currently if you were to make a resource pack, the only sounds you can change are sounds in the game. With this fixed, you can add new sounds instead of only being able to overwrite sounds.

      Possible Solutions:

      • Create a map of resource pack name and sounds contained in it on minecraft load inside the SoundPool (not preferred since it wont update during play if a new pack is introduced and other problems can occur).
      • Create a secondary list of sounds in the SoundPool and update it when a player loads a new resource pack.

            Unassigned Unassigned
            RingOfStorms RingOfStorms
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: