public class MultiplayerScreen extends Screen
Modifier and Type | Field and Description |
---|---|
private Button |
btnDeleteServer |
private Button |
btnEditServer |
private Button |
btnSelectServer |
private java.lang.String |
hoveringText |
private boolean |
initialized |
private LanServerDetector.LanServerFindThread |
lanServerDetector |
private LanServerDetector.LanServerList |
lanServerList |
private static org.apache.logging.log4j.Logger |
LOGGER |
private ServerPinger |
oldServerPinger |
private Screen |
parentScreen |
private ServerList |
savedServerList |
private ServerData |
selectedServer |
protected ServerSelectionList |
serverListSelector |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
MultiplayerScreen(Screen parentScreen) |
Modifier and Type | Method and Description |
---|---|
void |
connectToSelected() |
private void |
connectToServer(ServerData server) |
private void |
func_214284_c(boolean p_214284_1_) |
private void |
func_214285_a(boolean p_214285_1_) |
void |
func_214287_a(ServerSelectionList.Entry p_214287_1_) |
private void |
func_214290_d(boolean p_214290_1_) |
private void |
func_214292_b(boolean p_214292_1_) |
protected void |
func_214295_b() |
ServerPinger |
getOldServerPinger() |
ServerList |
getServerList() |
protected void |
init() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
void |
onClose() |
private void |
refreshServerList() |
void |
removed() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
setHoveringText(java.lang.String p_146793_1_) |
void |
tick() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, shouldCloseOnEsc, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
mouseMoved
private static final org.apache.logging.log4j.Logger LOGGER
private final ServerPinger oldServerPinger
private final Screen parentScreen
protected ServerSelectionList serverListSelector
private ServerList savedServerList
private Button btnEditServer
private Button btnSelectServer
private Button btnDeleteServer
private java.lang.String hoveringText
private ServerData selectedServer
private LanServerDetector.LanServerList lanServerList
private LanServerDetector.LanServerFindThread lanServerDetector
private boolean initialized
public MultiplayerScreen(Screen parentScreen)
private void refreshServerList()
private void func_214285_a(boolean p_214285_1_)
private void func_214292_b(boolean p_214292_1_)
private void func_214284_c(boolean p_214284_1_)
private void func_214290_d(boolean p_214290_1_)
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
keyPressed
in interface INestedGuiEventHandler
keyPressed
in class Screen
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen
public void connectToSelected()
private void connectToServer(ServerData server)
public void func_214287_a(ServerSelectionList.Entry p_214287_1_)
protected void func_214295_b()
public ServerPinger getOldServerPinger()
public void setHoveringText(java.lang.String p_146793_1_)
public ServerList getServerList()