Jump to content

Overriding the default TabOverlay within a mod


Recommended Posts

Hi, i'm trying to make a particular mod, that highlights players in the tablist based on certain parameters. I want in short to draw something on the tab overlay.

To do all of this, I'm trying to extend the `GuiPlayerTabOverlay` class and @Override the default `renderPlayerlist` method with a new one, that adds the features i want. Then i'll probably make some kind of Event listener for when the tab is opened and from there call my class instead of the default one. Is this thing even possible or am I trying something totally useless and there's a better way.


P.S. I'm doing it right now as i write, but I'm just not sure whether this's gonna work or not.

Link to comment
Share on other sites

  • 2 weeks later...
This topic is now closed to further replies.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.