Class MultiplayerScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen
- All Implemented Interfaces:
IdentifibleBooleanConsumer
@Environment(CLIENT)
public class MultiplayerScreen
extends Screen
implements IdentifibleBooleanConsumer
- Mappings:
Namespace Name official bzpintermediary net/minecraft/class_376named net/minecraft/client/gui/screen/multiplayer/MultiplayerScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ButtonWidgetprivate ButtonWidgetprivate booleanprivate booleanprivate booleanprivate booleanprivate class_608private class_607private booleanprivate ButtonWidgetprivate static final Loggerprivate Screenprivate final MultiplayerServerListPingerprivate ServerInfoprivate ServerListprivate MultiplayerServerListWidgetprivate StringFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, height, itemRenderer, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuttonClicked(ButtonWidget button) booleancanSortDown(ServerEntry entry, int index) booleancanSortUp(ServerEntry entry, int index) voidconfirmResult(boolean bool, int int2) voidconnect()private voidconnect(ServerInfo entry) voidvoidinit()voidprotected voidkeyPressed(char character, int code) protected voidmouseClicked(int mouseX, int mouseY, int button) protected voidmouseReleased(int mouseX, int mouseY, int button) private voidrefresh()voidremoved()voidrender(int mouseX, int mouseY, float tickDelta) voidselectEntry(int index) voidsetTooltip(String text) voidsortDown(ServerEntry entry, int index, boolean shiftPressed) voidsortUp(ServerEntry entry, int index, boolean shiftPressed) voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
getClipboard, handleInput, handleKeyboard, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, mouseDragged, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setClipboard, shouldPauseGameMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradient
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLbzp;a:Lorg/apache/logging/log4j/Logger;intermediary field_7822Lnet/minecraft/class_376;field_7822:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
pinger
- Mappings:
Namespace Name Mixin selector official fLbzp;f:Lcez;intermediary field_7823Lnet/minecraft/class_376;field_7823:Lnet/minecraft/class_1848;named pingerLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;pinger:Lnet/minecraft/client/network/MultiplayerServerListPinger;
-
parent
- Mappings:
Namespace Name Mixin selector official gLbzp;g:Lbxf;intermediary field_1184Lnet/minecraft/class_376;field_1184:Lnet/minecraft/class_388;named parentLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
serverListWidget
- Mappings:
Namespace Name Mixin selector official hLbzp;h:Lbzu;intermediary field_7824Lnet/minecraft/class_376;field_7824:Lnet/minecraft/class_1827;named serverListWidgetLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListWidget:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;
-
serverList
- Mappings:
Namespace Name Mixin selector official iLbzp;i:Lcey;intermediary field_1186Lnet/minecraft/class_376;field_1186:Lnet/minecraft/class_486;named serverListLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverList:Lnet/minecraft/client/options/ServerList;
-
editButton
- Mappings:
Namespace Name Mixin selector official rLbzp;r:Lbug;intermediary field_1188Lnet/minecraft/class_376;field_1188:Lnet/minecraft/class_356;named editButtonLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;editButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
joinButton
- Mappings:
Namespace Name Mixin selector official sLbzp;s:Lbug;intermediary field_1189Lnet/minecraft/class_376;field_1189:Lnet/minecraft/class_356;named joinButtonLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;joinButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
deleteButton
- Mappings:
Namespace Name Mixin selector official tLbzp;t:Lbug;intermediary field_1190Lnet/minecraft/class_376;field_1190:Lnet/minecraft/class_356;named deleteButtonLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;deleteButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
field_1191
private boolean field_1191- Mappings:
Namespace Name Mixin selector official uLbzp;u:Zintermediary field_1191Lnet/minecraft/class_376;field_1191:Znamed field_1191Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_1191:Z
-
field_1192
private boolean field_1192- Mappings:
Namespace Name Mixin selector official vLbzp;v:Zintermediary field_1192Lnet/minecraft/class_376;field_1192:Znamed field_1192Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_1192:Z
-
field_1193
private boolean field_1193- Mappings:
Namespace Name Mixin selector official wLbzp;w:Zintermediary field_1193Lnet/minecraft/class_376;field_1193:Znamed field_1193Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_1193:Z
-
field_1194
private boolean field_1194- Mappings:
Namespace Name Mixin selector official xLbzp;x:Zintermediary field_1194Lnet/minecraft/class_376;field_1194:Znamed field_1194Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_1194:Z
-
tooltipText
- Mappings:
Namespace Name Mixin selector official yLbzp;y:Ljava/lang/String;intermediary field_1195Lnet/minecraft/class_376;field_1195:Ljava/lang/String;named tooltipTextLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;tooltipText:Ljava/lang/String;
-
selectedEntry
- Mappings:
Namespace Name Mixin selector official zLbzp;z:Lcew;intermediary field_1196Lnet/minecraft/class_376;field_1196:Lnet/minecraft/class_485;named selectedEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;selectedEntry:Lnet/minecraft/client/network/ServerInfo;
-
field_1197
- Mappings:
Namespace Name Mixin selector official ALbzp;A:Lcys;intermediary field_1197Lnet/minecraft/class_376;field_1197:Lnet/minecraft/class_608;named field_1197Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_1197:Lnet/minecraft/client/class_608;
-
field_1198
- Mappings:
Namespace Name Mixin selector official BLbzp;B:Lcyr;intermediary field_1198Lnet/minecraft/class_376;field_1198:Lnet/minecraft/class_607;named field_1198Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_1198:Lnet/minecraft/client/class_607;
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector official CLbzp;C:Zintermediary field_1180Lnet/minecraft/class_376;field_1180:Znamed initializedLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;initialized:Z
-
-
Constructor Details
-
MultiplayerScreen
- Mappings:
Namespace Name Mixin selector official <init>Lbzp;<init>(Lbxf;)Vintermediary <init>Lnet/minecraft/class_376;<init>(Lnet/minecraft/class_388;)Vnamed <init>Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
-
-
Method Details
-
init
public void init() -
handleMouse
public void handleMouse()- Overrides:
handleMousein classScreen- Mappings:
Namespace Name Mixin selector official kLbxf;k()Vintermediary method_1035Lnet/minecraft/class_388;method_1035()Vnamed handleMouseLnet/minecraft/client/gui/screen/Screen;handleMouse()V
-
initButtons
public void initButtons()- Mappings:
Namespace Name Mixin selector official aLbzp;a()Vintermediary method_1012Lnet/minecraft/class_376;method_1012()Vnamed initButtonsLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;initButtons()V
-
tick
public void tick() -
removed
public void removed() -
buttonClicked
- Overrides:
buttonClickedin classScreen- Mappings:
Namespace Name Mixin selector official aLbxf;a(Lbug;)Vintermediary method_1027Lnet/minecraft/class_388;method_1027(Lnet/minecraft/class_356;)Vnamed buttonClickedLnet/minecraft/client/gui/screen/Screen;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
refresh
private void refresh()- Mappings:
Namespace Name Mixin selector official iLbzp;i()Vintermediary method_6785Lnet/minecraft/class_376;method_6785()Vnamed refreshLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;refresh()V
-
confirmResult
public void confirmResult(boolean bool, int int2) - Specified by:
confirmResultin interfaceIdentifibleBooleanConsumer- Overrides:
confirmResultin classScreen- Mappings:
Namespace Name Mixin selector official method_1029Lbxf;method_1029(ZI)Vintermediary method_1029Lnet/minecraft/class_388;method_1029(ZI)Vnamed confirmResultLnet/minecraft/client/gui/screen/Screen;confirmResult(ZI)V
-
keyPressed
protected void keyPressed(char character, int code) - Overrides:
keyPressedin classScreen- Mappings:
Namespace Name Mixin selector official aLbxf;a(CI)Vintermediary method_1024Lnet/minecraft/class_388;method_1024(CI)Vnamed keyPressedLnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
-
render
public void render(int mouseX, int mouseY, float tickDelta) -
connect
public void connect()- Mappings:
Namespace Name Mixin selector official fLbzp;f()Vintermediary method_6782Lnet/minecraft/class_376;method_6782()Vnamed connectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect()V
-
connect
- Mappings:
Namespace Name Mixin selector official aLbzp;a(Lcew;)Vintermediary method_1003Lnet/minecraft/class_376;method_1003(Lnet/minecraft/class_485;)Vnamed connectLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect(Lnet/minecraft/client/network/ServerInfo;)V
-
selectEntry
public void selectEntry(int index) - Mappings:
Namespace Name Mixin selector official bLbzp;b(I)Vintermediary method_6781Lnet/minecraft/class_376;method_6781(I)Vnamed selectEntryLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;selectEntry(I)V
-
getServerListPinger
- Mappings:
Namespace Name Mixin selector official gLbzp;g()Lcez;intermediary method_6783Lnet/minecraft/class_376;method_6783()Lnet/minecraft/class_1848;named getServerListPingerLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerListPinger()Lnet/minecraft/client/network/MultiplayerServerListPinger;
-
setTooltip
- Mappings:
Namespace Name Mixin selector official aLbzp;a(Ljava/lang/String;)Vintermediary method_6780Lnet/minecraft/class_376;method_6780(Ljava/lang/String;)Vnamed setTooltipLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;setTooltip(Ljava/lang/String;)V
-
mouseClicked
protected void mouseClicked(int mouseX, int mouseY, int button) - Overrides:
mouseClickedin classScreen- Mappings:
Namespace Name Mixin selector official aLbxf;a(III)Vintermediary method_1026Lnet/minecraft/class_388;method_1026(III)Vnamed mouseClickedLnet/minecraft/client/gui/screen/Screen;mouseClicked(III)V
-
mouseReleased
protected void mouseReleased(int mouseX, int mouseY, int button) - Overrides:
mouseReleasedin classScreen- Mappings:
Namespace Name Mixin selector official bLbxf;b(III)Vintermediary method_1032Lnet/minecraft/class_388;method_1032(III)Vnamed mouseReleasedLnet/minecraft/client/gui/screen/Screen;mouseReleased(III)V
-
getServerList
- Mappings:
Namespace Name Mixin selector official hLbzp;h()Lcey;intermediary method_6784Lnet/minecraft/class_376;method_6784()Lnet/minecraft/class_486;named getServerListLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerList()Lnet/minecraft/client/options/ServerList;
-
canSortUp
- Mappings:
Namespace Name Mixin selector official aLbzp;a(Lbzs;I)Zintermediary method_9606Lnet/minecraft/class_376;method_9606(Lnet/minecraft/class_1825;I)Znamed canSortUpLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;canSortUp(Lnet/minecraft/client/gui/widget/ServerEntry;I)Z
-
canSortDown
- Mappings:
Namespace Name Mixin selector official bLbzp;b(Lbzs;I)Zintermediary method_9608Lnet/minecraft/class_376;method_9608(Lnet/minecraft/class_1825;I)Znamed canSortDownLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;canSortDown(Lnet/minecraft/client/gui/widget/ServerEntry;I)Z
-
sortUp
- Mappings:
Namespace Name Mixin selector official aLbzp;a(Lbzs;IZ)Vintermediary method_9607Lnet/minecraft/class_376;method_9607(Lnet/minecraft/class_1825;IZ)Vnamed sortUpLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;sortUp(Lnet/minecraft/client/gui/widget/ServerEntry;IZ)V
-
sortDown
- Mappings:
Namespace Name Mixin selector official bLbzp;b(Lbzs;IZ)Vintermediary method_9609Lnet/minecraft/class_376;method_9609(Lnet/minecraft/class_1825;IZ)Vnamed sortDownLnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;sortDown(Lnet/minecraft/client/gui/widget/ServerEntry;IZ)V
-