for (; gameSettings.keyBindInventory.isPressed(); displayGuiScreen(new GuiInventory(thePlayer))) { }
for (; gameSettings.keyBindDrop.isPressed(); thePlayer.dropOneItem()) { }
for (; isMultiplayerWorld() && gameSettings.keyBindChat.isPressed(); displayGuiScreen(new GuiChat())) { }
if (isMultiplayerWorld() && currentScreen == null && (Keyboard.isKeyDown(53) || Keyboard.isKeyDown(181)))
{
displayGuiScreen(new GuiChat("/"));
}
if (thePlayer.isUsingItem())
{
if (!gameSettings.keyBindUseItem.pressed)