I'm trying to get the text from the /title actionbar command to get some information that a server presents there.
From the Minecraft decompilation I've gathered that the text itself is kept and used in net.minecraft.client.gui.GuiIngame, but I don't have access to it.
public class GuiIngame {
protected String overlayMessage; // text itself
public void setOverlayMessage(...); // setter
// no getter
}
The only way I can come up with to get this information is to catch the SPacketTitle itself when it arrives.
This seems like a pretty daunting task so I thought I'd ask here first for alternatives.
If networking is the only option, I would like some guidance on how to approach it.