Skip to content

HudElementRegistry#replaceElement does not work properly to Closed Captions in MC 1.21.9/10 #4933

@i5wear

Description

@i5wear

Minecraft Version: 1.21.9 & 1.21.10

Fabric Loader Version: 0.17.3

Fabric API Version: 0.134.0+1.21.9 & 0.134.1+1.21.10

Description of issue:

I wrapped the VanillaHudElements to adjust their scale and opacity. It works for almost all of them.

When it comes to SUBTITLES (aka Closed Caption), however, the wrapper does not work at all if the client is running.

ONLY when I press ESC to pause, it works, even in a multiplayer server.

I think it should be easy to reproduce by using my mod HUD Manager.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions