I want to write a command with player.sendChatMessage("/command") to chat,wait for a answer (chatmessage) , if its the right on, return, if not wait for a second anwser and check again. anyone knows how to do this?
I try to get some Information from a Tablist. I tried: Minecraft.getMinecraft().ingameGUI.getTabList().toString(), but that only gave me: net.minecraft.client.gui.GuiPlayerTabOverlay@25aa741f. How can i get the Information from the tablist?
This is the information I need is the number of the Server (in this case WC23):