Better Ping Display [Fabric]

Better Ping Display [Fabric]

6M Downloads

1.21.6 Support

Nobleyyy opened this issue ยท 7 comments

commented

An update to support 1.21.6 would be much appreciated.

Thank you.

commented

src\main\java\com\vladmarica\betterpingdisplay\hud\CustomPlayerListHud.java

-     context.drawTextWithShadow(client.textRenderer, pingString, textX, y, pingTextColor);
+     context.drawTextWithShadow(client.textRenderer, pingString, textX, y, pingTextColor | 0xFF000000);

BetterPingDisplay-Fabric-1.21.6-1.1.1.jar.zip

BetterPingDisplay-Fabric-1.21.7-1.1.1.jar.zip

commented

Thanks MusclePr, seems to work nicely in 1.21.7!

commented

Thanks MusclePr! Is there a way to make it work for 1.21.8?

commented

Thanks MusclePr! Is there a way to make it work for 1.21.8?

Use dependency overrides

tl;dr make a new file at .minecraft/config named fabric_loader_dependencies.json with the following content:

{
    "version": 1,
    "overrides": {
        "betterpingdisplay": {
            "depends": {
                "minecraft": "1.21.8"
            }
        }
    }
}
commented

@FifthTundraG Thanks, that makes sense. After creating this, would I be able to use the 1.21.7 file provided by MusclePr above?

commented

#55 support 1.21.6+ (includes 1.21.7, 1.21.8)
I have provided a JAR file for testers who cannot build it.

commented

@FifthTundraG Thanks, that makes sense. After creating this, would I be able to use the 1.21.7 file provided by MusclePr above?

Yes, that would be correct, although the new jar file that MusclePr provided in #55 already does this so dependency overrides are not necessary :)