Posted June 7, 20214 yr How can I open already made and customs screens? The code used in MainMenuScreen to open the settings and stuff doesn't work @SubscribeEvent public void openMainMenu(ClientChatEvent e) { PlayerEntity p = Minecraft.getInstance().player; if (e.getMessage().equals("test")) { Minecraft.getInstance().setScreen(new MultiplayerScreen(null)); //p.sendMessage(ITextComponent.nullToEmpty("Open"), p.getUUID()); } } Edited June 7, 20214 yr by poggerermans
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.