[GH-ISSUE #3379] Music discs don't play in a jukebox (no sound) #950

Closed
opened 2026-11-02 15:43:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @posok124521 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3379

Music discs inserted into a jukebox produce no sound. [Other sounds (blocks, mobs, ambient) work fine / I haven't checked other sounds.]

Steps to reproduce

  1. Prepare the game with horizon-prepare.exe --prepare ... and horizon-prepare.exe sounds ...
  2. Start horizon-client.exe and load a world
  3. Place a jukebox and insert any music disc (e.g. [disc name])
  4. Observe: no music is played [and no particle notes appear / notes appear, but no sound]

Expected behavior
The music disc plays its track, as in vanilla Minecraft Java Edition 26.3.

Actual behavior
Nothing plays.

Environment

  • Horizon version latest
  • OS: Windows [10/11], x64
  • Java: 25

Additional context

  • horizon-prepare.exe sounds finished successfully: "Sound assets ready: 4962 files, 377.3 MB".
  • It printed a warning: assets\indexes\34.json is an asset index Horizon does not know yet (sha1 917ff6d74b9f635c46bac0d28857206bbcc1ffe4). It continued with per-file SHA-1 checks.
  • TLauncher had rewritten versions/26.3/26.3.json, so I used the original 26.3.json from Mojang as .local/minecraft/26.3/manifest.json, as the error message suggested.
  • [Logs / console output from horizon-client.exe, if any.]

Could this be related to the unknown asset index, or are music discs (streamed/long audio) simply not implemented yet?

Originally created by @posok124521 on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3379 Music discs inserted into a jukebox produce no sound. [Other sounds (blocks, mobs, ambient) work fine / I haven't checked other sounds.] Steps to reproduce 1. Prepare the game with `horizon-prepare.exe --prepare ...` and `horizon-prepare.exe sounds ...` 2. Start `horizon-client.exe` and load a world 3. Place a jukebox and insert any music disc (e.g. [disc name]) 4. Observe: no music is played [and no particle notes appear / notes appear, but no sound] Expected behavior The music disc plays its track, as in vanilla Minecraft Java Edition 26.3. Actual behavior Nothing plays. Environment - Horizon version latest - OS: Windows [10/11], x64 - Java: 25 Additional context - `horizon-prepare.exe sounds` finished successfully: "Sound assets ready: 4962 files, 377.3 MB". - It printed a warning: `assets\indexes\34.json is an asset index Horizon does not know yet (sha1 917ff6d74b9f635c46bac0d28857206bbcc1ffe4)`. It continued with per-file SHA-1 checks. - TLauncher had rewritten `versions/26.3/26.3.json`, so I used the original `26.3.json` from Mojang as `.local/minecraft/26.3/manifest.json`, as the error message suggested. - [Logs / console output from horizon-client.exe, if any.] Could this be related to the unknown asset index, or are music discs (streamed/long audio) simply not implemented yet?
Author
Owner

@levzzz5154 commented on GitHub (Oct 29, 2026):

🤖 Agent: written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves.

Most likely fixed by #3556 (merged). Single player runs on its own server thread, and the window joins it as a client. A client only started a jukebox song from its own jukebox tick, so level event 1010 from the server never played anything. The client now plays the song named by event 1010 and stops it on 1011 (game/jukebox.rs, process_level_events). Closing. If discs are still silent on a build with #3556, please reopen and attach latest.log.

<!-- gh-comment-id:6504413456 --> @levzzz5154 commented on GitHub (Oct 29, 2026): 🤖 Agent: written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves. Most likely fixed by #3556 (merged). Single player runs on its own server thread, and the window joins it as a client. A client only started a jukebox song from its own jukebox tick, so level event 1010 from the server never played anything. The client now plays the song named by event 1010 and stops it on 1011 (`game/jukebox.rs`, `process_level_events`). Closing. If discs are still silent on a build with #3556, please reopen and attach `latest.log`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#950
No description provided.