use of mathax.client.systems.proxies.Proxies in project Client by MatHax.
the class Systems method init.
public static void init() {
System<?> config = add(new Config());
config.init();
config.load();
add(new Modules());
add(new Commands());
add(new Friends());
add(new Enemies());
add(new Macros());
add(new Accounts());
add(new Waypoints());
add(new Profiles());
add(new Proxies());
add(new HUD());
MatHax.EVENT_BUS.subscribe(Systems.class);
}
use of mathax.client.systems.proxies.Proxies in project Client by MatHax.
the class MultiplayerScreenMixin method onInit.
@Inject(method = "init", at = @At("TAIL"))
private void onInit(CallbackInfo info) {
Version.UpdateChecker.checkForLatest = true;
addDrawableChild(new ButtonWidget(width - 77, 2, 75, 20, new LiteralText("Accounts"), button -> client.setScreen(GuiThemes.get().accountsScreen())));
addDrawableChild(new ButtonWidget(width - 154, 2, 75, 20, new LiteralText("Proxies"), button -> client.setScreen(GuiThemes.get().proxiesScreen())));
addDrawableChild(new ButtonWidget(width - 231, 2, 75, 20, new LiteralText("Servers"), button -> client.setScreen(new ServerManagerScreen(GuiThemes.get(), (MultiplayerScreen) client.currentScreen))));
if (LastServerInfo.getLastServer() != null)
addDrawableChild(new ButtonWidget(width / 2 - 154, 10, 100, 20, new LiteralText("Last Server"), button -> LastServerInfo.reconnect(client.currentScreen)));
}
Aggregations