Geyser icon indicating copy to clipboard operation
Geyser copied to clipboard

"Playing Now" title is not the same as minecraft java titles. (Custom Music Disc)

Open Tydium opened this issue 1 year ago • 8 comments

Describe the bug

When registering custom music disc as custom items. I noticed that when you try to play them it shows the title from my datapack that I sent (which cancels the "Now playing" of the original disc on java) and it also shows the original disc title behind it.

To Reproduce

  1. Create a custom music disc using mappings.
  2. Send a title on disc play with the custom disc.

Expected behaviour

It should go over and completely get rid of the original disc playing message.

Screenshots / Videos

image

Take a look on the bottom. Left is bedrock, right is java.

Server Version and Plugins

Geyser Standalone: This server is running Geyser version 2.1.0-SNAPSHOT (git-master-98cfdb0) (Java: 1.19.1 - 1.19.2, Bedrock: 1.19.0/1.19.2 - 1.19.3

Velocity: Velocity 3.1.2-SNAPSHOT (git-213f3f88-b183)

Purpur 1.19.2: Current: git-Purpur-1760 (MC: 1.19.2)* Previous: git-Purpur-1714 (MC: 1.19)

  • You are 39 version(s) behind

Geyser Dump

https://dump.geysermc.org/tOIHBqUxcVw1yzcrYVgYUxvC2R4MPNmI

Geyser Version

This server is running Geyser version 2.1.0-SNAPSHOT (git-master-98cfdb0) (Java: 1.19.1 - 1.19.2, Bedrock: 1.19.0/1.19.2 - 1.19.3

Minecraft: Bedrock Edition Device/Version

Minecraft Windows 11/10 Edition, Nintendo Switch, Android, Iphone, PS4, Xbox

Additional Context

Feel free to ask me for my mappings file, my resource packs (they are open sourced), or any other data from me.

Tydium avatar Sep 29 '22 03:09 Tydium

Have you checked if this occurs on bedrock with the vanilla music disc? In your description you only state you tried with a custom music disc and compare this behavior to java. But that title is not set by the custom item. It's set by the jukebox, which would behave the same way since the Java server is entirely unaware of any custom items.

Kas-tle avatar Nov 26 '22 09:11 Kas-tle

Let me test with a normal bedrock disc. (ill also test with a normal disc on geyser as well)

Tydium avatar Nov 26 '22 16:11 Tydium

I think I may be a bit dumb on why this actually happened.

In the datapack, what I did was use the title command to show the names on the bottom considering "Disc 11" would show either way.

The subtitles for both /title and the titles of the Jukebox, are the same as each other on Java Edition. On bedrock edition the titles for the jukebox and subtitle are different. So I don't think this issue is a geyser issue anymore. I can probably change this via a resource pack to make it look more like a java subtitle. However it would still overlap the actual disc message on bedrock. Not entirely sure how I would fix that. Maybe I can stop the disc message from being sent if its custom. That's probably above my skill level tho.

Tydium avatar Nov 26 '22 17:11 Tydium

Any updates on this topic?

Jens-Co avatar Apr 29 '23 15:04 Jens-Co

Been awhile since I had tested. I am unsure

Tydium avatar May 03 '23 20:05 Tydium

https://github.com/GeyserMC/Geyser/pull/3771 quite a stretch; but maybe fixed by this PR?

onebeastchris avatar May 21 '23 20:05 onebeastchris

#3771 quite a stretch; but maybe fixed by this PR?

No this is caused by the fact that bedrock client expects the server to tell it to show the record title. So we send this and it sits in a sligly different popup from the normal actionbar text.

rtm516 avatar May 26 '23 22:05 rtm516

Looking back at this, could you check if on the java side the resource pack was perhaps removing the now playing subtitle via lang files?

Kas-tle avatar Mar 19 '24 05:03 Kas-tle